Class RequestEncodingHandler
java.lang.Object
io.undertow.server.handlers.encoding.RequestEncodingHandler
- All Implemented Interfaces:
HttpHandler
Handler that serves as the basis for request content encoding.
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.
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEncoding(String name, ConduitWrapper<org.xnio.conduits.StreamSourceConduit> wrapper) getNext()voidhandleRequest(HttpServerExchange exchange) Handle the request.removeEncoding(String encoding) toString()
-
Constructor Details
-
RequestEncodingHandler
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
addEncoding
public RequestEncodingHandler addEncoding(String name, ConduitWrapper<org.xnio.conduits.StreamSourceConduit> wrapper) -
removeEncoding
-
getNext
-
toString
-