public class SetAttributeHandler extends Object implements HttpHandler
Modifier and Type | Class and Description |
---|---|
static class | SetAttributeHandler.Builder |
static class | SetAttributeHandler.ClearBuilder |
Constructor and Description |
---|
SetAttributeHandler(HttpHandler next, ExchangeAttribute attribute, ExchangeAttribute value) |
SetAttributeHandler(HttpHandler next, ExchangeAttribute attribute, ExchangeAttribute value, boolean preCommit) |
SetAttributeHandler(HttpHandler next, String attribute, String value) |
SetAttributeHandler(HttpHandler next, String attribute, String value, boolean preCommit) |
SetAttributeHandler(HttpHandler next, String attribute, String value, ClassLoader classLoader) |
SetAttributeHandler(HttpHandler next, String attribute, String value, ClassLoader classLoader, boolean preCommit) |
Modifier and Type | Method and 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 SetAttributeHandler(HttpHandler next, ExchangeAttribute attribute, ExchangeAttribute value, boolean preCommit)
public SetAttributeHandler(HttpHandler next, String attribute, String value, boolean preCommit)
public SetAttributeHandler(HttpHandler next, String attribute, String value, ClassLoader classLoader, boolean preCommit)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2020 JBoss by Red Hat. All rights reserved.