public class RequestEncodingHandler extends Object implements HttpHandler
This is not part of the HTTP spec, however there are some applications where it is useful.
It behaves in a similar manner to EncodingHandler, however it deals with the requests
content encoding.
| Modifier and Type | Class and Description |
|---|---|
static class |
RequestEncodingHandler.Builder |
| Constructor and Description |
|---|
RequestEncodingHandler(HttpHandler next) |
| Modifier and Type | Method and Description |
|---|---|
RequestEncodingHandler |
addEncoding(String name,
ConduitWrapper<StreamSourceConduit> wrapper) |
HttpHandler |
getNext() |
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
RequestEncodingHandler |
removeEncoding(String encoding) |
public RequestEncodingHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionpublic RequestEncodingHandler addEncoding(String name, ConduitWrapper<StreamSourceConduit> wrapper)
public RequestEncodingHandler removeEncoding(String encoding)
public HttpHandler getNext()
Copyright © 2017 JBoss by Red Hat. All rights reserved.