Uses of Class
io.undertow.server.HttpServerExchange
-
-
Uses of HttpServerExchange in io.undertow
Methods in io.undertow with parameters of type HttpServerExchange Modifier and Type Method Description voidUndertowLogger_$logger. authenticationFailedFor(java.lang.String header, HttpServerExchange exchange, java.lang.Exception e)voidUndertowLogger. authenticationFailedFor(java.lang.String header, HttpServerExchange exchange, java.lang.Exception e)voidUndertowLogger_$logger. cannotProxyStartedRequest(HttpServerExchange exchange)voidUndertowLogger. cannotProxyStartedRequest(HttpServerExchange exchange)voidUndertowLogger_$logger. failedToNegotiateAtGSSAPI(HttpServerExchange exchange, java.lang.Throwable e)voidUndertowLogger. failedToNegotiateAtGSSAPI(HttpServerExchange exchange, java.lang.Throwable e)voidUndertowLogger_$logger. failedToObtainSubject(HttpServerExchange exchange, java.security.GeneralSecurityException e)voidUndertowLogger. failedToObtainSubject(HttpServerExchange exchange, java.security.GeneralSecurityException e)voidUndertowLogger_$logger. responseWasNotTerminated(ServerConnection connection, HttpServerExchange exchange)voidUndertowLogger. responseWasNotTerminated(ServerConnection connection, HttpServerExchange exchange)voidUndertowLogger_$logger. undertowRequestFailed(java.lang.Throwable t, HttpServerExchange exchange)voidUndertowLogger. undertowRequestFailed(java.lang.Throwable t, HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.attribute
Methods in io.undertow.attribute with parameters of type HttpServerExchange Modifier and Type Method Description java.lang.StringAuthenticationTypeExchangeAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringBytesSentAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringCompositeExchangeAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringConstantExchangeAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringCookieAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringDateTimeAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringExchangeAttribute. readAttribute(HttpServerExchange exchange)Resolve the attribute from the HTTP server exchange.java.lang.StringHostAndPortAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringIdentUsernameAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringLocalIPAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringLocalPortAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringLocalServerNameAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringNullAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringPathParameterAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringPredicateContextAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringQueryParameterAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringQueryStringAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringQuotingExchangeAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRelativePathAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRemoteHostAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRemoteIPAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRemoteObfuscatedIPAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRemoteUserAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRequestCookieAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRequestHeaderAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRequestLineAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRequestMethodAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRequestPathAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRequestProtocolAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRequestSchemeAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringRequestURLAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringResolvedPathAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringResponseCodeAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringResponseCookieAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringResponseHeaderAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringResponseReasonPhraseAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringResponseTimeAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringSecureExchangeAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringSslCipherAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringSslClientCertAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringSslSessionIdAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringStoredResponse. readAttribute(HttpServerExchange exchange)java.lang.StringSubstituteEmptyWrapper.SubstituteEmptyAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringThreadNameAttribute. readAttribute(HttpServerExchange exchange)java.lang.StringTransportProtocolAttribute. readAttribute(HttpServerExchange exchange)Deprecated.static java.lang.StringExchangeAttributes. resolve(HttpServerExchange exchange, ExchangeAttribute[] attributes)voidAuthenticationTypeExchangeAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidBytesSentAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidCompositeExchangeAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidConstantExchangeAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidCookieAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidDateTimeAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidExchangeAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)Sets a new value for the attribute.voidHostAndPortAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidIdentUsernameAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidLocalIPAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidLocalPortAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidLocalServerNameAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidNullAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidPathParameterAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidPredicateContextAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidQueryParameterAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidQueryStringAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidQuotingExchangeAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRelativePathAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRemoteHostAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRemoteIPAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRemoteObfuscatedIPAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRemoteUserAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRequestCookieAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRequestHeaderAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRequestLineAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRequestMethodAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRequestPathAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRequestProtocolAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRequestSchemeAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidRequestURLAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidResolvedPathAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidResponseCodeAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidResponseCookieAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidResponseHeaderAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidResponseReasonPhraseAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidResponseTimeAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidSecureExchangeAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidSslCipherAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidSslClientCertAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidSslSessionIdAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidStoredResponse. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidSubstituteEmptyWrapper.SubstituteEmptyAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidThreadNameAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)voidTransportProtocolAttribute. writeAttribute(HttpServerExchange exchange, java.lang.String newValue)Deprecated. -
Uses of HttpServerExchange in io.undertow.conduits
Constructors in io.undertow.conduits with parameters of type HttpServerExchange Constructor Description ChunkedStreamSourceConduit(org.xnio.conduits.StreamSourceConduit next, io.undertow.conduits.ChunkedStreamSourceConduit.BufferWrapper bufferWrapper, ConduitListener<? super ChunkedStreamSourceConduit> finishListener, Attachable attachable, HttpServerExchange exchange, java.io.Closeable closeable, org.xnio.conduits.PushBackStreamSourceConduit channel)ChunkedStreamSourceConduit(org.xnio.conduits.StreamSourceConduit next, HttpServerExchange exchange, ConduitListener<? super ChunkedStreamSourceConduit> finishListener)DeflatingStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange)DeflatingStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange, int deflateLevel)DeflatingStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange, ObjectPool<java.util.zip.Deflater> deflaterPool)FixedLengthStreamSourceConduit(org.xnio.conduits.StreamSourceConduit next, long contentLength, ConduitListener<? super FixedLengthStreamSourceConduit> finishListener, HttpServerExchange exchange)Construct a new instance.GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange)GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange, int deflateLevel)GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange, ObjectPool deflaterPool)GzipStreamSourceConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSourceConduit next)GzipStreamSourceConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSourceConduit next, ObjectPool<java.util.zip.Inflater> inflaterPool)InflatingStreamSourceConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSourceConduit next)InflatingStreamSourceConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSourceConduit next, ObjectPool<java.util.zip.Inflater> inflaterPool)StoredResponseStreamSinkConduit(org.xnio.conduits.StreamSinkConduit next, HttpServerExchange exchange)Construct a new instance. -
Uses of HttpServerExchange in io.undertow.io
Methods in io.undertow.io with parameters of type HttpServerExchange Modifier and Type Method Description voidReceiver.ErrorCallback. error(HttpServerExchange exchange, java.io.IOException e)voidReceiver.FullBytesCallback. handle(HttpServerExchange exchange, byte[] message)voidReceiver.FullStringCallback. handle(HttpServerExchange exchange, java.lang.String message)voidReceiver.PartialBytesCallback. handle(HttpServerExchange exchange, byte[] message, boolean last)voidReceiver.PartialStringCallback. handle(HttpServerExchange exchange, java.lang.String message, boolean last)voidDefaultIoCallback. onComplete(HttpServerExchange exchange, Sender sender)voidIoCallback. onComplete(HttpServerExchange exchange, Sender sender)voidDefaultIoCallback. onException(HttpServerExchange exchange, Sender sender, java.io.IOException exception)voidIoCallback. onException(HttpServerExchange exchange, Sender sender, java.io.IOException exception)Constructors in io.undertow.io with parameters of type HttpServerExchange Constructor Description AsyncReceiverImpl(HttpServerExchange exchange)AsyncSenderImpl(HttpServerExchange exchange)BlockingReceiverImpl(HttpServerExchange exchange, java.io.InputStream inputStream)BlockingSenderImpl(HttpServerExchange exchange, java.io.OutputStream outputStream)UndertowInputStream(HttpServerExchange exchange)UndertowOutputStream(HttpServerExchange exchange)Construct a new instance. -
Uses of HttpServerExchange in io.undertow.predicate
Methods in io.undertow.predicate with parameters of type HttpServerExchange Modifier and Type Method Description voidPredicatesHandler. handleRequest(HttpServerExchange exchange)booleanAuthenticationRequiredPredicate. resolve(HttpServerExchange value)booleanContainsPredicate. resolve(HttpServerExchange value)booleanEqualsPredicate. resolve(HttpServerExchange value)booleanExistsPredicate. resolve(HttpServerExchange value)booleanFalsePredicate. resolve(HttpServerExchange value)booleanIdempotentPredicate. resolve(HttpServerExchange value)booleanMaxContentSizePredicate. resolve(HttpServerExchange value)Deprecated.booleanMethodPredicate. resolve(HttpServerExchange value)booleanMinContentSizePredicate. resolve(HttpServerExchange value)Deprecated.booleanNotPredicate. resolve(HttpServerExchange value)booleanPathMatchPredicate. resolve(HttpServerExchange value)booleanPathPrefixPredicate. resolve(HttpServerExchange value)booleanPathSuffixPredicate. resolve(HttpServerExchange value)booleanPathTemplatePredicate. resolve(HttpServerExchange exchange)booleanPredicate. resolve(HttpServerExchange value)booleanRegularExpressionPredicate. resolve(HttpServerExchange value)booleanRequestLargerThanPredicate. resolve(HttpServerExchange exchange)booleanRequestSmallerThanPredicate. resolve(HttpServerExchange exchange)booleanSecurePredicate. resolve(HttpServerExchange value)booleanTruePredicate. resolve(HttpServerExchange value) -
Uses of HttpServerExchange in io.undertow.security.api
Methods in io.undertow.security.api that return HttpServerExchange Modifier and Type Method Description HttpServerExchangeSecurityNotification. getExchange()Methods in io.undertow.security.api with parameters of type HttpServerExchange Modifier and Type Method Description AuthenticationMechanism.AuthenticationMechanismOutcomeAuthenticationMechanism. authenticate(HttpServerExchange exchange, SecurityContext securityContext)Perform authentication of the request.voidAuthenticatedSessionManager. clearSession(HttpServerExchange exchange)SecurityContextSecurityContextFactory. createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, java.lang.String programmaticMechName)Deprecated, for removal: This API element is subject to removal in a future version.Instantiates and returns aSecurityContextusing the specified parameters.AuthenticatedSessionManager.AuthenticatedSessionAuthenticatedSessionManager. lookupSession(HttpServerExchange exchange)java.lang.StringNonceManager. nextNonce(java.lang.String lastNonce, HttpServerExchange exchange)Select the next nonce to be sent from the server taking into account the last valid nonce.AuthenticationMechanism.ChallengeResultAuthenticationMechanism. sendChallenge(HttpServerExchange exchange, SecurityContext securityContext)Send an authentication challenge to the remote client.booleanNonceManager. validateNonce(java.lang.String nonce, int nonceCount, HttpServerExchange exchange)Validate that a nonce can be used.Constructors in io.undertow.security.api with parameters of type HttpServerExchange Constructor Description SecurityNotification(HttpServerExchange exchange, SecurityNotification.EventType eventType, Account account, java.lang.String mechanism, boolean programatic, java.lang.String message, boolean cachingRequired) -
Uses of HttpServerExchange in io.undertow.security.handlers
Methods in io.undertow.security.handlers with parameters of type HttpServerExchange Modifier and Type Method Description protected booleanAbstractConfidentialityHandler. confidentialityRequired(HttpServerExchange exchange)Use the HttpServerExchange to identify if confidentiality is required.abstract SecurityContextAbstractSecurityContextAssociationHandler. createSecurityContext(HttpServerExchange exchange)SecurityContextSecurityInitialHandler. createSecurityContext(HttpServerExchange exchange)protected abstract java.net.URIAbstractConfidentialityHandler. getRedirectURI(HttpServerExchange exchange)All sub-classes are required to provide an implementation of this method, using the HttpServerExchange for the current request return the address to use for a redirect should confidentiality be required and the request not be confidential.protected java.net.URISinglePortConfidentialityHandler. getRedirectURI(HttpServerExchange exchange)protected java.net.URISinglePortConfidentialityHandler. getRedirectURI(HttpServerExchange exchange, int port)voidAbstractConfidentialityHandler. handleRequest(HttpServerExchange exchange)voidAbstractSecurityContextAssociationHandler. handleRequest(HttpServerExchange exchange)voidAuthenticationCallHandler. handleRequest(HttpServerExchange exchange)Only allow the request through if successfully authenticated or if authentication is not required.voidAuthenticationConstraintHandler. handleRequest(HttpServerExchange exchange)voidAuthenticationMechanismsHandler. handleRequest(HttpServerExchange exchange)voidCachedAuthenticatedSessionHandler. handleRequest(HttpServerExchange exchange)voidNotificationReceiverHandler. handleRequest(HttpServerExchange exchange)protected booleanAuthenticationConstraintHandler. isAuthenticationRequired(HttpServerExchange exchange)Evaluate the current request and indicate if authentication is required for the current request.protected booleanAbstractConfidentialityHandler. isConfidential(HttpServerExchange exchange)Use the HttpServerExchange supplied to check if this request is already 'sufficiently' confidential. -
Uses of HttpServerExchange in io.undertow.security.impl
Fields in io.undertow.security.impl declared as HttpServerExchange Modifier and Type Field Description protected HttpServerExchangeAbstractSecurityContext. exchangeConstructors in io.undertow.security.impl with parameters of type HttpServerExchange Constructor Description AbstractSecurityContext(HttpServerExchange exchange)SecurityContextImpl(HttpServerExchange exchange, AuthenticationMode authenticationMode, IdentityManager identityManager)SecurityContextImpl(HttpServerExchange exchange, IdentityManager identityManager) -
Uses of HttpServerExchange in io.undertow.server
Fields in io.undertow.server declared as HttpServerExchange Modifier and Type Field Description protected HttpServerExchangeAbstractServerConnection. currentMethods in io.undertow.server that return HttpServerExchange Modifier and Type Method Description HttpServerExchangeHttpServerExchange. acceptConnectRequest(HttpUpgradeListener connectListener)HttpServerExchangeHttpServerExchange. addDefaultResponseListener(DefaultResponseListener listener)HttpServerExchangeHttpServerExchange. addExchangeCompleteListener(ExchangeCompletionListener listener)HttpServerExchangeHttpServerExchange. addPathParam(java.lang.String name, java.lang.String param)HttpServerExchangeHttpServerExchange. addQueryParam(java.lang.String name, java.lang.String param)HttpServerExchangeHttpServerExchange. addRequestWrapper(ConduitWrapper<org.xnio.conduits.StreamSourceConduit> wrapper)Adds aConduitWrapperto the request wrapper chain.HttpServerExchangeHttpServerExchange. addResponseWrapper(ConduitWrapper<org.xnio.conduits.StreamSinkConduit> wrapper)Adds aConduitWrapperto the response wrapper chain.HttpServerExchangeHttpServerExchange. dispatch()Deprecated.HttpServerExchangeHttpServerExchange. dispatch(HttpHandler handler)HttpServerExchangeHttpServerExchange. dispatch(java.lang.Runnable runnable)Dispatches this request to the XNIO worker thread pool.HttpServerExchangeHttpServerExchange. dispatch(java.util.concurrent.Executor executor, HttpHandler handler)HttpServerExchangeHttpServerExchange. dispatch(java.util.concurrent.Executor executor, java.lang.Runnable runnable)Dispatches this request to the given executor.HttpServerExchangeHttpServerExchange. endExchange()Ends the exchange by fully draining the request channel, and flushing the response channel.abstract HttpServerExchangeServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)Sends an out of band response, such as a HTTP 100-continue response.HttpServerExchangeHttpServerExchange. setDestinationAddress(java.net.InetSocketAddress destinationAddress)Sets the destination address of the HTTP request.HttpServerExchangeHttpServerExchange. setDispatchExecutor(java.util.concurrent.Executor executor)Sets the executor that is used for dispatch operations where no executor is specified.HttpServerExchangeHttpServerExchange. setMaxEntitySize(long maxEntitySize)Sets the max entity size for this exchange.HttpServerExchangeHttpServerExchange. setPersistent(boolean persistent)HttpServerExchangeHttpServerExchange. setProtocol(HttpString protocol)Sets the http protocolHttpServerExchangeHttpServerExchange. setQueryString(java.lang.String queryString)Set query string.HttpServerExchangeHttpServerExchange. setReasonPhrase(java.lang.String message)Sets the HTTP reason phrase.HttpServerExchangeHttpServerExchange. setRelativePath(java.lang.String relativePath)Set the request relative path.HttpServerExchangeHttpServerExchange. setRequestCookie(Cookie cookie)Sets a request cookieHttpServerExchangeHttpServerExchange. setRequestMethod(HttpString requestMethod)Set the HTTP request method.HttpServerExchangeHttpServerExchange. setRequestPath(java.lang.String requestPath)Set the request URI path.HttpServerExchangeHttpServerExchange. setRequestScheme(java.lang.String requestScheme)Set the request URI scheme.HttpServerExchangeHttpServerExchange. setRequestURI(java.lang.String requestURI)Sets the request URIHttpServerExchangeHttpServerExchange. setRequestURI(java.lang.String requestURI, boolean containsHost)Sets the request URIHttpServerExchangeHttpServerExchange. setResolvedPath(java.lang.String resolvedPath)Set the resolved path.HttpServerExchangeHttpServerExchange. setResponseCode(int statusCode)Deprecated.HttpServerExchangeHttpServerExchange. setResponseContentLength(long length)Sets the response content lengthHttpServerExchangeHttpServerExchange. setResponseCookie(Cookie cookie)Sets a response cookieHttpServerExchangeHttpServerExchange. setSourceAddress(java.net.InetSocketAddress sourceAddress)Sets the source address of the HTTP request.HttpServerExchangeHttpServerExchange. setStatusCode(int statusCode)Change the status code for this response.HttpServerExchangeHttpServerExchange. unDispatch()HttpServerExchangeHttpServerExchange. upgradeChannel(HttpUpgradeListener listener)Upgrade the channel to a raw socket.HttpServerExchangeHttpServerExchange. upgradeChannel(java.lang.String productName, HttpUpgradeListener listener)Upgrade the channel to a raw socket.Methods in io.undertow.server with parameters of type HttpServerExchange Modifier and Type Method Description static voidConnectors. addCookie(HttpServerExchange exchange, Cookie cookie)Adds the cookie into the response header map.voidResponseCommitListener. beforeCommit(HttpServerExchange exchange)Invoked before the first bytes of the response are sent to the clientvoidSecureCookieCommitListener. beforeCommit(HttpServerExchange exchange)protected abstract voidServerConnection. exchangeComplete(HttpServerExchange exchange)Invoked when the exchange is complete.voidExchangeCompletionListener. exchangeEvent(HttpServerExchange exchange, ExchangeCompletionListener.NextListener nextListener)static voidConnectors. executeRootHandler(HttpHandler handler, HttpServerExchange exchange)static voidConnectors. flattenCookies(HttpServerExchange exchange)Flattens the exchange cookie map into the response header map.static org.xnio.conduits.ConduitStreamSinkChannelConnectors. getConduitSinkChannel(HttpServerExchange exchange)static org.xnio.channels.StreamSourceChannelConnectors. getExistingRequestChannel(HttpServerExchange exchange)Returns the existing request channel, if it exists.protected abstract org.xnio.conduits.StreamSinkConduitServerConnection. getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit)Gets the sink conduit that should be used for this request.booleanDefaultResponseListener. handleDefaultResponse(HttpServerExchange exchange)voidHttpHandler. handleRequest(HttpServerExchange exchange)Handle the request.voidJvmRouteHandler. handleRequest(HttpServerExchange exchange)voidRoutingHandler. handleRequest(HttpServerExchange exchange)voidHttpUpgradeListener. handleUpgrade(org.xnio.StreamConnection streamConnection, HttpServerExchange exchange)Method that is called once the upgrade is complete.static booleanConnectors. isEntityBodyAllowed(HttpServerExchange exchange)protected voidAbstractServerConnection. maxEntitySizeUpdated(HttpServerExchange exchange)protected abstract voidServerConnection. maxEntitySizeUpdated(HttpServerExchange exchange)Callback that is invoked if the max entity size is updated.voidBasicSSLSessionInfo. renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode)voidConnectionSSLSessionInfo. renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode)voidSSLSessionInfo. renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode)Renegotiate in a blocking manner.voidConnectionSSLSessionInfo. renegotiateBufferRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode)voidConnectionSSLSessionInfo. renegotiateNoRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode)static voidConnectors. resetRequestChannel(HttpServerExchange exchange)abstract HttpServerExchangeServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)Sends an out of band response, such as a HTTP 100-continue response.static voidConnectors. setExchangeRequestPath(HttpServerExchange exchange, java.lang.String encodedPath, java.lang.StringBuilder decodeBuffer)Sets the request path and query parameters, decoding to the requested charset.static voidConnectors. setExchangeRequestPath(HttpServerExchange exchange, java.lang.String encodedPath, java.lang.String charset, boolean decode, boolean decodeQueryString, boolean decodeSlashFlag, java.lang.StringBuilder decodeBuffer, int maxParameters)Sets the request path and query parameters, decoding to the requested charset.static voidConnectors. setExchangeRequestPath(HttpServerExchange exchange, java.lang.String encodedPath, java.lang.String charset, boolean decode, boolean allowEncodedSlash, java.lang.StringBuilder decodeBuffer)Deprecated.static voidConnectors. setExchangeRequestPath(HttpServerExchange exchange, java.lang.String encodedPath, java.lang.String charset, boolean decode, boolean decodeSlashFlag, java.lang.StringBuilder decodeBuffer, int maxParameters)Sets the request path and query parameters, decoding to the requested charset.static voidConnectors. setRequestStartTime(HttpServerExchange exchange)static voidConnectors. setRequestStartTime(HttpServerExchange existing, HttpServerExchange newExchange)voidConnectorStatisticsImpl. setup(HttpServerExchange exchange)static voidConnectors. terminateRequest(HttpServerExchange exchange)abstract voidServerConnection. terminateRequestChannel(HttpServerExchange exchange)Invoked when the exchange is complete, and there is still data in the request channel.static voidConnectors. terminateResponse(HttpServerExchange exchange)static voidConnectors. ungetRequestBytes(HttpServerExchange exchange, PooledByteBuffer... buffers)Attached buffered data to the exchange.static voidConnectors. updateResponseBytesSent(HttpServerExchange exchange, long bytes)TConduitWrapper. wrap(ConduitFactory<T> factory, HttpServerExchange exchange)Wrap the conduit.Constructors in io.undertow.server with parameters of type HttpServerExchange Constructor Description RequestStatistics(HttpServerExchange exchange)WrapperConduitFactory(ConduitWrapper<T>[] wrappers, int wrapperCount, T first, HttpServerExchange exchange)WrapperStreamSinkConduitFactory(ConduitWrapper<org.xnio.conduits.StreamSinkConduit>[] wrappers, int wrapperCount, HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit first) -
Uses of HttpServerExchange in io.undertow.server.handlers
Methods in io.undertow.server.handlers with parameters of type HttpServerExchange Modifier and Type Method Description protected SessionLearningPushHandler. getSession(HttpServerExchange exchange)voidAccessControlListHandler. handleRequest(HttpServerExchange exchange)voidActiveRequestTrackerHandler. handleRequest(HttpServerExchange exchange)voidAllowedMethodsHandler. handleRequest(HttpServerExchange exchange)voidAttachmentHandler. handleRequest(HttpServerExchange exchange)voidBlockingHandler. handleRequest(HttpServerExchange exchange)voidBlockingReadTimeoutHandler. handleRequest(HttpServerExchange exchange)voidBlockingWriteTimeoutHandler. handleRequest(HttpServerExchange exchange)voidByteRangeHandler. handleRequest(HttpServerExchange exchange)voidCanonicalPathHandler. handleRequest(HttpServerExchange exchange)voidChannelUpgradeHandler. handleRequest(HttpServerExchange exchange)voidConfiguredPushHandler. handleRequest(HttpServerExchange exchange)voidConnectHandler. handleRequest(HttpServerExchange exchange)voidDateHandler. handleRequest(HttpServerExchange exchange)Deprecated.voidDisableCacheHandler. handleRequest(HttpServerExchange exchange)voidDisallowedMethodsHandler. handleRequest(HttpServerExchange exchange)voidExceptionHandler. handleRequest(HttpServerExchange exchange)voidForwardedHandler. handleRequest(HttpServerExchange exchange)voidGracefulShutdownHandler. handleRequest(HttpServerExchange exchange)voidHttpContinueAcceptingHandler. handleRequest(HttpServerExchange exchange)voidHttpContinueReadHandler. handleRequest(HttpServerExchange exchange)voidHttpTraceHandler. handleRequest(HttpServerExchange exchange)voidIPAddressAccessControlHandler. handleRequest(HttpServerExchange exchange)voidJDBCLogHandler. handleRequest(HttpServerExchange exchange)voidLearningPushHandler. handleRequest(HttpServerExchange exchange)voidLocalNameResolvingHandler. handleRequest(HttpServerExchange exchange)voidMetricsHandler. handleRequest(HttpServerExchange exchange)voidNameVirtualHostHandler. handleRequest(HttpServerExchange exchange)voidOriginHandler. handleRequest(HttpServerExchange exchange)voidPathHandler. handleRequest(HttpServerExchange exchange)voidPathSeparatorHandler. handleRequest(HttpServerExchange exchange)voidPathTemplateHandler. handleRequest(HttpServerExchange exchange)voidPeerNameResolvingHandler. handleRequest(HttpServerExchange exchange)voidPredicateContextHandler. handleRequest(HttpServerExchange exchange)voidPredicateHandler. handleRequest(HttpServerExchange exchange)voidProxyPeerAddressHandler. handleRequest(HttpServerExchange exchange)voidRedirectHandler. handleRequest(HttpServerExchange exchange)voidRequestBufferingHandler. handleRequest(HttpServerExchange exchange)voidRequestDumpingHandler. handleRequest(HttpServerExchange exchange)voidRequestLimit. handleRequest(HttpServerExchange exchange, HttpHandler next)voidRequestLimitingHandler. handleRequest(HttpServerExchange exchange)voidResponseCodeHandler. handleRequest(HttpServerExchange exchange)voidResponseRateLimitingHandler. handleRequest(HttpServerExchange exchange)voidSameSiteCookieHandler. handleRequest(HttpServerExchange exchange)voidSecureCookieHandler. handleRequest(HttpServerExchange exchange)voidSetAttributeHandler. handleRequest(HttpServerExchange exchange)voidSetErrorHandler. handleRequest(HttpServerExchange exchange)voidSetHeaderHandler. handleRequest(HttpServerExchange exchange)voidSSLHeaderHandler. handleRequest(HttpServerExchange exchange)voidStoredResponseHandler. handleRequest(HttpServerExchange exchange)voidStuckThreadDetectionHandler. handleRequest(HttpServerExchange exchange)Handle the request.voidURLDecodingHandler. handleRequest(HttpServerExchange exchange)booleanHttpUpgradeHandshake. handleUpgrade(HttpServerExchange exchange)Validates an upgrade request and returns any extra headers that should be added to the response.voidJDBCLogHandler. logMessage(java.lang.String pattern, HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.accesslog
Methods in io.undertow.server.handlers.accesslog with parameters of type HttpServerExchange Modifier and Type Method Description voidAccessLogHandler. handleRequest(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.cache
Methods in io.undertow.server.handlers.cache with parameters of type HttpServerExchange Modifier and Type Method Description voidCacheHandler. handleRequest(HttpServerExchange exchange)Constructors in io.undertow.server.handlers.cache with parameters of type HttpServerExchange Constructor Description CachedHttpRequest(HttpServerExchange exchange)ResponseCache(DirectBufferCache cache, HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.encoding
Methods in io.undertow.server.handlers.encoding with parameters of type HttpServerExchange Modifier and Type Method Description AllowedContentEncodingsContentEncodingRepository. getContentEncodings(HttpServerExchange exchange)ContentEncodedResourceContentEncodedResourceManager. getResource(Resource resource, HttpServerExchange exchange)Gets a pre-encoded resource.voidEncodingHandler. handleRequest(HttpServerExchange exchange)voidRequestEncodingHandler. handleRequest(HttpServerExchange exchange)org.xnio.conduits.StreamSinkConduitAllowedContentEncodings. wrap(ConduitFactory<org.xnio.conduits.StreamSinkConduit> factory, HttpServerExchange exchange)Constructors in io.undertow.server.handlers.encoding with parameters of type HttpServerExchange Constructor Description AllowedContentEncodings(HttpServerExchange exchange, java.util.List<io.undertow.server.handlers.encoding.EncodingMapping> encodings) -
Uses of HttpServerExchange in io.undertow.server.handlers.error
Methods in io.undertow.server.handlers.error with parameters of type HttpServerExchange Modifier and Type Method Description voidFileErrorPageHandler. handleRequest(HttpServerExchange exchange)voidSimpleErrorPageHandler. handleRequest(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.form
Methods in io.undertow.server.handlers.form with parameters of type HttpServerExchange Modifier and Type Method Description FormDataParserFormEncodedDataDefinition. create(HttpServerExchange exchange)FormDataParserFormParserFactory.ParserDefinition. create(HttpServerExchange exchange)FormDataParserMultiPartParserDefinition. create(HttpServerExchange exchange)FormDataParserFormParserFactory. createParser(HttpServerExchange exchange)Creates a form data parser for this request.voidEagerFormParsingHandler. handleRequest(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.proxy
Methods in io.undertow.server.handlers.proxy with parameters of type HttpServerExchange Modifier and Type Method Description voidProxyCallback. completed(HttpServerExchange exchange, T result)voidProxyConnectionPool. connect(ProxyClient.ProxyTarget proxyTarget, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, java.util.concurrent.TimeUnit timeUnit, boolean exclusive)voidProxyCallback. couldNotResolveBackend(HttpServerExchange exchange)Callback if no backend server could be found.voidProxyCallback. failed(HttpServerExchange exchange)Callback if establishing the connection to a backend server fails.ProxyClient.ProxyTargetLoadBalancingProxyClient. findTarget(HttpServerExchange exchange)ProxyClient.ProxyTargetProxyClient. findTarget(HttpServerExchange exchange)Finds a proxy target for this request, returning null if none can be found.ProxyClient.ProxyTargetSimpleProxyClientProvider. findTarget(HttpServerExchange exchange)Deprecated.voidLoadBalancingProxyClient. getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, java.util.concurrent.TimeUnit timeUnit)voidProxyClient. getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, java.util.concurrent.TimeUnit timeUnit)Gets a proxy connection for the given request.voidSimpleProxyClientProvider. getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, java.util.concurrent.TimeUnit timeUnit)Deprecated.voidProxyHandler. handleRequest(HttpServerExchange exchange)booleanExclusivityChecker. isExclusivityRequired(HttpServerExchange exchange)protected java.util.Iterator<java.lang.CharSequence>LoadBalancingProxyClient. parseRoutes(HttpServerExchange exchange)voidProxyCallback. queuedRequestFailed(HttpServerExchange exchange)This is invoked when the target connection pool transitions to problem status.protected LoadBalancingProxyClient.HostLoadBalancingProxyClient. selectHost(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.proxy.mod_cluster
Methods in io.undertow.server.handlers.proxy.mod_cluster with parameters of type HttpServerExchange Modifier and Type Method Description io.undertow.server.handlers.proxy.mod_cluster.ContextModClusterProxyTarget.BasicTarget. resolveContext(HttpServerExchange exchange)io.undertow.server.handlers.proxy.mod_cluster.ContextModClusterProxyTarget.ExistingSessionTarget. resolveContext(HttpServerExchange exchange)io.undertow.server.handlers.proxy.mod_cluster.ContextModClusterProxyTarget. resolveContext(HttpServerExchange exchange)Resolve the responsible context handling this request. -
Uses of HttpServerExchange in io.undertow.server.handlers.resource
Methods in io.undertow.server.handlers.resource with parameters of type HttpServerExchange Modifier and Type Method Description ResourceDefaultResourceSupplier. getResource(HttpServerExchange exchange, java.lang.String path)ResourcePreCompressedResourceSupplier. getResource(HttpServerExchange exchange, java.lang.String path)ResourceResourceSupplier. getResource(HttpServerExchange exchange, java.lang.String path)voidResourceHandler. handleRequest(HttpServerExchange exchange)static voidDirectoryUtils. renderDirectoryListing(HttpServerExchange exchange, Resource resource)static java.lang.StringBuilderDirectoryUtils. renderDirectoryListing(HttpServerExchange exchange, java.lang.String path, Resource resource)static booleanDirectoryUtils. sendRequestedBlobs(HttpServerExchange exchange)Serve static resource for the directory listingvoidCachedResource. serve(Sender sender, HttpServerExchange exchange, IoCallback completionCallback)voidPathResource. serve(Sender sender, HttpServerExchange exchange, IoCallback callback)voidResource. serve(Sender sender, HttpServerExchange exchange, IoCallback completionCallback)Serve the resource, and call the provided callback when complete.voidURLResource. serve(Sender sender, HttpServerExchange exchange, IoCallback completionCallback)voidURLResource. serveImpl(Sender sender, HttpServerExchange exchange, long start, long end, boolean range, IoCallback completionCallback)voidCachedResource. serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback)voidPathResource. serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback callback)voidRangeAwareResource. serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback)Serve the resource, and call the provided callback when complete.voidURLResource. serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback) -
Uses of HttpServerExchange in io.undertow.server.handlers.sse
Methods in io.undertow.server.handlers.sse with parameters of type HttpServerExchange Modifier and Type Method Description voidServerSentEventHandler. handleRequest(HttpServerExchange exchange)Constructors in io.undertow.server.handlers.sse with parameters of type HttpServerExchange Constructor Description ServerSentEventConnection(HttpServerExchange exchange, org.xnio.channels.StreamSinkChannel sink) -
Uses of HttpServerExchange in io.undertow.server.protocol.ajp
Methods in io.undertow.server.protocol.ajp that return HttpServerExchange Modifier and Type Method Description HttpServerExchangeAjpServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)Methods in io.undertow.server.protocol.ajp with parameters of type HttpServerExchange Modifier and Type Method Description protected voidAjpServerConnection. exchangeComplete(HttpServerExchange exchange)protected org.xnio.conduits.StreamSinkConduitAjpServerConnection. getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit)voidAjpRequestParser. parse(java.nio.ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state, HttpServerExchange exchange)HttpServerExchangeAjpServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)voidAjpServerConnection. terminateRequestChannel(HttpServerExchange exchange)Constructors in io.undertow.server.protocol.ajp with parameters of type HttpServerExchange Constructor Description AjpServerRequestConduit(org.xnio.conduits.StreamSourceConduit delegate, HttpServerExchange exchange, io.undertow.server.protocol.ajp.AjpServerResponseConduit ajpResponseConduit, java.lang.Long size, ConduitListener<? super AjpServerRequestConduit> finishListener) -
Uses of HttpServerExchange in io.undertow.server.protocol.http
Methods in io.undertow.server.protocol.http that return HttpServerExchange Modifier and Type Method Description HttpServerExchangeHttpServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)Methods in io.undertow.server.protocol.http with parameters of type HttpServerExchange Modifier and Type Method Description static HttpContinue.ContinueResponseSenderHttpContinue. createResponseSender(HttpServerExchange exchange)Creates a response sender that can be used to send a HTTP 100-continue response.protected voidHttpServerConnection. exchangeComplete(HttpServerExchange exchange)voidPipeliningBufferingStreamSinkConduit. exchangeComplete(HttpServerExchange exchange)protected org.xnio.conduits.StreamSinkConduitHttpServerConnection. getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit)voidHttpRequestParser. handle(java.nio.ByteBuffer buffer, io.undertow.server.protocol.http.ParseState currentState, HttpServerExchange builder)protected booleanHttpRequestParser. handleCachedHeader(java.lang.String existing, java.nio.ByteBuffer buffer, io.undertow.server.protocol.http.ParseState state, HttpServerExchange builder)static booleanHttpContinue. isContinueResponseSent(HttpServerExchange exchange)static voidHttpContinue. markContinueResponseSent(HttpServerExchange exchange)Marks a continue response as already having been sent.static voidHttpContinue. rejectExchange(HttpServerExchange exchange)Sets a 417 response code and ends the exchange.static booleanHttpContinue. requiresContinueResponse(HttpServerExchange exchange)Returns true if this exchange requires the server to send a 100 (Continue) response.static voidHttpContinue. sendContinueResponse(HttpServerExchange exchange, IoCallback callback)Sends a continuation using async IO, and calls back when it is complete.static voidHttpContinue. sendContinueResponseBlocking(HttpServerExchange exchange)Sends a continue response using blocking IOHttpServerExchangeHttpServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)voidPipeliningBufferingStreamSinkConduit. setupPipelineBuffer(HttpServerExchange exchange)Gets the channel wrapper that implements the bufferingvoidHttpServerConnection. terminateRequestChannel(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.protocol.http2
Methods in io.undertow.server.protocol.http2 that return HttpServerExchange Modifier and Type Method Description HttpServerExchangeHttp2ServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)Methods in io.undertow.server.protocol.http2 with parameters of type HttpServerExchange Modifier and Type Method Description protected voidHttp2ServerConnection. exchangeComplete(HttpServerExchange exchange)protected org.xnio.conduits.StreamSinkConduitHttp2ServerConnection. getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit)voidHttp2UpgradeHandler. handleRequest(HttpServerExchange exchange)protected voidHttp2ServerConnection. maxEntitySizeUpdated(HttpServerExchange exchange)HttpServerExchangeHttp2ServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)voidHttp2ServerConnection. terminateRequestChannel(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.session
Methods in io.undertow.server.session with parameters of type HttpServerExchange Modifier and Type Method Description java.lang.StringSession. changeSessionId(HttpServerExchange exchange, SessionConfig config)Generate a new session id for this session, and return the new id.voidPathParameterSessionConfig. clearSession(HttpServerExchange exchange, java.lang.String sessionId)voidSessionConfig. clearSession(HttpServerExchange exchange, java.lang.String sessionId)Clears this session from the exchange, removing the attachment and making any changes to the response necessary, such as clearing cookies.voidSessionCookieConfig. clearSession(HttpServerExchange exchange, java.lang.String sessionId)voidSslSessionConfig. clearSession(HttpServerExchange exchange, java.lang.String sessionId)SessionInMemorySessionManager. createSession(HttpServerExchange serverExchange, SessionConfig config)SessionSessionManager. createSession(HttpServerExchange serverExchange, SessionConfig sessionCookieConfig)Creates a new session.java.lang.StringPathParameterSessionConfig. findSessionId(HttpServerExchange exchange)java.lang.StringSessionConfig. findSessionId(HttpServerExchange exchange)Retrieves a session id of an existing session from an exchange.java.lang.StringSessionCookieConfig. findSessionId(HttpServerExchange exchange)java.lang.StringSslSessionConfig. findSessionId(HttpServerExchange exchange)SessionInMemorySessionManager. getSession(HttpServerExchange serverExchange, SessionConfig config)SessionSessionManager. getSession(HttpServerExchange serverExchange, SessionConfig sessionCookieConfig)voidSessionAttachmentHandler. handleRequest(HttpServerExchange exchange)voidSession. invalidate(HttpServerExchange exchange)Invalidates this session then unbinds any objects bound to it.voidSession. requestDone(HttpServerExchange serverExchange)Called when a request is done with the session.SessionConfig.SessionCookieSourcePathParameterSessionConfig. sessionCookieSource(HttpServerExchange exchange)SessionConfig.SessionCookieSourceSessionConfig. sessionCookieSource(HttpServerExchange exchange)SessionConfig.SessionCookieSourceSessionCookieConfig. sessionCookieSource(HttpServerExchange exchange)SessionConfig.SessionCookieSourceSslSessionConfig. sessionCookieSource(HttpServerExchange exchange)default voidSessionListener. sessionCreated(Session session, HttpServerExchange exchange)Called when a session is createdvoidSessionListeners. sessionCreated(Session session, HttpServerExchange exchange)default voidSessionListener. sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason)Called when a session is destroyedvoidSessionListeners. sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason)voidPathParameterSessionConfig. setSessionId(HttpServerExchange exchange, java.lang.String sessionId)voidSessionConfig. setSessionId(HttpServerExchange exchange, java.lang.String sessionId)Attaches the session to the exchange.voidSessionCookieConfig. setSessionId(HttpServerExchange exchange, java.lang.String sessionId)voidSslSessionConfig. setSessionId(HttpServerExchange exchange, java.lang.String sessionId) -
Uses of HttpServerExchange in io.undertow.util
Methods in io.undertow.util with parameters of type HttpServerExchange Modifier and Type Method Description static voidDateUtils. addDateHeaderIfRequired(HttpServerExchange exchange)static java.lang.StringDateUtils. getCurrentDateTime(HttpServerExchange exchange)static ETagETagUtils. getETag(HttpServerExchange exchange)static SessionSessions. getOrCreateSession(HttpServerExchange exchange)Gets the active session, creating a new one if one does not existstatic java.lang.StringQueryParameterUtils. getQueryParamEncoding(HttpServerExchange exchange)static SessionSessions. getSession(HttpServerExchange exchange)Gets the active session, returning null if one is not present.static booleanETagUtils. handleIfMatch(HttpServerExchange exchange, ETag etag, boolean allowWeak)Handles the if-match header.static booleanETagUtils. handleIfMatch(HttpServerExchange exchange, java.util.List<ETag> etags, boolean allowWeak)Handles the if-match header.static booleanDateUtils. handleIfModifiedSince(HttpServerExchange exchange, java.util.Date lastModified)Handles the if-modified-since header.static booleanETagUtils. handleIfNoneMatch(HttpServerExchange exchange, ETag etag, boolean allowWeak)Handles the if-none-match header.static booleanETagUtils. handleIfNoneMatch(HttpServerExchange exchange, java.util.List<ETag> etags, boolean allowWeak)Handles the if-none-match header.static booleanDateUtils. handleIfUnmodifiedSince(HttpServerExchange exchange, java.util.Date lastModified)Handles the if-unmodified-since header.static intURLUtils. parsePathParams(java.lang.String string, HttpServerExchange exchange, java.lang.String charset, boolean doDecode, int maxParameters)static voidURLUtils. parsePathParms(java.lang.String string, HttpServerExchange exchange, java.lang.String charset, boolean doDecode, int maxParameters)Deprecated.static voidURLUtils. parseQueryString(java.lang.String string, HttpServerExchange exchange, java.lang.String charset, boolean doDecode, int maxParameters)static java.lang.StringRedirectBuilder. redirect(HttpServerExchange exchange, java.lang.String newRelativePath)Redirects to a new relative path.static java.lang.StringRedirectBuilder. redirect(HttpServerExchange exchange, java.lang.String newRelativePath, boolean includeParameters)Redirects to a new relative path. -
Uses of HttpServerExchange in io.undertow.websockets
Methods in io.undertow.websockets with parameters of type HttpServerExchange Modifier and Type Method Description voidWebSocketProtocolHandshakeHandler. handleRequest(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.websockets.spi
Constructors in io.undertow.websockets.spi with parameters of type HttpServerExchange Constructor Description AsyncWebSocketHttpServerExchange(HttpServerExchange exchange, java.util.Set<WebSocketChannel> peerConnections)BlockingWebSocketHttpServerExchange(HttpServerExchange exchange, java.util.Set<WebSocketChannel> peerConnections)
-