public class URLDecodingHandler extends Object implements HttpHandler
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.
Modifier and Type | Class and Description |
---|---|
static class | URLDecodingHandler.Builder |
Constructor and Description |
---|
URLDecodingHandler(HttpHandler next, String charset) |
Modifier and Type | Method and Description |
---|---|
void | handleRequest(HttpServerExchange exchange) Handle the request. |
public URLDecodingHandler(HttpHandler next, String charset)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2017 JBoss by Red Hat. All rights reserved.