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.
If you are using this handler you must set the UndertowOptions.DECODE_URL parameter 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 TypeMethodDescriptionvoidhandleRequest(HttpServerExchange exchange) Handle the request.
-
Constructor Details
-
URLDecodingHandler
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-