public class ConfiguredPushHandler extends Object implements HttpHandler
Constructor and Description |
---|
ConfiguredPushHandler(HttpHandler next) |
Modifier and Type | Method and Description |
---|---|
ConfiguredPushHandler | addRequestHeader(HttpString name, String value) |
ConfiguredPushHandler | addRoute(String url, String... resourcesToPush) |
void | handleRequest(HttpServerExchange exchange) Handle the request. |
public ConfiguredPushHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
public ConfiguredPushHandler addRequestHeader(HttpString name, String value)
public ConfiguredPushHandler addRoute(String url, String... resourcesToPush)
Copyright © 2020 JBoss by Red Hat. All rights reserved.