HttpHandlerpublic class SetAttributeHandler extends java.lang.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,
java.lang.String attribute,
java.lang.String value) |
|
SetAttributeHandler(HttpHandler next,
java.lang.String attribute,
java.lang.String value,
java.lang.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, java.lang.String attribute, java.lang.String value)
public SetAttributeHandler(HttpHandler next, java.lang.String attribute, java.lang.String value, java.lang.ClassLoader classLoader)
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangejava.lang.ExceptionCopyright © 2018. All rights reserved.