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 HttpHandlerHandlers. disableCache(HttpHandler next)Handler that sets the headers that disable caching of the responsestatic HttpHandlerHandlers. predicateContext(HttpHandler next)static HttpHandlerHandlers. requestDump(HttpHandler next)Returns a handler that dumps requests to the log for debugging purposes.static HttpHandlerHandlers. 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 HttpHandlerHandlers. 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 AccessControlListHandlerHandlers. 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.BuilderUndertow.Builder. addAjpListener(int port, java.lang.String host, HttpHandler rootHandler)Undertow.BuilderUndertow.Builder. addHttpListener(int port, java.lang.String host, HttpHandler rootHandler)Undertow.BuilderUndertow.Builder. addHttpsListener(int port, java.lang.String host, javax.net.ssl.KeyManager[] keyManagers, javax.net.ssl.TrustManager[] trustManagers, HttpHandler rootHandler)Undertow.BuilderUndertow.Builder. addHttpsListener(int port, java.lang.String host, javax.net.ssl.SSLContext sslContext, HttpHandler rootHandler)static DateHandlerHandlers. date(HttpHandler next)Deprecated.static HttpHandlerHandlers. disableCache(HttpHandler next)Handler that sets the headers that disable caching of the responsestatic ExceptionHandlerHandlers. exceptionHandler(HttpHandler next)Returns a handler that maps exceptions to additional handlersstatic GracefulShutdownHandlerHandlers. 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 voidHandlers. handlerNotNull(HttpHandler handler)static SetHeaderHandlerHandlers. header(HttpHandler next, java.lang.String headerName, ExchangeAttribute headerValue)Returns a handler that sets a response headerstatic SetHeaderHandlerHandlers. header(HttpHandler next, java.lang.String headerName, java.lang.String headerValue)Returns a handler that sets a response headerstatic HttpContinueAcceptingHandlerHandlers. httpContinueAccepting(HttpHandler next)Returns a handler that sends back a HTTP 100 continue response to all requests.static HttpContinueAcceptingHandlerHandlers. httpContinueAccepting(HttpHandler next, Predicate accept)Returns a handler that sends back a HTTP 100 continue response if the given predicate resolves to true.static HttpContinueReadHandlerHandlers. 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 IPAddressAccessControlHandlerHandlers. ipAccessControl(HttpHandler next, boolean defaultAllow)Returns a new handler that can allow or deny access to a resource based on IP addressstatic JvmRouteHandlerHandlers. jvmRoute(java.lang.String sessionCookieName, java.lang.String jvmRoute, HttpHandler next)Handler that appends the JVM route to the session cookiestatic LearningPushHandlerHandlers. 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 LearningPushHandlerHandlers. learningPushHandler(int maxEntries, int maxAge, HttpHandler next)Creates a handler that automatically learns which resources to push based on the referer headerstatic LearningPushHandlerHandlers. learningPushHandler(int maxEntries, HttpHandler next)Creates a handler that automatically learns which resources to push based on the referer headerstatic PathHandlerHandlers. path(HttpHandler defaultHandler)Creates a new path handler, with the default handler specifiedstatic PredicateHandlerHandlers. 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 HttpHandlerHandlers. predicateContext(HttpHandler next)static PredicatesHandlerHandlers. predicates(java.util.List<PredicatedHandler> handlers, HttpHandler next)static ProxyHandlerHandlers. proxyHandler(ProxyClient proxyClient, int maxRequestTime, HttpHandler next)Returns a handler that can act as a load balancing reverse proxy.static ProxyHandlerHandlers. proxyHandler(ProxyClient proxyClient, HttpHandler next)Returns a handler that can act as a load balancing reverse proxy.static ProxyPeerAddressHandlerHandlers. proxyPeerAddress(HttpHandler next)Returns a new handler that sets the peer address based on the X-Forwarded-For and X-Forwarded-Proto headerstatic HttpHandlerHandlers. requestDump(HttpHandler next)Returns a handler that dumps requests to the log for debugging purposes.static RequestLimitingHandlerHandlers. requestLimitingHandler(int maxRequest, int queueSize, HttpHandler next)Returns a handler that limits the maximum number of requests that can run at a time.static RequestLimitingHandlerHandlers. requestLimitingHandler(RequestLimit requestLimit, HttpHandler next)Returns a handler that limits the maximum number of requests that can run at a time.static ResponseRateLimitingHandlerHandlers. 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 HttpHandlerHandlers. 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 SetAttributeHandlerHandlers. 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 SetErrorHandlerHandlers. 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.BuilderUndertow.Builder. setHandler(HttpHandler handler)Undertow.ListenerBuilderUndertow.ListenerBuilder. setRootHandler(HttpHandler rootHandler)static HttpTraceHandlerHandlers. trace(HttpHandler next)Returns a new HTTP trace handler.static URLDecodingHandlerHandlers. urlDecoding(HttpHandler next, java.lang.String charset)A handler that will decode the URL, query parameters and to the specified charset.static HttpHandlerHandlers. 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 NameVirtualHostHandlerHandlers. virtualHost(HttpHandler defaultHandler)Creates a new virtual host handler using the provided default handlerstatic NameVirtualHostHandlerHandlers. 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 NameVirtualHostHandlerHandlers. 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 WebSocketProtocolHandshakeHandlerHandlers. 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 classPredicatesHandlerHandler that can deal with a large number of predicates.Methods in io.undertow.predicate that return HttpHandler Modifier and Type Method Description HttpHandlerPredicatesHandler. getNext()HttpHandlerPredicatesHandler.Wrapper. wrap(HttpHandler handler)Methods in io.undertow.predicate with parameters of type HttpHandler Modifier and Type Method Description voidPredicatesHandler. setNext(HttpHandler next)HttpHandlerPredicatesHandler.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 classAbstractConfidentialityHandlerHandler responsible for checking of confidentiality is required for the requested resource and if so rejecting the request and redirecting to a secure address.classAbstractSecurityContextAssociationHandlerBase class responsible for associating theSecurityContextinstance with the current request.classAuthenticationCallHandlerThis is the finalHttpHandlerin 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.classAuthenticationConstraintHandlerHandler responsible for checking the constraints for the current request and marking authentication as required if applicable.classAuthenticationMechanismsHandlerAuthentication handler that adds one or more authentication mechanisms to the security contextclassCachedAuthenticatedSessionHandlerHttpHandlerresponsible for setting up theAuthenticatedSessionManagerfor cached authentications and registering aNotificationReceiverto receive the security notifications.classNotificationReceiverHandlerAHttpHandlerto register a list ofNotificationReceiverinstances with the currentSecurityContext.classSecurityInitialHandlerThe security handler responsible for attaching the SecurityContext to the currentHttpServerExchange.classSinglePortConfidentialityHandlerAn extension toAbstractConfidentialityHandlerthat 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 HttpHandlerAuthenticationMechanismsHandler. getNext()Methods in io.undertow.security.handlers with parameters of type HttpHandler Modifier and Type Method Description AuthenticationMechanismsHandlerAuthenticationMechanismsHandler. setNext(HttpHandler next) -
Uses of HttpHandler in io.undertow.server
Classes in io.undertow.server that implement HttpHandler Modifier and Type Class Description classJvmRouteHandlerHandler that appends the JVM route to the session id.classRoutingHandlerA 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 HttpHandlerAbstractServerConnection. rootHandlerMethods in io.undertow.server that return HttpHandler Modifier and Type Method Description HttpHandlerRoutingHandler. getFallbackHandler()HttpHandlerRoutingHandler. getInvalidMethodHandler()HttpHandlerAbstractServerConnection. getRootHandler()Get the root HTTP handler for this connection.HttpHandlerOpenListener. getRootHandler()HttpHandlerHandlerWrapper. wrap(HttpHandler handler)Methods in io.undertow.server with parameters of type HttpHandler Modifier and Type Method Description RoutingHandlerRoutingHandler. add(HttpString method, java.lang.String template, Predicate predicate, HttpHandler handler)RoutingHandlerRoutingHandler. add(HttpString method, java.lang.String template, HttpHandler handler)RoutingHandlerRoutingHandler. add(java.lang.String method, java.lang.String template, Predicate predicate, HttpHandler handler)RoutingHandlerRoutingHandler. add(java.lang.String method, java.lang.String template, HttpHandler handler)RoutingHandlerRoutingHandler. delete(java.lang.String template, Predicate predicate, HttpHandler handler)RoutingHandlerRoutingHandler. delete(java.lang.String template, HttpHandler handler)HttpServerExchangeHttpServerExchange. dispatch(HttpHandler handler)HttpServerExchangeHttpServerExchange. dispatch(java.util.concurrent.Executor executor, HttpHandler handler)static voidConnectors. executeRootHandler(HttpHandler handler, HttpServerExchange exchange)RoutingHandlerRoutingHandler. get(java.lang.String template, Predicate predicate, HttpHandler handler)RoutingHandlerRoutingHandler. get(java.lang.String template, HttpHandler handler)RoutingHandlerRoutingHandler. post(java.lang.String template, Predicate predicate, HttpHandler handler)RoutingHandlerRoutingHandler. post(java.lang.String template, HttpHandler handler)booleanServerConnection. pushResource(java.lang.String path, HttpString method, HeaderMap requestHeaders, HttpHandler handler)Attempts to push a resource if this connection supports server push.RoutingHandlerRoutingHandler. put(java.lang.String template, Predicate predicate, HttpHandler handler)RoutingHandlerRoutingHandler. put(java.lang.String template, HttpHandler handler)RoutingHandlerRoutingHandler. setFallbackHandler(HttpHandler fallbackHandler)RoutingHandlerRoutingHandler. setInvalidMethodHandler(HttpHandler invalidMethodHandler)Sets the handler called when this instance can not match the http method but can match another http method.voidOpenListener. setRootHandler(HttpHandler rootHandler)Sets the root handlerHttpHandlerHandlerWrapper. 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 classAccessControlListHandlerHandler 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?classActiveRequestTrackerHandlerThis handler will track all active requests.classAllowedMethodsHandlerHandler that whitelists certain HTTP methods.classAttachmentHandler<T>Handler that adds an attachment to the requestclassBlockingHandlerAHttpHandlerthat initiates a blocking request.classBlockingReadTimeoutHandlerBlockingReadTimeoutHandlerallows configurable blocking I/O timeouts for read operations within an exchange.classBlockingWriteTimeoutHandlerBlockingTimeoutHandler allows configurable blocking I/O timeouts for write operations within an exchange.classByteRangeHandlerHandler for Range requests.classCanonicalPathHandlerclassChannelUpgradeHandlerAn HTTP request handler which upgrades the HTTP request and hands it off as a socket to any XNIO consumer.classConfiguredPushHandlerHandler that pushes resources based on a provided URLclassConnectHandlerHandlers HTTP CONNECT requests, allowing the server to act as a forward proxy.classDateHandlerDeprecated.classDisableCacheHandlerHandler that disables response caching by browsers and proxies.classDisallowedMethodsHandlerHandler that blacklists certain HTTP methods.classExceptionHandlerHandler that dispatches to a given handler and allows mapping exceptions to be handled by additional handlers.classForwardedHandlerHandler that implements rfc7239 Forwarded headerclassGracefulShutdownHandlerHandler that allows for graceful server shutdown.classHttpContinueAcceptingHandlerHandler that provides support for HTTP/1.1 continue responses.classHttpContinueReadHandlerHandler for requests that require 100-continue responses.classHttpTraceHandlerA handler that handles HTTP trace requestsclassIPAddressAccessControlHandlerHandler that can accept or reject a request based on the IP address of the remote peer.classJDBCLogHandlerclassLearningPushHandlerHandler that builds up a cache of resources that a browsers requests, and uses server push to push them when supported.classLocalNameResolvingHandlerA handler that performs DNS lookup to resolve a local address.classMetricsHandlerHandler that records some metricsclassNameVirtualHostHandlerAHttpHandlerthat implements virtual hosts based on theHost:http header header.classOriginHandlerA handler for the HTTP Origin (RFC 6454) header.classPathHandlerHandler that dispatches to a given handler based of a prefix match of the path.classPathSeparatorHandlerA handler that translates non slash separator characters in the URL into a slash.classPathTemplateHandlerA handler that matches URI templatesclassPeerNameResolvingHandlerA handler that performs reverse DNS lookup to resolve a peer addressclassPredicateContextHandlerHandler that sets up the predicate contextclassPredicateHandlerclassProxyPeerAddressHandlerHandler that sets the peer address to the value of the X-Forwarded-For header.classRedirectHandlerA redirect handler that redirects to the specified location via a 302 redirect.classRequestBufferingHandlerHandler that will buffer all request dataclassRequestDumpingHandlerHandler that dumps a exchange to a log.classRequestLimitingHandlerA handler which limits the maximum number of concurrent requests.classResponseCodeHandlerA handler which simply sets a response code.classResponseRateLimitingHandlerHandler that limits the download rateclassSameSiteCookieHandlerHandler that will set the SameSite flag to response cookiesclassSecureCookieHandlerHandler that will set the secure flag on all cookies that are received over a secure connectionclassSetAttributeHandlerHandler that can set an arbitrary attribute on the exchange.classSetErrorHandlerA handler that sets response code but continues the exchange so the servlet's error page can be returned.classSetHeaderHandlerSet a fixed response header.classSSLHeaderHandlerHandler that sets SSL information on the connection based on the following headers:classStoredResponseHandlerA handler that buffers the full response and attaches it to the exchange.classStuckThreadDetectionHandlerThis valve allows to detect requests that take a long time to process, which might indicate that the thread that is processing it is stuck.classURLDecodingHandlerA 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 HttpHandlerBlockingReadTimeoutHandler.Builder. build()HttpHandlerBlockingWriteTimeoutHandler.Builder. build()HttpHandlerNameVirtualHostHandler. getDefaultHandler()HttpHandlerRequestLimit. getFailureHandler()HttpHandlerPredicateHandler. getFalseHandler()HttpHandlerBlockingHandler. getHandler()HttpHandlerAccessControlListHandler. getNext()HttpHandlerAttachmentHandler. getNext()HttpHandlerCanonicalPathHandler. getNext()HttpHandlerIPAddressAccessControlHandler. getNext()HttpHandlerOriginHandler. getNext()HttpHandlerChannelUpgradeHandler. getNonUpgradeHandler()Get the non-upgrade delegate handler.HttpHandlerOriginHandler. getOriginFailedHandler()HttpHandlerPredicateHandler. getTrueHandler()HttpHandlerByteRangeHandler.Wrapper. wrap(HttpHandler handler)HttpHandlerHttpContinueAcceptingHandler.Wrapper. wrap(HttpHandler handler)HttpHandlerRequestBufferingHandler.Wrapper. wrap(HttpHandler handler)HttpHandlerStuckThreadDetectionHandler.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 PathTemplateHandlerPathTemplateHandler. add(java.lang.String uriTemplate, HttpHandler handler)PathHandlerPathHandler. 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)NameVirtualHostHandlerNameVirtualHostHandler. addHost(java.lang.String host, HttpHandler handler)PathHandlerPathHandler. addPath(java.lang.String path, HttpHandler handler)Deprecated, for removal: This API element is subject to removal in a future version.PathHandlerPathHandler. addPrefixPath(java.lang.String path, HttpHandler handler)Adds a path prefix and a handler for that path.voidRequestLimit. handleRequest(HttpServerExchange exchange, HttpHandler next)BlockingReadTimeoutHandler.BuilderBlockingReadTimeoutHandler.Builder. nextHandler(HttpHandler nextHandler)BlockingWriteTimeoutHandler.BuilderBlockingWriteTimeoutHandler.Builder. nextHandler(HttpHandler nextHandler)NameVirtualHostHandlerNameVirtualHostHandler. setDefaultHandler(HttpHandler defaultHandler)voidRequestLimit. setFailureHandler(HttpHandler failureHandler)PredicateHandlerPredicateHandler. setFalseHandler(HttpHandler falseHandler)AccessControlListHandlerAccessControlListHandler. setNext(HttpHandler next)voidAttachmentHandler. setNext(HttpHandler next)CanonicalPathHandlerCanonicalPathHandler. setNext(HttpHandler next)IPAddressAccessControlHandlerIPAddressAccessControlHandler. setNext(HttpHandler next)OriginHandlerOriginHandler. setNext(HttpHandler next)ChannelUpgradeHandlerChannelUpgradeHandler. setNonUpgradeHandler(HttpHandler nonUpgradeHandler)Set the non-upgrade delegate handler.OriginHandlerOriginHandler. setOriginFailedHandler(HttpHandler originFailedHandler)BlockingHandlerBlockingHandler. setRootHandler(HttpHandler rootHandler)PredicateHandlerPredicateHandler. setTrueHandler(HttpHandler trueHandler)HttpHandlerByteRangeHandler.Wrapper. wrap(HttpHandler handler)HttpHandlerHttpContinueAcceptingHandler.Wrapper. wrap(HttpHandler handler)HttpHandlerRequestBufferingHandler.Wrapper. wrap(HttpHandler handler)HttpHandlerStuckThreadDetectionHandler.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 classAccessLogHandlerAccess 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 classCacheHandlerHandler 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 HttpHandlerCacheHandler. getNext()Methods in io.undertow.server.handlers.cache with parameters of type HttpHandler Modifier and Type Method Description CacheHandlerCacheHandler. 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 classEncodingHandlerHandler that serves as the basis for content encoding implementations.classRequestEncodingHandlerHandler that serves as the basis for request content encoding.Methods in io.undertow.server.handlers.encoding that return HttpHandler Modifier and Type Method Description HttpHandlerEncodingHandler. getNext()HttpHandlerRequestEncodingHandler. getNext()HttpHandlerEncodingHandler. getNoEncodingHandler()Methods in io.undertow.server.handlers.encoding with parameters of type HttpHandler Modifier and Type Method Description EncodingHandlerEncodingHandler. setNext(HttpHandler next)EncodingHandlerEncodingHandler. 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 classFileErrorPageHandlerHandler that serves up a file from disk to serve as an error page.classSimpleErrorPageHandlerHandler that generates an extremely simple no frills error pageMethods in io.undertow.server.handlers.error that return HttpHandler Modifier and Type Method Description HttpHandlerFileErrorPageHandler. getNext()HttpHandlerSimpleErrorPageHandler. getNext()Methods in io.undertow.server.handlers.error with parameters of type HttpHandler Modifier and Type Method Description FileErrorPageHandlerFileErrorPageHandler. setNext(HttpHandler next)SimpleErrorPageHandlerSimpleErrorPageHandler. 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 classEagerFormParsingHandlerHandler that eagerly parses form data.Methods in io.undertow.server.handlers.form that return HttpHandler Modifier and Type Method Description HttpHandlerEagerFormParsingHandler. getNext()Methods in io.undertow.server.handlers.form with parameters of type HttpHandler Modifier and Type Method Description voidFormDataParser. parse(HttpHandler next)Parse the form data asynchronously.EagerFormParsingHandlerEagerFormParsingHandler. 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 classProxyHandlerAn HTTP handler which proxies content to a remote server.Methods in io.undertow.server.handlers.proxy that return HttpHandler Modifier and Type Method Description HttpHandlerProxyHandler.Builder. getNext()Methods in io.undertow.server.handlers.proxy with parameters of type HttpHandler Modifier and Type Method Description ProxyHandler.BuilderProxyHandler.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 HttpHandlerMCMPConfig.Builder. create(ModCluster modCluster, HttpHandler next)HttpHandlerMCMPConfig. create(ModCluster modCluster, HttpHandler next)HttpHandlerModCluster. createProxyHandler()Get the handler proxying the requests.HttpHandlerModCluster. createProxyHandler(HttpHandler next)Get the handler proxying the requests.HttpHandlerModCluster. getProxyHandler()Deprecated.Methods in io.undertow.server.handlers.proxy.mod_cluster with parameters of type HttpHandler Modifier and Type Method Description HttpHandlerMCMPConfig.Builder. create(ModCluster modCluster, HttpHandler next)HttpHandlerMCMPConfig. create(ModCluster modCluster, HttpHandler next)HttpHandlerModCluster. 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 classResourceHandlerConstructors 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 classServerSentEventHandler -
Uses of HttpHandler in io.undertow.server.protocol.ajp
Methods in io.undertow.server.protocol.ajp that return HttpHandler Modifier and Type Method Description HttpHandlerAjpOpenListener. getRootHandler()Methods in io.undertow.server.protocol.ajp with parameters of type HttpHandler Modifier and Type Method Description voidAjpOpenListener. 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 HttpHandlerAlpnOpenListener. getRootHandler()HttpHandlerHttpOpenListener. getRootHandler()Methods in io.undertow.server.protocol.http with parameters of type HttpHandler Modifier and Type Method Description voidAlpnOpenListener. setRootHandler(HttpHandler rootHandler)voidHttpOpenListener. 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 classHttp2UpgradeHandlerUpgrade 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 HttpHandlerHttp2OpenListener. getRootHandler()Methods in io.undertow.server.protocol.http2 with parameters of type HttpHandler Modifier and Type Method Description booleanHttp2ServerConnection. pushResource(java.lang.String path, HttpString method, HeaderMap requestHeaders, HttpHandler handler)voidHttp2OpenListener. 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 classSessionAttachmentHandlerHandler that attaches the session to the request.Methods in io.undertow.server.session that return HttpHandler Modifier and Type Method Description HttpHandlerSessionAttachmentHandler. getNext()Methods in io.undertow.server.session with parameters of type HttpHandler Modifier and Type Method Description SessionAttachmentHandlerSessionAttachmentHandler. 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 HttpHandlerChainedHandlerWrapper. wrap(HttpHandler handler)Methods in io.undertow.util with parameters of type HttpHandler Modifier and Type Method Description HttpHandlerChainedHandlerWrapper. wrap(HttpHandler handler) -
Uses of HttpHandler in io.undertow.websockets
Classes in io.undertow.websockets that implement HttpHandler Modifier and Type Class Description classWebSocketProtocolHandshakeHandlerHttpHandlerwhich will process theHttpServerExchangeand 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 newWebSocketProtocolHandshakeHandlerWebSocketProtocolHandshakeHandler(WebSocketConnectionCallback callback, HttpHandler next)Create a newWebSocketProtocolHandshakeHandlerWebSocketProtocolHandshakeHandler(java.util.Collection<Handshake> handshakes, HttpUpgradeListener callback, HttpHandler next)Create a newWebSocketProtocolHandshakeHandlerWebSocketProtocolHandshakeHandler(java.util.Collection<Handshake> handshakes, WebSocketConnectionCallback callback, HttpHandler next)Create a newWebSocketProtocolHandshakeHandler
-