Uses of Class
io.undertow.server.HttpServerExchange
Packages that use HttpServerExchange
Package
Description
-
Uses of HttpServerExchange in io.undertow
Methods in io.undertow with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionfinal voidUndertowLogger_$logger.authenticationFailedFor(String header, HttpServerExchange exchange, Exception e) voidUndertowLogger.authenticationFailedFor(String header, HttpServerExchange exchange, Exception e) final voidUndertowLogger_$logger.cannotProxyStartedRequest(HttpServerExchange exchange) voidUndertowLogger.cannotProxyStartedRequest(HttpServerExchange exchange) final voidUndertowLogger_$logger.failedToNegotiateAtGSSAPI(HttpServerExchange exchange, Throwable e) voidUndertowLogger.failedToNegotiateAtGSSAPI(HttpServerExchange exchange, Throwable e) final voidUndertowLogger_$logger.failedToObtainSubject(HttpServerExchange exchange, GeneralSecurityException e) voidUndertowLogger.failedToObtainSubject(HttpServerExchange exchange, GeneralSecurityException e) final voidUndertowLogger_$logger.responseWasNotTerminated(ServerConnection connection, HttpServerExchange exchange) voidUndertowLogger.responseWasNotTerminated(ServerConnection connection, HttpServerExchange exchange) final voidUndertowLogger_$logger.undertowRequestFailed(Throwable t, HttpServerExchange exchange) voidUndertowLogger.undertowRequestFailed(Throwable t, HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.attribute
Methods in io.undertow.attribute with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionAuthenticationTypeExchangeAttribute.readAttribute(HttpServerExchange exchange) BytesSentAttribute.readAttribute(HttpServerExchange exchange) CompositeExchangeAttribute.readAttribute(HttpServerExchange exchange) ConstantExchangeAttribute.readAttribute(HttpServerExchange exchange) CookieAttribute.readAttribute(HttpServerExchange exchange) DateTimeAttribute.readAttribute(HttpServerExchange exchange) ExchangeAttribute.readAttribute(HttpServerExchange exchange) Resolve the attribute from the HTTP server exchange.HostAndPortAttribute.readAttribute(HttpServerExchange exchange) IdentUsernameAttribute.readAttribute(HttpServerExchange exchange) LocalIPAttribute.readAttribute(HttpServerExchange exchange) LocalPortAttribute.readAttribute(HttpServerExchange exchange) LocalServerNameAttribute.readAttribute(HttpServerExchange exchange) NullAttribute.readAttribute(HttpServerExchange exchange) PathParameterAttribute.readAttribute(HttpServerExchange exchange) PredicateContextAttribute.readAttribute(HttpServerExchange exchange) QueryParameterAttribute.readAttribute(HttpServerExchange exchange) QueryStringAttribute.readAttribute(HttpServerExchange exchange) QuotingExchangeAttribute.readAttribute(HttpServerExchange exchange) RelativePathAttribute.readAttribute(HttpServerExchange exchange) RemoteHostAttribute.readAttribute(HttpServerExchange exchange) RemoteIPAttribute.readAttribute(HttpServerExchange exchange) RemoteObfuscatedIPAttribute.readAttribute(HttpServerExchange exchange) RemoteUserAttribute.readAttribute(HttpServerExchange exchange) RequestCookieAttribute.readAttribute(HttpServerExchange exchange) RequestHeaderAttribute.readAttribute(HttpServerExchange exchange) RequestLineAttribute.readAttribute(HttpServerExchange exchange) RequestMethodAttribute.readAttribute(HttpServerExchange exchange) RequestPathAttribute.readAttribute(HttpServerExchange exchange) RequestProtocolAttribute.readAttribute(HttpServerExchange exchange) RequestSchemeAttribute.readAttribute(HttpServerExchange exchange) RequestURLAttribute.readAttribute(HttpServerExchange exchange) ResolvedPathAttribute.readAttribute(HttpServerExchange exchange) ResponseCodeAttribute.readAttribute(HttpServerExchange exchange) ResponseCookieAttribute.readAttribute(HttpServerExchange exchange) ResponseHeaderAttribute.readAttribute(HttpServerExchange exchange) ResponseReasonPhraseAttribute.readAttribute(HttpServerExchange exchange) ResponseTimeAttribute.readAttribute(HttpServerExchange exchange) SecureExchangeAttribute.readAttribute(HttpServerExchange exchange) SslCipherAttribute.readAttribute(HttpServerExchange exchange) SslClientCertAttribute.readAttribute(HttpServerExchange exchange) SslSessionIdAttribute.readAttribute(HttpServerExchange exchange) StoredResponse.readAttribute(HttpServerExchange exchange) SubstituteEmptyWrapper.SubstituteEmptyAttribute.readAttribute(HttpServerExchange exchange) ThreadNameAttribute.readAttribute(HttpServerExchange exchange) TransportProtocolAttribute.readAttribute(HttpServerExchange exchange) static StringExchangeAttributes.resolve(HttpServerExchange exchange, ExchangeAttribute[] attributes) voidAuthenticationTypeExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidBytesSentAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidCompositeExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidConstantExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidCookieAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidDateTimeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) Sets a new value for the attribute.voidHostAndPortAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidIdentUsernameAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidLocalIPAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidLocalPortAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidLocalServerNameAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidNullAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidPathParameterAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidPredicateContextAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidQueryParameterAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidQueryStringAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidQuotingExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRelativePathAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRemoteHostAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRemoteIPAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRemoteObfuscatedIPAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRemoteUserAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestCookieAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestHeaderAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestLineAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestMethodAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestPathAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestProtocolAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestSchemeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestURLAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidResolvedPathAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidResponseCodeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidResponseCookieAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidResponseHeaderAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidResponseReasonPhraseAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidResponseTimeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidSecureExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidSslCipherAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidSslClientCertAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidSslSessionIdAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidStoredResponse.writeAttribute(HttpServerExchange exchange, String newValue) voidSubstituteEmptyWrapper.SubstituteEmptyAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidThreadNameAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidTransportProtocolAttribute.writeAttribute(HttpServerExchange exchange, String newValue) -
Uses of HttpServerExchange in io.undertow.conduits
Constructors in io.undertow.conduits with parameters of type HttpServerExchangeModifierConstructorDescriptionprotectedChunkedStreamSourceConduit(org.xnio.conduits.StreamSourceConduit next, io.undertow.conduits.ChunkedStreamSourceConduit.BufferWrapper bufferWrapper, ConduitListener<? super ChunkedStreamSourceConduit> finishListener, Attachable attachable, HttpServerExchange exchange, 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<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<Inflater> inflaterPool) InflatingStreamSourceConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSourceConduit next) InflatingStreamSourceConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSourceConduit next, ObjectPool<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 HttpServerExchangeModifier and TypeMethodDescriptionvoidReceiver.ErrorCallback.error(HttpServerExchange exchange, IOException e) voidReceiver.FullBytesCallback.handle(HttpServerExchange exchange, byte[] message) voidReceiver.FullStringCallback.handle(HttpServerExchange exchange, String message) voidReceiver.PartialBytesCallback.handle(HttpServerExchange exchange, byte[] message, boolean last) voidReceiver.PartialStringCallback.handle(HttpServerExchange exchange, String message, boolean last) voidDefaultIoCallback.onComplete(HttpServerExchange exchange, Sender sender) voidIoCallback.onComplete(HttpServerExchange exchange, Sender sender) voidDefaultIoCallback.onException(HttpServerExchange exchange, Sender sender, IOException exception) voidIoCallback.onException(HttpServerExchange exchange, Sender sender, IOException exception) Constructors in io.undertow.io with parameters of type HttpServerExchangeModifierConstructorDescriptionAsyncReceiverImpl(HttpServerExchange exchange) AsyncSenderImpl(HttpServerExchange exchange) BlockingReceiverImpl(HttpServerExchange exchange, InputStream inputStream) BlockingSenderImpl(HttpServerExchange exchange, 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 HttpServerExchangeModifier and TypeMethodDescriptionvoidPredicatesHandler.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 HttpServerExchangeMethods in io.undertow.security.api with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) Perform authentication of the request.voidAuthenticatedSessionManager.clearSession(HttpServerExchange exchange) SecurityContextFactory.createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName) Deprecated.Instantiates and returns aSecurityContextusing the specified parameters.AuthenticatedSessionManager.lookupSession(HttpServerExchange exchange) NonceManager.nextNonce(String lastNonce, HttpServerExchange exchange) Select the next nonce to be sent from the server taking into account the last valid nonce.AuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) Send an authentication challenge to the remote client.booleanNonceManager.validateNonce(String nonce, int nonceCount, HttpServerExchange exchange) Validate that a nonce can be used.Constructors in io.undertow.security.api with parameters of type HttpServerExchangeModifierConstructorDescriptionSecurityNotification(HttpServerExchange exchange, SecurityNotification.EventType eventType, Account account, String mechanism, boolean programatic, String message, boolean cachingRequired) -
Uses of HttpServerExchange in io.undertow.security.handlers
Methods in io.undertow.security.handlers with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionprotected booleanAbstractConfidentialityHandler.confidentialityRequired(HttpServerExchange exchange) Use the HttpServerExchange to identify if confidentiality is required.abstract SecurityContextAbstractSecurityContextAssociationHandler.createSecurityContext(HttpServerExchange exchange) SecurityInitialHandler.createSecurityContext(HttpServerExchange exchange) protected abstract 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 URISinglePortConfidentialityHandler.getRedirectURI(HttpServerExchange exchange) protected 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 HttpServerExchangeModifier and TypeFieldDescriptionprotected final HttpServerExchangeAbstractSecurityContext.exchangeMethods in io.undertow.security.impl with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionBasicAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) CachedAuthenticatedSessionMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) ClientCertAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) DigestAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) ExternalAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) FormAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) GenericHeaderAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) GSSAPIAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) SingleSignOnAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) SecurityContextFactoryImpl.createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName) protected SessionSingleSignOnAuthenticationMechanism.getSession(HttpServerExchange exchange) protected voidFormAuthenticationMechanism.handleRedirectBack(HttpServerExchange exchange) SimpleNonceManager.nextNonce(String lastNonce, HttpServerExchange exchange) CachedAuthenticatedSessionMechanism.runCached(HttpServerExchange exchange, SecurityContext securityContext, AuthenticatedSessionManager sessionManager) FormAuthenticationMechanism.runFormAuth(HttpServerExchange exchange, SecurityContext securityContext) GSSAPIAuthenticationMechanism.runGSSAPI(HttpServerExchange exchange, ByteBuffer challenge, SecurityContext securityContext) voidDigestAuthenticationMechanism.sendAuthenticationInfoHeader(HttpServerExchange exchange) BasicAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) CachedAuthenticatedSessionMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) ClientCertAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) DigestAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) ExternalAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) FormAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) GenericHeaderAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) GSSAPIAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) SingleSignOnAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) protected IntegerFormAuthenticationMechanism.servePage(HttpServerExchange exchange, String location) protected voidFormAuthenticationMechanism.storeInitialLocation(HttpServerExchange exchange) booleanSimpleNonceManager.validateNonce(String nonce, int nonceCount, HttpServerExchange exchange) Constructors in io.undertow.security.impl with parameters of type HttpServerExchangeModifierConstructorDescriptionprotectedAbstractSecurityContext(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 HttpServerExchangeMethods in io.undertow.server that return HttpServerExchangeModifier and TypeMethodDescriptionHttpServerExchange.acceptConnectRequest(HttpUpgradeListener connectListener) HttpServerExchange.addDefaultResponseListener(DefaultResponseListener listener) HttpServerExchange.addExchangeCompleteListener(ExchangeCompletionListener listener) HttpServerExchange.addPathParam(String name, String param) HttpServerExchange.addQueryParam(String name, String param) HttpServerExchange.addRequestWrapper(ConduitWrapper<org.xnio.conduits.StreamSourceConduit> wrapper) Adds aConduitWrapperto the request wrapper chain.HttpServerExchange.addResponseWrapper(ConduitWrapper<org.xnio.conduits.StreamSinkConduit> wrapper) Adds aConduitWrapperto the response wrapper chain.HttpServerExchange.dispatch()Deprecated.HttpServerExchange.dispatch(HttpHandler handler) Dispatches this request to the XNIO worker thread pool.HttpServerExchange.dispatch(Executor executor, HttpHandler handler) Dispatches this request to the given executor.HttpServerExchange.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.HttpServerExchange.setDestinationAddress(InetSocketAddress destinationAddress) Sets the destination address of the HTTP request.HttpServerExchange.setDispatchExecutor(Executor executor) Sets the executor that is used for dispatch operations where no executor is specified.HttpServerExchange.setMaxEntitySize(long maxEntitySize) Sets the max entity size for this exchange.HttpServerExchange.setPersistent(boolean persistent) HttpServerExchange.setProtocol(HttpString protocol) Sets the http protocolHttpServerExchange.setQueryString(String queryString) Set query string.HttpServerExchange.setReasonPhrase(String message) Sets the HTTP reason phrase.HttpServerExchange.setRelativePath(String relativePath) Set the request relative path.HttpServerExchange.setRequestCookie(Cookie cookie) Sets a request cookieHttpServerExchange.setRequestMethod(HttpString requestMethod) Set the HTTP request method.HttpServerExchange.setRequestPath(String requestPath) Set the request URI path.HttpServerExchange.setRequestScheme(String requestScheme) Set the request URI scheme.HttpServerExchange.setRequestURI(String requestURI) Sets the request URIHttpServerExchange.setRequestURI(String requestURI, boolean containsHost) Sets the request URIHttpServerExchange.setResolvedPath(String resolvedPath) Set the resolved path.HttpServerExchange.setResponseCode(int statusCode) Deprecated.HttpServerExchange.setResponseContentLength(long length) Sets the response content lengthHttpServerExchange.setResponseCookie(Cookie cookie) Sets a response cookieHttpServerExchange.setSourceAddress(InetSocketAddress sourceAddress) Sets the source address of the HTTP request.HttpServerExchange.setStatusCode(int statusCode) Change the status code for this response.HttpServerExchange.unDispatch()HttpServerExchange.upgradeChannel(HttpUpgradeListener listener) Upgrade the channel to a raw socket.HttpServerExchange.upgradeChannel(String productName, HttpUpgradeListener listener) Upgrade the channel to a raw socket.Methods in io.undertow.server with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionstatic 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, String encodedPath, String charset, boolean decode, boolean allowEncodedSlash, StringBuilder decodeBuffer) Deprecated.static voidConnectors.setExchangeRequestPath(HttpServerExchange exchange, String encodedPath, String charset, boolean decode, boolean allowEncodedSlash, 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) ConduitWrapper.wrap(ConduitFactory<T> factory, HttpServerExchange exchange) Wrap the conduit.Constructors in io.undertow.server with parameters of type HttpServerExchangeModifierConstructorDescriptionWrapperConduitFactory(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 HttpServerExchangeModifier and TypeMethodDescriptionprotected SessionLearningPushHandler.getSession(HttpServerExchange exchange) voidAccessControlListHandler.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(String pattern, HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.accesslog
Methods in io.undertow.server.handlers.accesslog with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionvoidAccessLogHandler.handleRequest(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.cache
Methods in io.undertow.server.handlers.cache with parameters of type HttpServerExchangeConstructors in io.undertow.server.handlers.cache with parameters of type HttpServerExchangeModifierConstructorDescriptionCachedHttpRequest(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 HttpServerExchangeModifier and TypeMethodDescriptionContentEncodingRepository.getContentEncodings(HttpServerExchange exchange) ContentEncodedResourceManager.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 HttpServerExchangeModifierConstructorDescriptionAllowedContentEncodings(HttpServerExchange exchange, 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 HttpServerExchangeModifier and TypeMethodDescriptionvoidFileErrorPageHandler.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 HttpServerExchangeModifier and TypeMethodDescriptionFormEncodedDataDefinition.create(HttpServerExchange exchange) FormParserFactory.ParserDefinition.create(HttpServerExchange exchange) MultiPartParserDefinition.create(HttpServerExchange exchange) FormParserFactory.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 HttpServerExchangeModifier and TypeMethodDescriptionvoidProxyCallback.completed(HttpServerExchange exchange, T result) voidProxyConnectionPool.connect(ProxyClient.ProxyTarget proxyTarget, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, 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.LoadBalancingProxyClient.findTarget(HttpServerExchange exchange) ProxyClient.findTarget(HttpServerExchange exchange) Finds a proxy target for this request, returning null if none can be found.SimpleProxyClientProvider.findTarget(HttpServerExchange exchange) Deprecated.voidLoadBalancingProxyClient.getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit) voidProxyClient.getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit) Gets a proxy connection for the given request.voidSimpleProxyClientProvider.getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit) Deprecated.voidProxyHandler.handleRequest(HttpServerExchange exchange) booleanExclusivityChecker.isExclusivityRequired(HttpServerExchange exchange) protected Iterator<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 HttpServerExchangeModifier and TypeMethodDescriptionio.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 HttpServerExchangeModifier and TypeMethodDescriptionDefaultResourceSupplier.getResource(HttpServerExchange exchange, String path) PreCompressedResourceSupplier.getResource(HttpServerExchange exchange, String path) ResourceSupplier.getResource(HttpServerExchange exchange, String path) voidResourceHandler.handleRequest(HttpServerExchange exchange) static voidDirectoryUtils.renderDirectoryListing(HttpServerExchange exchange, 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 HttpServerExchangeModifier and TypeMethodDescriptionvoidServerSentEventHandler.handleRequest(HttpServerExchange exchange) Constructors in io.undertow.server.handlers.sse with parameters of type HttpServerExchangeModifierConstructorDescriptionServerSentEventConnection(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 HttpServerExchangeModifier and TypeMethodDescriptionAjpServerConnection.sendOutOfBandResponse(HttpServerExchange exchange) Methods in io.undertow.server.protocol.ajp with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionprotected voidAjpServerConnection.exchangeComplete(HttpServerExchange exchange) protected org.xnio.conduits.StreamSinkConduitAjpServerConnection.getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit) voidAjpRequestParser.parse(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state, HttpServerExchange exchange) AjpServerConnection.sendOutOfBandResponse(HttpServerExchange exchange) voidAjpServerConnection.terminateRequestChannel(HttpServerExchange exchange) Constructors in io.undertow.server.protocol.ajp with parameters of type HttpServerExchangeModifierConstructorDescriptionAjpServerRequestConduit(org.xnio.conduits.StreamSourceConduit delegate, HttpServerExchange exchange, io.undertow.server.protocol.ajp.AjpServerResponseConduit ajpResponseConduit, Long size, ConduitListener<? super AjpServerRequestConduit> finishListener) -
Uses of HttpServerExchange in io.undertow.server.protocol.http
Methods in io.undertow.server.protocol.http that return HttpServerExchangeModifier and TypeMethodDescriptionHttpServerConnection.sendOutOfBandResponse(HttpServerExchange exchange) Methods in io.undertow.server.protocol.http with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionHttpContinue.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(ByteBuffer buffer, io.undertow.server.protocol.http.ParseState currentState, HttpServerExchange builder) protected booleanHttpRequestParser.handleCachedHeader(String existing, 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 IOHttpServerConnection.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 HttpServerExchangeModifier and TypeMethodDescriptionHttp2ServerConnection.sendOutOfBandResponse(HttpServerExchange exchange) Methods in io.undertow.server.protocol.http2 with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionprotected 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) Http2ServerConnection.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 HttpServerExchangeModifier and TypeMethodDescriptionSession.changeSessionId(HttpServerExchange exchange, SessionConfig config) Generate a new session id for this session, and return the new id.voidPathParameterSessionConfig.clearSession(HttpServerExchange exchange, String sessionId) voidSessionConfig.clearSession(HttpServerExchange exchange, 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, String sessionId) voidSslSessionConfig.clearSession(HttpServerExchange exchange, String sessionId) InMemorySessionManager.createSession(HttpServerExchange serverExchange, SessionConfig config) SessionManager.createSession(HttpServerExchange serverExchange, SessionConfig sessionCookieConfig) Creates a new session.PathParameterSessionConfig.findSessionId(HttpServerExchange exchange) SessionConfig.findSessionId(HttpServerExchange exchange) Retrieves a session id of an existing session from an exchange.SessionCookieConfig.findSessionId(HttpServerExchange exchange) SslSessionConfig.findSessionId(HttpServerExchange exchange) InMemorySessionManager.getSession(HttpServerExchange serverExchange, SessionConfig config) SessionManager.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.PathParameterSessionConfig.sessionCookieSource(HttpServerExchange exchange) SessionConfig.sessionCookieSource(HttpServerExchange exchange) SessionCookieConfig.sessionCookieSource(HttpServerExchange exchange) SslSessionConfig.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, String sessionId) voidSessionConfig.setSessionId(HttpServerExchange exchange, String sessionId) Attaches the session to the exchange.voidSessionCookieConfig.setSessionId(HttpServerExchange exchange, String sessionId) voidSslSessionConfig.setSessionId(HttpServerExchange exchange, String sessionId) -
Uses of HttpServerExchange in io.undertow.util
Methods in io.undertow.util with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionstatic voidDateUtils.addDateHeaderIfRequired(HttpServerExchange exchange) static 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 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, List<ETag> etags, boolean allowWeak) Handles the if-match header.static booleanDateUtils.handleIfModifiedSince(HttpServerExchange exchange, 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, List<ETag> etags, boolean allowWeak) Handles the if-none-match header.static booleanDateUtils.handleIfUnmodifiedSince(HttpServerExchange exchange, Date lastModified) Handles the if-unmodified-since header.static intURLUtils.parsePathParams(String string, HttpServerExchange exchange, String charset, boolean doDecode, int maxParameters) static voidURLUtils.parsePathParms(String string, HttpServerExchange exchange, String charset, boolean doDecode, int maxParameters) Deprecated.static voidURLUtils.parseQueryString(String string, HttpServerExchange exchange, String charset, boolean doDecode, int maxParameters) static StringRedirectBuilder.redirect(HttpServerExchange exchange, String newRelativePath) Redirects to a new relative path.static StringRedirectBuilder.redirect(HttpServerExchange exchange, 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 HttpServerExchangeModifier and TypeMethodDescriptionvoidWebSocketProtocolHandshakeHandler.handleRequest(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.websockets.spi
Constructors in io.undertow.websockets.spi with parameters of type HttpServerExchangeModifierConstructorDescriptionAsyncWebSocketHttpServerExchange(HttpServerExchange exchange, Set<WebSocketChannel> peerConnections) BlockingWebSocketHttpServerExchange(HttpServerExchange exchange, Set<WebSocketChannel> peerConnections)