Package io.undertow.server.handlers
Class URLDecodingHandler
java.lang.Object
io.undertow.server.handlers.URLDecodingHandler
- All Implemented Interfaces:
HttpHandler
A handler that will decode the URL and query parameters to the specified charset.
This handler will not have any effect unless the UndertowOptions.DECODE_URL
parameter is set to false.
This is not as efficient as using the parsers built in UTF-8 decoder. Unless you need to decode to something other than UTF-8 you should rely on the parsers decoding instead.
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRequest
(HttpServerExchange exchange) Handle the request.toString()
-
Constructor Details
-
URLDecodingHandler
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
Exception
-
toString
-