Modifier and Type | Method | Description |
---|---|---|
static HttpHandler |
Handlers.disableCache(HttpHandler next) |
Handler that sets the headers that disable caching of the response
|
static HttpHandler |
Handlers.predicateContext(HttpHandler next) |
|
static HttpHandler |
Handlers.requestDump(HttpHandler next) |
Returns a handler that dumps requests to the log for debugging purposes.
|
static HttpHandler |
Handlers.rewrite(java.lang.String condition,
java.lang.String target,
java.lang.ClassLoader classLoader,
HttpHandler next) |
Creates the set of handlers that are required to perform a simple rewrite.
|
static HttpHandler |
Handlers.urlDecodingHandler(java.lang.String charset,
HttpHandler next) |
Returns a new handler that decodes the URL and query parameters into the specified charset, assuming it
has not already been done by the connector.
|
Modifier and Type | Method | Description |
---|---|---|
static AccessControlListHandler |
Handlers.acl(HttpHandler next,
boolean defaultAllow,
ExchangeAttribute attribute) |
Returns a new handler that can allow or deny access to a resource based an at attribute of the exchange
|
Undertow.Builder |
Undertow.Builder.addAjpListener(int port,
java.lang.String host,
HttpHandler rootHandler) |
|
Undertow.Builder |
Undertow.Builder.addHttpListener(int port,
java.lang.String host,
HttpHandler rootHandler) |
|
Undertow.Builder |
Undertow.Builder.addHttpsListener(int port,
java.lang.String host,
javax.net.ssl.KeyManager[] keyManagers,
javax.net.ssl.TrustManager[] trustManagers,
HttpHandler rootHandler) |
|
Undertow.Builder |
Undertow.Builder.addHttpsListener(int port,
java.lang.String host,
javax.net.ssl.SSLContext sslContext,
HttpHandler rootHandler) |
|
static DateHandler |
Handlers.date(HttpHandler next) |
Deprecated.
|
static HttpHandler |
Handlers.disableCache(HttpHandler next) |
Handler that sets the headers that disable caching of the response
|
static ExceptionHandler |
Handlers.exceptionHandler(HttpHandler next) |
Returns a handler that maps exceptions to additional handlers
|
static GracefulShutdownHandler |
Handlers.gracefulShutdown(HttpHandler next) |
Returns a new handler that can be used to wait for all requests to finish before shutting down the server gracefully.
|
static void |
Handlers.handlerNotNull(HttpHandler handler) |
|
static SetHeaderHandler |
Handlers.header(HttpHandler next,
java.lang.String headerName,
ExchangeAttribute headerValue) |
Returns a handler that sets a response header
|
static SetHeaderHandler |
Handlers.header(HttpHandler next,
java.lang.String headerName,
java.lang.String headerValue) |
Returns a handler that sets a response header
|
static HttpContinueAcceptingHandler |
Handlers.httpContinueAccepting(HttpHandler next) |
Returns a handler that sends back a HTTP 100 continue response to all requests.
|
static HttpContinueAcceptingHandler |
Handlers.httpContinueAccepting(HttpHandler next,
Predicate accept) |
Returns a handler that sends back a HTTP 100 continue response if the given predicate resolves to true.
|
static HttpContinueReadHandler |
Handlers.httpContinueRead(HttpHandler next) |
A handler that automatically handles HTTP 100-continue responses, by sending a continue
response when the first attempt is made to read from the request channel.
|
static IPAddressAccessControlHandler |
Handlers.ipAccessControl(HttpHandler next,
boolean defaultAllow) |
Returns a new handler that can allow or deny access to a resource based on IP address
|
static JvmRouteHandler |
Handlers.jvmRoute(java.lang.String sessionCookieName,
java.lang.String jvmRoute,
HttpHandler next) |
Handler that appends the JVM route to the session cookie
|
static LearningPushHandler |
Handlers.learningPushHandler(int maxEntries,
int maxAge,
HttpHandler next) |
Creates a handler that automatically learns which resources to push based on the referer header
|
static LearningPushHandler |
Handlers.learningPushHandler(int maxEntries,
HttpHandler next) |
Creates a handler that automatically learns which resources to push based on the referer header
|
static PathHandler |
Handlers.path(HttpHandler defaultHandler) |
Creates a new path handler, with the default handler specified
|
static PredicateHandler |
Handlers.predicate(Predicate predicate,
HttpHandler trueHandler,
HttpHandler falseHandler) |
Returns a new predicate handler, that will delegate to one of the two provided handlers based on the value of the
provided predicate.
|
static HttpHandler |
Handlers.predicateContext(HttpHandler next) |
|
static PredicatesHandler |
Handlers.predicates(java.util.List<PredicatedHandler> handlers,
HttpHandler next) |
|
static ProxyHandler |
Handlers.proxyHandler(ProxyClient proxyClient,
int maxRequestTime,
HttpHandler next) |
Returns a handler that can act as a load balancing reverse proxy.
|
static ProxyHandler |
Handlers.proxyHandler(ProxyClient proxyClient,
HttpHandler next) |
Returns a handler that can act as a load balancing reverse proxy.
|
static ProxyPeerAddressHandler |
Handlers.proxyPeerAddress(HttpHandler next) |
Returns a new handler that sets the peer address based on the X-Forwarded-For and
X-Forwarded-Proto header
|
static HttpHandler |
Handlers.requestDump(HttpHandler next) |
Returns a handler that dumps requests to the log for debugging purposes.
|
static RequestLimitingHandler |
Handlers.requestLimitingHandler(int maxRequest,
int queueSize,
HttpHandler next) |
Returns a handler that limits the maximum number of requests that can run at a time.
|
static RequestLimitingHandler |
Handlers.requestLimitingHandler(RequestLimit requestLimit,
HttpHandler next) |
Returns a handler that limits the maximum number of requests that can run at a time.
|
static ResponseRateLimitingHandler |
Handlers.responseRateLimitingHandler(HttpHandler next,
int bytes,
long time,
java.util.concurrent.TimeUnit timeUnit) |
A handler that limits the download speed to a set number of bytes/period
|
static HttpHandler |
Handlers.rewrite(java.lang.String condition,
java.lang.String target,
java.lang.ClassLoader classLoader,
HttpHandler next) |
Creates the set of handlers that are required to perform a simple rewrite.
|
static SetAttributeHandler |
Handlers.setAttribute(HttpHandler next,
java.lang.String attribute,
java.lang.String value,
java.lang.ClassLoader classLoader) |
Returns an attribute setting handler that can be used to set an arbitrary attribute on the exchange.
|
Undertow.Builder |
Undertow.Builder.setHandler(HttpHandler handler) |
|
Undertow.ListenerBuilder |
Undertow.ListenerBuilder.setRootHandler(HttpHandler rootHandler) |
|
static HttpTraceHandler |
Handlers.trace(HttpHandler next) |
Returns a new HTTP trace handler.
|
static URLDecodingHandler |
Handlers.urlDecoding(HttpHandler next,
java.lang.String charset) |
A handler that will decode the URL, query parameters and to the specified charset.
|
static HttpHandler |
Handlers.urlDecodingHandler(java.lang.String charset,
HttpHandler next) |
Returns a new handler that decodes the URL and query parameters into the specified charset, assuming it
has not already been done by the connector.
|
static NameVirtualHostHandler |
Handlers.virtualHost(HttpHandler defaultHandler) |
Creates a new virtual host handler using the provided default handler
|
static NameVirtualHostHandler |
Handlers.virtualHost(HttpHandler defaultHandler,
HttpHandler hostHandler,
java.lang.String... hostnames) |
Creates a new virtual host handler that uses the provided handler as the root handler for the given hostnames.
|
static NameVirtualHostHandler |
Handlers.virtualHost(HttpHandler hostHandler,
java.lang.String... hostnames) |
Creates a new virtual host handler that uses the provided handler as the root handler for the given hostnames.
|
static WebSocketProtocolHandshakeHandler |
Handlers.websocket(WebSocketConnectionCallback sessionHandler,
HttpHandler next) |
Modifier and Type | Class | Description |
---|---|---|
class |
PredicatesHandler |
Handler that can deal with a large number of predicates.
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
PredicatesHandler.getNext() |
|
HttpHandler |
PredicatesHandler.Wrapper.wrap(HttpHandler handler) |
Modifier and Type | Method | Description |
---|---|---|
void |
PredicatesHandler.setNext(HttpHandler next) |
|
HttpHandler |
PredicatesHandler.Wrapper.wrap(HttpHandler handler) |
Constructor | Description |
---|---|
PredicatesHandler(HttpHandler next) |
|
PredicatesHandler(HttpHandler next,
boolean outerHandler) |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractConfidentialityHandler |
Handler responsible for checking of confidentiality is required for the requested resource and if so rejecting the request
and redirecting to a secure address.
|
class |
AbstractSecurityContextAssociationHandler |
Base class responsible for associating the
SecurityContext instance with the current request. |
class |
AuthenticationCallHandler |
This is the final
HttpHandler in the security chain, it's purpose is to act as a barrier at the end of the chain to
ensure authenticate is called after the mechanisms have been associated with the context and the constraint checked. |
class |
AuthenticationConstraintHandler |
Handler responsible for checking the constraints for the current request and marking authentication as required if
applicable.
|
class |
AuthenticationMechanismsHandler |
Authentication handler that adds one or more authentication
mechanisms to the security context
|
class |
CachedAuthenticatedSessionHandler |
HttpHandler responsible for setting up the AuthenticatedSessionManager for cached authentications and
registering a NotificationReceiver to receive the security notifications. |
class |
NotificationReceiverHandler |
A
HttpHandler to register a list of NotificationReceiver instances with the current SecurityContext . |
class |
SecurityInitialHandler |
The security handler responsible for attaching the SecurityContext to the current
HttpServerExchange . |
class |
SinglePortConfidentialityHandler |
An extension to
AbstractConfidentialityHandler that uses the Host header from the incoming message and specifies the
confidential address by just switching the port. |
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
AuthenticationMechanismsHandler.getNext() |
Modifier and Type | Method | Description |
---|---|---|
AuthenticationMechanismsHandler |
AuthenticationMechanismsHandler.setNext(HttpHandler next) |
Modifier and Type | Class | Description |
---|---|---|
class |
JvmRouteHandler |
Handler that appends the JVM route to the session id.
|
class |
RoutingHandler |
A Handler that handles the common case of routing via path template and method name.
|
Modifier and Type | Field | Description |
---|---|---|
protected HttpHandler |
AbstractServerConnection.rootHandler |
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
RoutingHandler.getFallbackHandler() |
|
HttpHandler |
RoutingHandler.getInvalidMethodHandler() |
|
HttpHandler |
AbstractServerConnection.getRootHandler() |
Get the root HTTP handler for this connection.
|
HttpHandler |
OpenListener.getRootHandler() |
|
HttpHandler |
HandlerWrapper.wrap(HttpHandler handler) |
Modifier and Type | Method | Description |
---|---|---|
RoutingHandler |
RoutingHandler.add(HttpString method,
java.lang.String template,
Predicate predicate,
HttpHandler handler) |
|
RoutingHandler |
RoutingHandler.add(HttpString method,
java.lang.String template,
HttpHandler handler) |
|
RoutingHandler |
RoutingHandler.add(java.lang.String method,
java.lang.String template,
Predicate predicate,
HttpHandler handler) |
|
RoutingHandler |
RoutingHandler.add(java.lang.String method,
java.lang.String template,
HttpHandler handler) |
|
RoutingHandler |
RoutingHandler.delete(java.lang.String template,
Predicate predicate,
HttpHandler handler) |
|
RoutingHandler |
RoutingHandler.delete(java.lang.String template,
HttpHandler handler) |
|
HttpServerExchange |
HttpServerExchange.dispatch(HttpHandler handler) |
|
HttpServerExchange |
HttpServerExchange.dispatch(java.util.concurrent.Executor executor,
HttpHandler handler) |
|
static void |
Connectors.executeRootHandler(HttpHandler handler,
HttpServerExchange exchange) |
|
RoutingHandler |
RoutingHandler.get(java.lang.String template,
Predicate predicate,
HttpHandler handler) |
|
RoutingHandler |
RoutingHandler.get(java.lang.String template,
HttpHandler handler) |
|
RoutingHandler |
RoutingHandler.post(java.lang.String template,
Predicate predicate,
HttpHandler handler) |
|
RoutingHandler |
RoutingHandler.post(java.lang.String template,
HttpHandler handler) |
|
boolean |
ServerConnection.pushResource(java.lang.String path,
HttpString method,
HeaderMap requestHeaders,
HttpHandler handler) |
Attempts to push a resource if this connection supports server push.
|
RoutingHandler |
RoutingHandler.put(java.lang.String template,
Predicate predicate,
HttpHandler handler) |
|
RoutingHandler |
RoutingHandler.put(java.lang.String template,
HttpHandler handler) |
|
RoutingHandler |
RoutingHandler.setFallbackHandler(HttpHandler fallbackHandler) |
|
RoutingHandler |
RoutingHandler.setInvalidMethodHandler(HttpHandler invalidMethodHandler) |
Sets the handler called when this instance can not match the http method but can match another http method.
|
void |
OpenListener.setRootHandler(HttpHandler rootHandler) |
Sets the root handler
|
HttpHandler |
HandlerWrapper.wrap(HttpHandler handler) |
Constructor | Description |
---|---|
AbstractServerConnection(org.xnio.StreamConnection channel,
ByteBufferPool bufferPool,
HttpHandler rootHandler,
org.xnio.OptionMap undertowOptions,
int bufferSize) |
|
JvmRouteHandler(HttpHandler next,
java.lang.String sessionCookieName,
java.lang.String jvmRoute) |
Modifier and Type | Class | Description |
---|---|---|
class |
AccessControlListHandler |
Handler that can accept or reject a request based on an attribute of the remote peer
todo: should we support non-regex values for performance reasons?
|
class |
AllowedMethodsHandler |
Handler that whitelists certain HTTP methods.
|
class |
AttachmentHandler<T> |
Handler that adds an attachment to the request
|
class |
BlockingHandler |
A
HttpHandler that initiates a blocking request. |
class |
ByteRangeHandler |
Handler for Range requests.
|
class |
CanonicalPathHandler |
|
class |
ChannelUpgradeHandler |
An HTTP request handler which upgrades the HTTP request and hands it off as a socket to any XNIO consumer.
|
class |
ConfiguredPushHandler |
Handler that pushes resources based on a provided URL
|
class |
ConnectHandler |
Handlers HTTP CONNECT requests, allowing the server to act as a forward proxy.
|
class |
DateHandler |
Deprecated.
|
class |
DisableCacheHandler |
Handler that disables response caching by browsers and proxies.
|
class |
DisallowedMethodsHandler |
Handler that blacklists certain HTTP methods.
|
class |
ExceptionHandler |
Handler that dispatches to a given handler and allows mapping exceptions
to be handled by additional handlers.
|
class |
ForwardedHandler |
Handler that implements rfc7239 Forwarded header
|
class |
GracefulShutdownHandler |
Handler that allows for graceful server shutdown.
|
class |
HttpContinueAcceptingHandler |
Handler that provides support for HTTP/1.1 continue responses.
|
class |
HttpContinueReadHandler |
Handler for requests that require 100-continue responses.
|
class |
HttpTraceHandler |
A handler that handles HTTP trace requests
|
class |
IPAddressAccessControlHandler |
Handler that can accept or reject a request based on the IP address of the remote peer.
|
class |
JDBCLogHandler |
|
class |
LearningPushHandler |
Handler that builds up a cache of resources that a browsers requests, and uses
server push to push them when supported.
|
class |
LocalNameResolvingHandler |
A handler that performs DNS lookup to resolve a local address.
|
class |
MetricsHandler |
Handler that records some metrics
|
class |
NameVirtualHostHandler |
A
HttpHandler that implements virtual hosts based on the Host: http header
header. |
class |
OriginHandler |
A handler for the HTTP Origin (RFC 6454) header.
|
class |
PathHandler |
Handler that dispatches to a given handler based of a prefix match of the path.
|
class |
PathSeparatorHandler |
A handler that translates non slash separator characters in the URL into a slash.
|
class |
PathTemplateHandler |
A handler that matches URI templates
|
class |
PeerNameResolvingHandler |
A handler that performs reverse DNS lookup to resolve a peer address
|
class |
PredicateContextHandler |
Handler that sets up the predicate context
|
class |
PredicateHandler |
|
class |
ProxyPeerAddressHandler |
Handler that sets the peer address to the value of the X-Forwarded-For header.
|
class |
RedirectHandler |
A redirect handler that redirects to the specified location via a 302 redirect.
|
class |
RequestBufferingHandler |
Handler that will buffer all request data
|
class |
RequestDumpingHandler |
Handler that dumps a exchange to a log.
|
class |
RequestLimitingHandler |
A handler which limits the maximum number of concurrent requests.
|
class |
ResponseCodeHandler |
A handler which simply sets a response code.
|
class |
ResponseRateLimitingHandler |
Handler that limits the download rate
|
class |
SecureCookieHandler |
Handler that will set the secure flag on all cookies that are received over a secure connection
|
class |
SetAttributeHandler |
Handler that can set an arbitrary attribute on the exchange.
|
class |
SetHeaderHandler |
Set a fixed response header.
|
class |
SSLHeaderHandler |
Handler that sets SSL information on the connection based on the following headers:
|
class |
StoredResponseHandler |
A handler that buffers the full response and attaches it to the exchange.
|
class |
StuckThreadDetectionHandler |
This valve allows to detect requests that take a long time to process, which might
indicate that the thread that is processing it is stuck.
|
class |
URLDecodingHandler |
A handler that will decode the URL and query parameters to the specified charset.
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
NameVirtualHostHandler.getDefaultHandler() |
|
HttpHandler |
RequestLimit.getFailureHandler() |
|
HttpHandler |
PredicateHandler.getFalseHandler() |
|
HttpHandler |
BlockingHandler.getHandler() |
|
HttpHandler |
AccessControlListHandler.getNext() |
|
HttpHandler |
AttachmentHandler.getNext() |
|
HttpHandler |
CanonicalPathHandler.getNext() |
|
HttpHandler |
IPAddressAccessControlHandler.getNext() |
|
HttpHandler |
OriginHandler.getNext() |
|
HttpHandler |
ChannelUpgradeHandler.getNonUpgradeHandler() |
Get the non-upgrade delegate handler.
|
HttpHandler |
OriginHandler.getOriginFailedHandler() |
|
HttpHandler |
PredicateHandler.getTrueHandler() |
|
HttpHandler |
ByteRangeHandler.Wrapper.wrap(HttpHandler handler) |
|
HttpHandler |
HttpContinueAcceptingHandler.Wrapper.wrap(HttpHandler handler) |
|
HttpHandler |
RequestBufferingHandler.Wrapper.wrap(HttpHandler handler) |
|
HttpHandler |
StuckThreadDetectionHandler.Wrapper.wrap(HttpHandler handler) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<java.lang.String,HttpHandler> |
NameVirtualHostHandler.getHosts() |
Modifier and Type | Method | Description |
---|---|---|
PathTemplateHandler |
PathTemplateHandler.add(java.lang.String uriTemplate,
HttpHandler handler) |
|
PathHandler |
PathHandler.addExactPath(java.lang.String path,
HttpHandler handler) |
If the request path is exactly equal to the given path, run the handler.
|
<T extends java.lang.Throwable> |
ExceptionHandler.addExceptionHandler(java.lang.Class<T> clazz,
HttpHandler handler) |
|
NameVirtualHostHandler |
NameVirtualHostHandler.addHost(java.lang.String host,
HttpHandler handler) |
|
PathHandler |
PathHandler.addPath(java.lang.String path,
HttpHandler handler) |
Deprecated.
|
PathHandler |
PathHandler.addPrefixPath(java.lang.String path,
HttpHandler handler) |
Adds a path prefix and a handler for that path.
|
void |
RequestLimit.handleRequest(HttpServerExchange exchange,
HttpHandler next) |
|
NameVirtualHostHandler |
NameVirtualHostHandler.setDefaultHandler(HttpHandler defaultHandler) |
|
void |
RequestLimit.setFailureHandler(HttpHandler failureHandler) |
|
PredicateHandler |
PredicateHandler.setFalseHandler(HttpHandler falseHandler) |
|
AccessControlListHandler |
AccessControlListHandler.setNext(HttpHandler next) |
|
void |
AttachmentHandler.setNext(HttpHandler next) |
|
CanonicalPathHandler |
CanonicalPathHandler.setNext(HttpHandler next) |
|
IPAddressAccessControlHandler |
IPAddressAccessControlHandler.setNext(HttpHandler next) |
|
OriginHandler |
OriginHandler.setNext(HttpHandler next) |
|
ChannelUpgradeHandler |
ChannelUpgradeHandler.setNonUpgradeHandler(HttpHandler nonUpgradeHandler) |
Set the non-upgrade delegate handler.
|
OriginHandler |
OriginHandler.setOriginFailedHandler(HttpHandler originFailedHandler) |
|
BlockingHandler |
BlockingHandler.setRootHandler(HttpHandler rootHandler) |
|
PredicateHandler |
PredicateHandler.setTrueHandler(HttpHandler trueHandler) |
|
HttpHandler |
ByteRangeHandler.Wrapper.wrap(HttpHandler handler) |
|
HttpHandler |
HttpContinueAcceptingHandler.Wrapper.wrap(HttpHandler handler) |
|
HttpHandler |
RequestBufferingHandler.Wrapper.wrap(HttpHandler handler) |
|
HttpHandler |
StuckThreadDetectionHandler.Wrapper.wrap(HttpHandler handler) |
Modifier and Type | Class | Description |
---|---|---|
class |
AccessLogHandler |
Access log handler.
|
Constructor | Description |
---|---|
AccessLogHandler(HttpHandler next,
AccessLogReceiver accessLogReceiver,
java.lang.String formatString,
ExchangeAttribute attribute) |
|
AccessLogHandler(HttpHandler next,
AccessLogReceiver accessLogReceiver,
java.lang.String formatString,
ExchangeAttribute attribute,
Predicate predicate) |
|
AccessLogHandler(HttpHandler next,
AccessLogReceiver accessLogReceiver,
java.lang.String formatString,
java.lang.ClassLoader classLoader) |
|
AccessLogHandler(HttpHandler next,
AccessLogReceiver accessLogReceiver,
java.lang.String formatString,
java.lang.ClassLoader classLoader,
Predicate predicate) |
Modifier and Type | Class | Description |
---|---|---|
class |
CacheHandler |
Handler that attaches a cache to the exchange, a handler can query this cache to see if the
cache has a cached copy of the content, and if so have the cache serve this content automatically.
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
CacheHandler.getNext() |
Modifier and Type | Method | Description |
---|---|---|
CacheHandler |
CacheHandler.setNext(HttpHandler next) |
Constructor | Description |
---|---|
CacheHandler(DirectBufferCache cache,
HttpHandler next) |
Modifier and Type | Class | Description |
---|---|---|
class |
EncodingHandler |
Handler that serves as the basis for content encoding implementations.
|
class |
RequestEncodingHandler |
Handler that serves as the basis for request content encoding.
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
EncodingHandler.getNext() |
|
HttpHandler |
RequestEncodingHandler.getNext() |
|
HttpHandler |
EncodingHandler.getNoEncodingHandler() |
Modifier and Type | Method | Description |
---|---|---|
EncodingHandler |
EncodingHandler.setNext(HttpHandler next) |
|
EncodingHandler |
EncodingHandler.setNoEncodingHandler(HttpHandler noEncodingHandler) |
Constructor | Description |
---|---|
EncodingHandler(HttpHandler next,
ContentEncodingRepository contentEncodingRepository) |
|
RequestEncodingHandler(HttpHandler next) |
Modifier and Type | Class | Description |
---|---|---|
class |
FileErrorPageHandler |
Handler that serves up a file from disk to serve as an error page.
|
class |
SimpleErrorPageHandler |
Handler that generates an extremely simple no frills error page
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
FileErrorPageHandler.getNext() |
|
HttpHandler |
SimpleErrorPageHandler.getNext() |
Modifier and Type | Method | Description |
---|---|---|
FileErrorPageHandler |
FileErrorPageHandler.setNext(HttpHandler next) |
|
SimpleErrorPageHandler |
SimpleErrorPageHandler.setNext(HttpHandler next) |
Constructor | Description |
---|---|
FileErrorPageHandler(HttpHandler next,
java.io.File file,
java.lang.Integer... responseCodes) |
Deprecated.
|
FileErrorPageHandler(HttpHandler next,
java.nio.file.Path file,
MimeMappings mimeMappings,
java.lang.Integer... responseCodes) |
|
FileErrorPageHandler(HttpHandler next,
java.nio.file.Path file,
java.lang.Integer... responseCodes) |
|
SimpleErrorPageHandler(HttpHandler next) |
Modifier and Type | Class | Description |
---|---|---|
class |
EagerFormParsingHandler |
Handler that eagerly parses form data.
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
EagerFormParsingHandler.getNext() |
Modifier and Type | Method | Description |
---|---|---|
void |
FormDataParser.parse(HttpHandler next) |
Parse the form data asynchronously.
|
EagerFormParsingHandler |
EagerFormParsingHandler.setNext(HttpHandler next) |
Constructor | Description |
---|---|
EagerFormParsingHandler(HttpHandler next) |
Modifier and Type | Class | Description |
---|---|---|
class |
ProxyHandler |
An HTTP handler which proxies content to a remote server.
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
ProxyHandler.Builder.getNext() |
Modifier and Type | Method | Description |
---|---|---|
ProxyHandler.Builder |
ProxyHandler.Builder.setNext(HttpHandler next) |
Constructor | Description |
---|---|
ProxyHandler(ProxyClient proxyClient,
int maxRequestTime,
HttpHandler next) |
Deprecated.
|
ProxyHandler(ProxyClient proxyClient,
int maxRequestTime,
HttpHandler next,
boolean rewriteHostHeader,
boolean reuseXForwarded) |
Deprecated.
|
ProxyHandler(ProxyClient proxyClient,
int maxRequestTime,
HttpHandler next,
boolean rewriteHostHeader,
boolean reuseXForwarded,
int maxConnectionRetries) |
Deprecated.
|
ProxyHandler(ProxyClient proxyClient,
HttpHandler next) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
MCMPConfig.Builder.create(ModCluster modCluster,
HttpHandler next) |
|
HttpHandler |
MCMPConfig.create(ModCluster modCluster,
HttpHandler next) |
|
HttpHandler |
ModCluster.createProxyHandler() |
Get the handler proxying the requests.
|
HttpHandler |
ModCluster.createProxyHandler(HttpHandler next) |
Get the handler proxying the requests.
|
HttpHandler |
ModCluster.getProxyHandler() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
MCMPConfig.Builder.create(ModCluster modCluster,
HttpHandler next) |
|
HttpHandler |
MCMPConfig.create(ModCluster modCluster,
HttpHandler next) |
|
HttpHandler |
ModCluster.createProxyHandler(HttpHandler next) |
Get the handler proxying the requests.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ResourceHandler |
Constructor | Description |
---|---|
ResourceHandler(ResourceManager resourceManager,
HttpHandler next) |
|
ResourceHandler(ResourceSupplier resourceManager,
HttpHandler next) |
Modifier and Type | Class | Description |
---|---|---|
class |
ServerSentEventHandler |
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
AjpOpenListener.getRootHandler() |
Modifier and Type | Method | Description |
---|---|---|
void |
AjpOpenListener.setRootHandler(HttpHandler rootHandler) |
Constructor | Description |
---|---|
AjpServerConnection(org.xnio.StreamConnection channel,
ByteBufferPool bufferPool,
HttpHandler rootHandler,
org.xnio.OptionMap undertowOptions,
int bufferSize) |
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
AlpnOpenListener.getRootHandler() |
|
HttpHandler |
HttpOpenListener.getRootHandler() |
Modifier and Type | Method | Description |
---|---|---|
void |
AlpnOpenListener.setRootHandler(HttpHandler rootHandler) |
|
void |
HttpOpenListener.setRootHandler(HttpHandler rootHandler) |
Constructor | Description |
---|---|
HttpServerConnection(org.xnio.StreamConnection channel,
ByteBufferPool bufferPool,
HttpHandler rootHandler,
org.xnio.OptionMap undertowOptions,
int bufferSize,
ConnectorStatisticsImpl connectorStatistics) |
Modifier and Type | Class | Description |
---|---|---|
class |
Http2UpgradeHandler |
Upgrade listener for HTTP2, this allows connections to be established using the upgrade
mechanism as detailed in Section 3.2.
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
Http2OpenListener.getRootHandler() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
Http2ServerConnection.pushResource(java.lang.String path,
HttpString method,
HeaderMap requestHeaders,
HttpHandler handler) |
|
void |
Http2OpenListener.setRootHandler(HttpHandler rootHandler) |
Constructor | Description |
---|---|
Http2ReceiveListener(HttpHandler rootHandler,
org.xnio.OptionMap undertowOptions,
int bufferSize,
ConnectorStatisticsImpl connectorStatistics) |
|
Http2ServerConnection(Http2Channel channel,
Http2DataStreamSinkChannel sinkChannel,
org.xnio.OptionMap undertowOptions,
int bufferSize,
HttpHandler rootHandler) |
Channel that is used when the request is already half closed
|
Http2ServerConnection(Http2Channel channel,
Http2StreamSourceChannel requestChannel,
org.xnio.OptionMap undertowOptions,
int bufferSize,
HttpHandler rootHandler) |
|
Http2UpgradeHandler(HttpHandler next) |
|
Http2UpgradeHandler(HttpHandler next,
java.lang.String... upgradeStrings) |
Modifier and Type | Class | Description |
---|---|---|
class |
SessionAttachmentHandler |
Handler that attaches the session to the request.
|
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
SessionAttachmentHandler.getNext() |
Modifier and Type | Method | Description |
---|---|---|
SessionAttachmentHandler |
SessionAttachmentHandler.setNext(HttpHandler next) |
Constructor | Description |
---|---|
SessionAttachmentHandler(HttpHandler next,
SessionManager sessionManager,
SessionConfig sessionConfig) |
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
ChainedHandlerWrapper.wrap(HttpHandler handler) |
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
ChainedHandlerWrapper.wrap(HttpHandler handler) |
Modifier and Type | Class | Description |
---|---|---|
class |
WebSocketProtocolHandshakeHandler |
HttpHandler which will process the HttpServerExchange and do the actual handshake/upgrade
to WebSocket. |
Constructor | Description |
---|---|
WebSocketProtocolHandshakeHandler(HttpUpgradeListener callback,
HttpHandler next) |
Create a new
WebSocketProtocolHandshakeHandler |
WebSocketProtocolHandshakeHandler(WebSocketConnectionCallback callback,
HttpHandler next) |
Create a new
WebSocketProtocolHandshakeHandler |
WebSocketProtocolHandshakeHandler(java.util.Collection<Handshake> handshakes,
HttpUpgradeListener callback,
HttpHandler next) |
Create a new
WebSocketProtocolHandshakeHandler |
WebSocketProtocolHandshakeHandler(java.util.Collection<Handshake> handshakes,
WebSocketConnectionCallback callback,
HttpHandler next) |
Create a new
WebSocketProtocolHandshakeHandler |
Copyright © 2018. All rights reserved.