public class URLDecodingHandler extends Object implements HttpHandler
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.
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 © 2020 JBoss by Red Hat. All rights reserved.