Uses of Interface
io.undertow.server.HttpHandler
-
-
Uses of HttpHandler in io.undertow
Methods in io.undertow that return HttpHandler Modifier and Type Method Description static HttpHandler
Handlers. disableCache(HttpHandler next)
Handler that sets the headers that disable caching of the responsestatic 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.Methods in io.undertow with parameters of type HttpHandler 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 exchangeUndertow.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 responsestatic ExceptionHandler
Handlers. exceptionHandler(HttpHandler next)
Returns a handler that maps exceptions to additional handlersstatic 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 headerstatic SetHeaderHandler
Handlers. header(HttpHandler next, java.lang.String headerName, java.lang.String headerValue)
Returns a handler that sets a response headerstatic 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 addressstatic JvmRouteHandler
Handlers. jvmRoute(java.lang.String sessionCookieName, java.lang.String jvmRoute, HttpHandler next)
Handler that appends the JVM route to the session cookiestatic LearningPushHandler
Handlers. learningPushHandler(int maxPathEntries, int maxPathAge, int maxPushEntries, int maxPushAge, HttpHandler next)
Creates a handler that automatically learns which resources to push based on the referer headerstatic LearningPushHandler
Handlers. learningPushHandler(int maxEntries, int maxAge, HttpHandler next)
Creates a handler that automatically learns which resources to push based on the referer headerstatic LearningPushHandler
Handlers. learningPushHandler(int maxEntries, HttpHandler next)
Creates a handler that automatically learns which resources to push based on the referer headerstatic PathHandler
Handlers. path(HttpHandler defaultHandler)
Creates a new path handler, with the default handler specifiedstatic 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 headerstatic 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/periodstatic 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.static SetErrorHandler
Handlers. setErrorHandler(int responseCode, HttpHandler next)
A handler that sets response code but continues the exchange so the servlet's error page can be returned.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 handlerstatic 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)
-
Uses of HttpHandler in io.undertow.predicate
Classes in io.undertow.predicate that implement HttpHandler Modifier and Type Class Description class
PredicatesHandler
Handler that can deal with a large number of predicates.Methods in io.undertow.predicate that return HttpHandler Modifier and Type Method Description HttpHandler
PredicatesHandler. getNext()
HttpHandler
PredicatesHandler.Wrapper. wrap(HttpHandler handler)
Methods in io.undertow.predicate with parameters of type HttpHandler Modifier and Type Method Description void
PredicatesHandler. setNext(HttpHandler next)
HttpHandler
PredicatesHandler.Wrapper. wrap(HttpHandler handler)
Constructors in io.undertow.predicate with parameters of type HttpHandler Constructor Description PredicatesHandler(HttpHandler next)
PredicatesHandler(HttpHandler next, boolean outerHandler)
-
Uses of HttpHandler in io.undertow.security.handlers
Classes in io.undertow.security.handlers that implement HttpHandler 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 theSecurityContext
instance with the current request.class
AuthenticationCallHandler
This is the finalHttpHandler
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 contextclass
CachedAuthenticatedSessionHandler
HttpHandler
responsible for setting up theAuthenticatedSessionManager
for cached authentications and registering aNotificationReceiver
to receive the security notifications.class
NotificationReceiverHandler
AHttpHandler
to register a list ofNotificationReceiver
instances with the currentSecurityContext
.class
SecurityInitialHandler
The security handler responsible for attaching the SecurityContext to the currentHttpServerExchange
.class
SinglePortConfidentialityHandler
An extension toAbstractConfidentialityHandler
that uses the Host header from the incoming message and specifies the confidential address by just switching the port.Methods in io.undertow.security.handlers that return HttpHandler Modifier and Type Method Description HttpHandler
AuthenticationMechanismsHandler. getNext()
Methods in io.undertow.security.handlers with parameters of type HttpHandler Modifier and Type Method Description AuthenticationMechanismsHandler
AuthenticationMechanismsHandler. setNext(HttpHandler next)
-
Uses of HttpHandler in io.undertow.server
Classes in io.undertow.server that implement HttpHandler 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.Fields in io.undertow.server declared as HttpHandler Modifier and Type Field Description protected HttpHandler
AbstractServerConnection. rootHandler
Methods in io.undertow.server that return HttpHandler 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)
Methods in io.undertow.server with parameters of type HttpHandler 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 handlerHttpHandler
HandlerWrapper. wrap(HttpHandler handler)
Constructors in io.undertow.server with parameters of type HttpHandler 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)
-
Uses of HttpHandler in io.undertow.server.handlers
Classes in io.undertow.server.handlers that implement HttpHandler 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
ActiveRequestTrackerHandler
This handler will track all active requests.class
AllowedMethodsHandler
Handler that whitelists certain HTTP methods.class
AttachmentHandler<T>
Handler that adds an attachment to the requestclass
BlockingHandler
AHttpHandler
that initiates a blocking request.class
BlockingReadTimeoutHandler
BlockingReadTimeoutHandler
allows configurable blocking I/O timeouts for read operations within an exchange.class
BlockingWriteTimeoutHandler
BlockingTimeoutHandler allows configurable blocking I/O timeouts for write operations within an exchange.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 URLclass
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 headerclass
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 requestsclass
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 metricsclass
NameVirtualHostHandler
AHttpHandler
that implements virtual hosts based on theHost:
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 templatesclass
PeerNameResolvingHandler
A handler that performs reverse DNS lookup to resolve a peer addressclass
PredicateContextHandler
Handler that sets up the predicate contextclass
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 dataclass
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 rateclass
SameSiteCookieHandler
Handler that will set the SameSite flag to response cookiesclass
SecureCookieHandler
Handler that will set the secure flag on all cookies that are received over a secure connectionclass
SetAttributeHandler
Handler that can set an arbitrary attribute on the exchange.class
SetErrorHandler
A handler that sets response code but continues the exchange so the servlet's error page can be returned.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.Methods in io.undertow.server.handlers that return HttpHandler Modifier and Type Method Description HttpHandler
BlockingReadTimeoutHandler.Builder. build()
HttpHandler
BlockingWriteTimeoutHandler.Builder. build()
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)
Methods in io.undertow.server.handlers that return types with arguments of type HttpHandler Modifier and Type Method Description java.util.Map<java.lang.String,HttpHandler>
NameVirtualHostHandler. getHosts()
Methods in io.undertow.server.handlers with parameters of type HttpHandler 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>
ExceptionHandlerExceptionHandler. 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, for removal: This API element is subject to removal in a future version.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)
BlockingReadTimeoutHandler.Builder
BlockingReadTimeoutHandler.Builder. nextHandler(HttpHandler nextHandler)
BlockingWriteTimeoutHandler.Builder
BlockingWriteTimeoutHandler.Builder. nextHandler(HttpHandler nextHandler)
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)
Constructors in io.undertow.server.handlers with parameters of type HttpHandler Constructor Description AccessControlListHandler(HttpHandler next, ExchangeAttribute attribute)
ActiveRequestTrackerHandler(HttpHandler next, Predicate predicate)
AllowedMethodsHandler(HttpHandler next, HttpString... allowedMethods)
AllowedMethodsHandler(HttpHandler next, java.util.Set<HttpString> allowedMethods)
AttachmentHandler(AttachmentKey<T> key, HttpHandler next)
AttachmentHandler(AttachmentKey<T> key, HttpHandler next, T instance)
BlockingHandler(HttpHandler handler)
ByteRangeHandler(HttpHandler next, boolean sendAcceptRanges)
CanonicalPathHandler(HttpHandler next)
ConfiguredPushHandler(HttpHandler next)
ConnectHandler(HttpHandler next)
ConnectHandler(HttpHandler next, Predicate allowed)
DateHandler(HttpHandler next)
Deprecated.DisableCacheHandler(HttpHandler next)
DisallowedMethodsHandler(HttpHandler next, HttpString... disallowedMethods)
DisallowedMethodsHandler(HttpHandler next, java.util.Set<HttpString> disallowedMethods)
ExceptionHandler(HttpHandler handler)
ForwardedHandler(HttpHandler next)
ForwardedHandler(HttpHandler next, boolean isChangeLocalAddrPort)
GracefulShutdownHandler(HttpHandler next)
HttpContinueAcceptingHandler(HttpHandler next)
HttpContinueAcceptingHandler(HttpHandler next, Predicate accept)
HttpContinueReadHandler(HttpHandler handler)
HttpTraceHandler(HttpHandler handler)
IPAddressAccessControlHandler(HttpHandler next)
IPAddressAccessControlHandler(HttpHandler next, int denyResponseCode)
JDBCLogHandler(HttpHandler next, java.lang.String formatString, javax.sql.DataSource dataSource)
JDBCLogHandler(HttpHandler next, java.util.concurrent.Executor logWriteExecutor, java.lang.String formatString, javax.sql.DataSource dataSource)
Deprecated.LearningPushHandler(int maxPathEtries, int maxPathAge, int maxPushEtries, int maxPushAge, HttpHandler next)
LearningPushHandler(int maxPathEtries, int maxPathAge, HttpHandler next)
LearningPushHandler(HttpHandler next)
LocalNameResolvingHandler(HttpHandler next)
LocalNameResolvingHandler(HttpHandler next, LocalNameResolvingHandler.ResolveType resolveType)
MetricsHandler(HttpHandler next)
PathHandler(HttpHandler defaultHandler)
PathHandler(HttpHandler defaultHandler, int cacheSize)
PathSeparatorHandler(HttpHandler next)
PathTemplateHandler(HttpHandler next)
PathTemplateHandler(HttpHandler next, boolean rewriteQueryParameters)
PeerNameResolvingHandler(HttpHandler next)
PeerNameResolvingHandler(HttpHandler next, PeerNameResolvingHandler.ResolveType resolveType)
PredicateContextHandler(HttpHandler next)
PredicateHandler(Predicate predicate, HttpHandler trueHandler, HttpHandler falseHandler)
ProxyPeerAddressHandler(HttpHandler next)
ProxyPeerAddressHandler(HttpHandler next, boolean isChangeLocalAddrPort)
RequestBufferingHandler(HttpHandler next, int maxBuffers)
RequestDumpingHandler(HttpHandler next)
RequestLimitingHandler(int maximumConcurrentRequests, int queueSize, HttpHandler nextHandler)
Construct a new instance.RequestLimitingHandler(int maximumConcurrentRequests, HttpHandler nextHandler)
Construct a new instance.RequestLimitingHandler(RequestLimit requestLimit, HttpHandler nextHandler)
Construct a new instance.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/periodSameSiteCookieHandler(HttpHandler next, java.lang.String mode)
SameSiteCookieHandler(HttpHandler next, java.lang.String mode, java.lang.String cookiePattern)
SameSiteCookieHandler(HttpHandler next, java.lang.String mode, java.lang.String cookiePattern, boolean caseSensitive)
SameSiteCookieHandler(HttpHandler next, java.lang.String mode, java.lang.String cookiePattern, boolean caseSensitive, boolean enableClientChecker, boolean addSecureForNone)
SecureCookieHandler(HttpHandler next)
SetAttributeHandler(HttpHandler next, ExchangeAttribute attribute, ExchangeAttribute value)
SetAttributeHandler(HttpHandler next, ExchangeAttribute attribute, ExchangeAttribute value, boolean preCommit)
SetAttributeHandler(HttpHandler next, java.lang.String attribute, java.lang.String value)
SetAttributeHandler(HttpHandler next, java.lang.String attribute, java.lang.String value, boolean preCommit)
SetAttributeHandler(HttpHandler next, java.lang.String attribute, java.lang.String value, java.lang.ClassLoader classLoader)
SetAttributeHandler(HttpHandler next, java.lang.String attribute, java.lang.String value, java.lang.ClassLoader classLoader, boolean preCommit)
SetErrorHandler(HttpHandler next, int responseCode)
Construct a new instance.SetHeaderHandler(HttpHandler next, java.lang.String header, ExchangeAttribute value)
SetHeaderHandler(HttpHandler next, java.lang.String header, java.lang.String value)
SSLHeaderHandler(HttpHandler next)
StoredResponseHandler(HttpHandler next)
StuckThreadDetectionHandler(int threshold, HttpHandler next)
StuckThreadDetectionHandler(HttpHandler next)
URLDecodingHandler(HttpHandler next, java.lang.String charset)
-
Uses of HttpHandler in io.undertow.server.handlers.accesslog
Classes in io.undertow.server.handlers.accesslog that implement HttpHandler Modifier and Type Class Description class
AccessLogHandler
Access log handler.Constructors in io.undertow.server.handlers.accesslog with parameters of type HttpHandler 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)
-
Uses of HttpHandler in io.undertow.server.handlers.cache
Classes in io.undertow.server.handlers.cache that implement HttpHandler 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.Methods in io.undertow.server.handlers.cache that return HttpHandler Modifier and Type Method Description HttpHandler
CacheHandler. getNext()
Methods in io.undertow.server.handlers.cache with parameters of type HttpHandler Modifier and Type Method Description CacheHandler
CacheHandler. setNext(HttpHandler next)
Constructors in io.undertow.server.handlers.cache with parameters of type HttpHandler Constructor Description CacheHandler(DirectBufferCache cache, HttpHandler next)
-
Uses of HttpHandler in io.undertow.server.handlers.encoding
Classes in io.undertow.server.handlers.encoding that implement HttpHandler 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.Methods in io.undertow.server.handlers.encoding that return HttpHandler Modifier and Type Method Description HttpHandler
EncodingHandler. getNext()
HttpHandler
RequestEncodingHandler. getNext()
HttpHandler
EncodingHandler. getNoEncodingHandler()
Methods in io.undertow.server.handlers.encoding with parameters of type HttpHandler Modifier and Type Method Description EncodingHandler
EncodingHandler. setNext(HttpHandler next)
EncodingHandler
EncodingHandler. setNoEncodingHandler(HttpHandler noEncodingHandler)
Constructors in io.undertow.server.handlers.encoding with parameters of type HttpHandler Constructor Description EncodingHandler(HttpHandler next, ContentEncodingRepository contentEncodingRepository)
RequestEncodingHandler(HttpHandler next)
-
Uses of HttpHandler in io.undertow.server.handlers.error
Classes in io.undertow.server.handlers.error that implement HttpHandler 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 pageMethods in io.undertow.server.handlers.error that return HttpHandler Modifier and Type Method Description HttpHandler
FileErrorPageHandler. getNext()
HttpHandler
SimpleErrorPageHandler. getNext()
Methods in io.undertow.server.handlers.error with parameters of type HttpHandler Modifier and Type Method Description FileErrorPageHandler
FileErrorPageHandler. setNext(HttpHandler next)
SimpleErrorPageHandler
SimpleErrorPageHandler. setNext(HttpHandler next)
Constructors in io.undertow.server.handlers.error with parameters of type HttpHandler 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)
-
Uses of HttpHandler in io.undertow.server.handlers.form
Classes in io.undertow.server.handlers.form that implement HttpHandler Modifier and Type Class Description class
EagerFormParsingHandler
Handler that eagerly parses form data.Methods in io.undertow.server.handlers.form that return HttpHandler Modifier and Type Method Description HttpHandler
EagerFormParsingHandler. getNext()
Methods in io.undertow.server.handlers.form with parameters of type HttpHandler Modifier and Type Method Description void
FormDataParser. parse(HttpHandler next)
Parse the form data asynchronously.EagerFormParsingHandler
EagerFormParsingHandler. setNext(HttpHandler next)
Constructors in io.undertow.server.handlers.form with parameters of type HttpHandler Constructor Description EagerFormParsingHandler(HttpHandler next)
-
Uses of HttpHandler in io.undertow.server.handlers.proxy
Classes in io.undertow.server.handlers.proxy that implement HttpHandler Modifier and Type Class Description class
ProxyHandler
An HTTP handler which proxies content to a remote server.Methods in io.undertow.server.handlers.proxy that return HttpHandler Modifier and Type Method Description HttpHandler
ProxyHandler.Builder. getNext()
Methods in io.undertow.server.handlers.proxy with parameters of type HttpHandler Modifier and Type Method Description ProxyHandler.Builder
ProxyHandler.Builder. setNext(HttpHandler next)
Constructors in io.undertow.server.handlers.proxy with parameters of type HttpHandler 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. -
Uses of HttpHandler in io.undertow.server.handlers.proxy.mod_cluster
Methods in io.undertow.server.handlers.proxy.mod_cluster that return HttpHandler 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.Methods in io.undertow.server.handlers.proxy.mod_cluster with parameters of type HttpHandler 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. -
Uses of HttpHandler in io.undertow.server.handlers.resource
Classes in io.undertow.server.handlers.resource that implement HttpHandler Modifier and Type Class Description class
ResourceHandler
Constructors in io.undertow.server.handlers.resource with parameters of type HttpHandler Constructor Description ResourceHandler(ResourceManager resourceManager, HttpHandler next)
ResourceHandler(ResourceSupplier resourceManager, HttpHandler next)
-
Uses of HttpHandler in io.undertow.server.handlers.sse
Classes in io.undertow.server.handlers.sse that implement HttpHandler Modifier and Type Class Description class
ServerSentEventHandler
-
Uses of HttpHandler in io.undertow.server.protocol.ajp
Methods in io.undertow.server.protocol.ajp that return HttpHandler Modifier and Type Method Description HttpHandler
AjpOpenListener. getRootHandler()
Methods in io.undertow.server.protocol.ajp with parameters of type HttpHandler Modifier and Type Method Description void
AjpOpenListener. setRootHandler(HttpHandler rootHandler)
Constructors in io.undertow.server.protocol.ajp with parameters of type HttpHandler Constructor Description AjpServerConnection(org.xnio.StreamConnection channel, ByteBufferPool bufferPool, HttpHandler rootHandler, org.xnio.OptionMap undertowOptions, int bufferSize)
-
Uses of HttpHandler in io.undertow.server.protocol.http
Methods in io.undertow.server.protocol.http that return HttpHandler Modifier and Type Method Description HttpHandler
AlpnOpenListener. getRootHandler()
HttpHandler
HttpOpenListener. getRootHandler()
Methods in io.undertow.server.protocol.http with parameters of type HttpHandler Modifier and Type Method Description void
AlpnOpenListener. setRootHandler(HttpHandler rootHandler)
void
HttpOpenListener. setRootHandler(HttpHandler rootHandler)
Constructors in io.undertow.server.protocol.http with parameters of type HttpHandler Constructor Description HttpServerConnection(org.xnio.StreamConnection channel, ByteBufferPool bufferPool, HttpHandler rootHandler, org.xnio.OptionMap undertowOptions, int bufferSize, ConnectorStatisticsImpl connectorStatistics)
-
Uses of HttpHandler in io.undertow.server.protocol.http2
Classes in io.undertow.server.protocol.http2 that implement HttpHandler 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.Methods in io.undertow.server.protocol.http2 that return HttpHandler Modifier and Type Method Description HttpHandler
Http2OpenListener. getRootHandler()
Methods in io.undertow.server.protocol.http2 with parameters of type HttpHandler Modifier and Type Method Description boolean
Http2ServerConnection. pushResource(java.lang.String path, HttpString method, HeaderMap requestHeaders, HttpHandler handler)
void
Http2OpenListener. setRootHandler(HttpHandler rootHandler)
Constructors in io.undertow.server.protocol.http2 with parameters of type HttpHandler 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 closedHttp2ServerConnection(Http2Channel channel, Http2StreamSourceChannel requestChannel, org.xnio.OptionMap undertowOptions, int bufferSize, HttpHandler rootHandler)
Http2UpgradeHandler(HttpHandler next)
Http2UpgradeHandler(HttpHandler next, java.lang.String... upgradeStrings)
-
Uses of HttpHandler in io.undertow.server.session
Classes in io.undertow.server.session that implement HttpHandler Modifier and Type Class Description class
SessionAttachmentHandler
Handler that attaches the session to the request.Methods in io.undertow.server.session that return HttpHandler Modifier and Type Method Description HttpHandler
SessionAttachmentHandler. getNext()
Methods in io.undertow.server.session with parameters of type HttpHandler Modifier and Type Method Description SessionAttachmentHandler
SessionAttachmentHandler. setNext(HttpHandler next)
Constructors in io.undertow.server.session with parameters of type HttpHandler Constructor Description SessionAttachmentHandler(HttpHandler next, SessionManager sessionManager, SessionConfig sessionConfig)
-
Uses of HttpHandler in io.undertow.util
Methods in io.undertow.util that return HttpHandler Modifier and Type Method Description HttpHandler
ChainedHandlerWrapper. wrap(HttpHandler handler)
Methods in io.undertow.util with parameters of type HttpHandler Modifier and Type Method Description HttpHandler
ChainedHandlerWrapper. wrap(HttpHandler handler)
-
Uses of HttpHandler in io.undertow.websockets
Classes in io.undertow.websockets that implement HttpHandler Modifier and Type Class Description class
WebSocketProtocolHandshakeHandler
HttpHandler
which will process theHttpServerExchange
and do the actual handshake/upgrade to WebSocket.Constructors in io.undertow.websockets with parameters of type HttpHandler Constructor Description WebSocketProtocolHandshakeHandler(HttpUpgradeListener callback, HttpHandler next)
Create a newWebSocketProtocolHandshakeHandler
WebSocketProtocolHandshakeHandler(WebSocketConnectionCallback callback, HttpHandler next)
Create a newWebSocketProtocolHandshakeHandler
WebSocketProtocolHandshakeHandler(java.util.Collection<Handshake> handshakes, HttpUpgradeListener callback, HttpHandler next)
Create a newWebSocketProtocolHandshakeHandler
WebSocketProtocolHandshakeHandler(java.util.Collection<Handshake> handshakes, WebSocketConnectionCallback callback, HttpHandler next)
Create a newWebSocketProtocolHandshakeHandler
-