HttpHandlerpublic class SetAttributeHandler extends Object implements HttpHandler
| Modifier and Type | Class | Description |
|---|---|---|
static class |
SetAttributeHandler.Builder |
|
static class |
SetAttributeHandler.ClearBuilder |
| Constructor | Description |
|---|---|
SetAttributeHandler(HttpHandler next,
ExchangeAttribute attribute,
ExchangeAttribute value) |
|
SetAttributeHandler(HttpHandler next,
String attribute,
String value) |
|
SetAttributeHandler(HttpHandler next,
String attribute,
String value,
ClassLoader classLoader) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
public SetAttributeHandler(HttpHandler next, ExchangeAttribute attribute, ExchangeAttribute value)
public SetAttributeHandler(HttpHandler next, String attribute, String value)
public SetAttributeHandler(HttpHandler next, String attribute, String value, ClassLoader classLoader)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionCopyright © 2018. All rights reserved.