Available Methods
- getAttachment ( )
- setStatusCode ( )
- endExchange ( )
- putAttachment ( )
- dispatch ( )
- getRequestHeaders ( )
- setRelativePath ( )
- getResponseHeaders ( )
- addExchangeCompleteListener ( )
- addPathParam ( )
- startBlocking ( )
- getQueryParameters ( )
- getRelativePath ( )
- getStatusCode ( )
- isInIoThread ( )
- setRequestScheme ( )
- setRequestURI ( )
- setResolvedPath ( )
- setPersistent ( )
- isResponseChannelAvailable ( )
- getRequestURI ( )
- setResponseHeader ( )
- getQueryString ( )
- setRequestPath ( )
- setSourceAddress ( )
- getHostName ( )
- getSecurityContext ( )
- isResponseStarted ( )
- getRequestScheme ( )
- removeAttachment ( )
- getRequestMethod ( )
- getSslSessionInfo ( )
- allocateBuffer ( )
- writeAsync ( )
- setResponseCookie ( )
- addQueryParam ( )
- getRequestURL ( )
- getRequestHeader ( )
- getInputStream ( )
- addDefaultResponseListener ( )
- getResponseContentLength ( )
- addResponseCommitListener ( )
- setMaxEntitySize ( )
- addResponseWrapper ( )
- getHostPort ( )
- addResponseHeader ( )
- setReasonPhrase ( )
- getResponseSender ( )
- getRequestChannel ( )
- isPersistent ( )
- getRequestCookies ( )
- setDestinationAddress ( )
- getRequestStartTime ( )
- isHostIncludedInRequestURI ( )
- setQueryString ( )
- getRequestPath ( )
- addRequestWrapper ( )
- getRequestContentLength ( )
- isComplete ( )
Related Classes
- java.util.Collections
- java.io.InputStream
- java.util.Date
- java.util.concurrent.TimeUnit
- java.net.URI
- java.nio.ByteBuffer
- org.junit.Assert
- java.util.Optional
- java.nio.charset.StandardCharsets
- javax.servlet.http.HttpServletRequest
- java.util.TreeMap
- javax.servlet.http.HttpServletResponse
- org.apache.commons.lang3.StringUtils
- org.junit.BeforeClass
- java.net.InetSocketAddress
- javax.servlet.ServletException
- java.util.Deque
- com.google.gson.JsonObject
- javax.servlet.ServletRequest
- javax.servlet.DispatcherType
- io.undertow.server.HttpHandler
- com.hazelcast.core.IMap
- io.undertow.UndertowOptions
- io.undertow.Handlers
- io.undertow.util.HttpString
Java Code Examples for io.undertow.server.HttpServerExchange#addRequestWrapper()
The following examples show how to use
io.undertow.server.HttpServerExchange#addRequestWrapper() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HttpContinueReadHandler.java From lams with GNU General Public License v2.0 | 5 votes |
@Override public void handleRequest(final HttpServerExchange exchange) throws Exception { if (HttpContinue.requiresContinueResponse(exchange)) { exchange.addRequestWrapper(WRAPPER); } handler.handleRequest(exchange); }
Example 2
Source File: RequestEncodingHandler.java From lams with GNU General Public License v2.0 | 5 votes |
@Override public void handleRequest(final HttpServerExchange exchange) throws Exception { ConduitWrapper<StreamSourceConduit> encodings = requestEncodings.get(exchange.getRequestHeaders().getFirst(Headers.CONTENT_ENCODING)); if (encodings != null && exchange.isRequestChannelAvailable()) { exchange.addRequestWrapper(encodings); // Nested handlers or even servlet filters may implement logic to decode encoded request data. // Since the data is no longer encoded, we remove the encoding header. exchange.getRequestHeaders().remove(Headers.CONTENT_ENCODING); } next.handleRequest(exchange); }
Example 3
Source File: RequestDecodeHandler.java From light-4j with Apache License 2.0 | 5 votes |
@Override public void handleRequest(HttpServerExchange exchange) throws Exception { ConduitWrapper<StreamSourceConduit> encodings = requestEncodings.get(exchange.getRequestHeaders().getFirst(Headers.CONTENT_ENCODING)); if (encodings != null && exchange.isRequestChannelAvailable()) { exchange.addRequestWrapper(encodings); // Nested handlers or even servlet filters may implement logic to decode encoded request data. // Since the data is no longer encoded, we remove the encoding header. exchange.getRequestHeaders().remove(Headers.CONTENT_ENCODING); } Handler.next(exchange, next); }