HttpHandler
public 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
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangejava.lang.Exception
Copyright © 2018. All rights reserved.