HttpHandler
public class URLDecodingHandler extends java.lang.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 | Description |
---|---|---|
static class |
URLDecodingHandler.Builder |
Constructor | Description |
---|---|
URLDecodingHandler(HttpHandler next,
java.lang.String charset) |
Modifier and Type | Method | Description |
---|---|---|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
public URLDecodingHandler(HttpHandler next, java.lang.String charset)
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangejava.lang.Exception
Copyright © 2018. All rights reserved.