Uses of Class
io.undertow.server.HttpServerExchange
-
-
Uses of HttpServerExchange in io.undertow
-
Uses of HttpServerExchange in io.undertow.attribute
Methods in io.undertow.attribute with parameters of type HttpServerExchange Modifier and Type Method Description String
AuthenticationTypeExchangeAttribute. readAttribute(HttpServerExchange exchange)
String
BytesSentAttribute. readAttribute(HttpServerExchange exchange)
String
CompositeExchangeAttribute. readAttribute(HttpServerExchange exchange)
String
ConstantExchangeAttribute. readAttribute(HttpServerExchange exchange)
String
CookieAttribute. readAttribute(HttpServerExchange exchange)
String
DateTimeAttribute. readAttribute(HttpServerExchange exchange)
String
ExchangeAttribute. readAttribute(HttpServerExchange exchange)
Resolve the attribute from the HTTP server exchange.String
HostAndPortAttribute. readAttribute(HttpServerExchange exchange)
String
IdentUsernameAttribute. readAttribute(HttpServerExchange exchange)
String
LocalIPAttribute. readAttribute(HttpServerExchange exchange)
String
LocalPortAttribute. readAttribute(HttpServerExchange exchange)
String
LocalServerNameAttribute. readAttribute(HttpServerExchange exchange)
String
NullAttribute. readAttribute(HttpServerExchange exchange)
String
PathParameterAttribute. readAttribute(HttpServerExchange exchange)
String
PredicateContextAttribute. readAttribute(HttpServerExchange exchange)
String
QueryParameterAttribute. readAttribute(HttpServerExchange exchange)
String
QueryStringAttribute. readAttribute(HttpServerExchange exchange)
String
QuotingExchangeAttribute. readAttribute(HttpServerExchange exchange)
String
RelativePathAttribute. readAttribute(HttpServerExchange exchange)
String
RemoteHostAttribute. readAttribute(HttpServerExchange exchange)
String
RemoteIPAttribute. readAttribute(HttpServerExchange exchange)
String
RemoteObfuscatedIPAttribute. readAttribute(HttpServerExchange exchange)
String
RemoteUserAttribute. readAttribute(HttpServerExchange exchange)
String
RequestCookieAttribute. readAttribute(HttpServerExchange exchange)
String
RequestHeaderAttribute. readAttribute(HttpServerExchange exchange)
String
RequestLineAttribute. readAttribute(HttpServerExchange exchange)
String
RequestMethodAttribute. readAttribute(HttpServerExchange exchange)
String
RequestPathAttribute. readAttribute(HttpServerExchange exchange)
String
RequestProtocolAttribute. readAttribute(HttpServerExchange exchange)
String
RequestSchemeAttribute. readAttribute(HttpServerExchange exchange)
String
RequestURLAttribute. readAttribute(HttpServerExchange exchange)
String
ResolvedPathAttribute. readAttribute(HttpServerExchange exchange)
String
ResponseCodeAttribute. readAttribute(HttpServerExchange exchange)
String
ResponseCookieAttribute. readAttribute(HttpServerExchange exchange)
String
ResponseHeaderAttribute. readAttribute(HttpServerExchange exchange)
String
ResponseReasonPhraseAttribute. readAttribute(HttpServerExchange exchange)
String
ResponseTimeAttribute. readAttribute(HttpServerExchange exchange)
String
SecureExchangeAttribute. readAttribute(HttpServerExchange exchange)
String
SslCipherAttribute. readAttribute(HttpServerExchange exchange)
String
SslClientCertAttribute. readAttribute(HttpServerExchange exchange)
String
SslSessionIdAttribute. readAttribute(HttpServerExchange exchange)
String
StoredResponse. readAttribute(HttpServerExchange exchange)
String
SubstituteEmptyWrapper.SubstituteEmptyAttribute. readAttribute(HttpServerExchange exchange)
String
ThreadNameAttribute. readAttribute(HttpServerExchange exchange)
String
TransportProtocolAttribute. readAttribute(HttpServerExchange exchange)
static String
ExchangeAttributes. resolve(HttpServerExchange exchange, ExchangeAttribute[] attributes)
void
AuthenticationTypeExchangeAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
BytesSentAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
CompositeExchangeAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
ConstantExchangeAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
CookieAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
DateTimeAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
ExchangeAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
Sets a new value for the attribute.void
HostAndPortAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
IdentUsernameAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
LocalIPAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
LocalPortAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
LocalServerNameAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
NullAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
PathParameterAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
PredicateContextAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
QueryParameterAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
QueryStringAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
QuotingExchangeAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RelativePathAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RemoteHostAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RemoteIPAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RemoteObfuscatedIPAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RemoteUserAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RequestCookieAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RequestHeaderAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RequestLineAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RequestMethodAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RequestPathAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RequestProtocolAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RequestSchemeAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
RequestURLAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
ResolvedPathAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
ResponseCodeAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
ResponseCookieAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
ResponseHeaderAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
ResponseReasonPhraseAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
ResponseTimeAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
SecureExchangeAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
SslCipherAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
SslClientCertAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
SslSessionIdAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
StoredResponse. writeAttribute(HttpServerExchange exchange, String newValue)
void
SubstituteEmptyWrapper.SubstituteEmptyAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
ThreadNameAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
void
TransportProtocolAttribute. writeAttribute(HttpServerExchange exchange, String newValue)
-
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, 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 HttpServerExchange Modifier and Type Method Description void
Receiver.ErrorCallback. error(HttpServerExchange exchange, IOException e)
void
Receiver.FullBytesCallback. handle(HttpServerExchange exchange, byte[] message)
void
Receiver.FullStringCallback. handle(HttpServerExchange exchange, String message)
void
Receiver.PartialBytesCallback. handle(HttpServerExchange exchange, byte[] message, boolean last)
void
Receiver.PartialStringCallback. handle(HttpServerExchange exchange, String message, boolean last)
void
DefaultIoCallback. onComplete(HttpServerExchange exchange, Sender sender)
void
IoCallback. onComplete(HttpServerExchange exchange, Sender sender)
void
DefaultIoCallback. onException(HttpServerExchange exchange, Sender sender, IOException exception)
void
IoCallback. onException(HttpServerExchange exchange, Sender sender, IOException exception)
Constructors in io.undertow.io with parameters of type HttpServerExchange Constructor Description AsyncReceiverImpl(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 HttpServerExchange Modifier and Type Method Description void
PredicatesHandler. handleRequest(HttpServerExchange exchange)
boolean
AuthenticationRequiredPredicate. resolve(HttpServerExchange value)
boolean
ContainsPredicate. resolve(HttpServerExchange value)
boolean
EqualsPredicate. resolve(HttpServerExchange value)
boolean
ExistsPredicate. resolve(HttpServerExchange value)
boolean
FalsePredicate. resolve(HttpServerExchange value)
boolean
IdempotentPredicate. resolve(HttpServerExchange value)
boolean
MaxContentSizePredicate. resolve(HttpServerExchange value)
Deprecated.boolean
MethodPredicate. resolve(HttpServerExchange value)
boolean
MinContentSizePredicate. resolve(HttpServerExchange value)
Deprecated.boolean
NotPredicate. resolve(HttpServerExchange value)
boolean
PathMatchPredicate. resolve(HttpServerExchange value)
boolean
PathPrefixPredicate. resolve(HttpServerExchange value)
boolean
PathSuffixPredicate. resolve(HttpServerExchange value)
boolean
PathTemplatePredicate. resolve(HttpServerExchange exchange)
boolean
Predicate. resolve(HttpServerExchange value)
boolean
RegularExpressionPredicate. resolve(HttpServerExchange value)
boolean
RequestLargerThanPredicate. resolve(HttpServerExchange exchange)
boolean
RequestSmallerThanPredicate. resolve(HttpServerExchange exchange)
boolean
SecurePredicate. resolve(HttpServerExchange value)
boolean
TruePredicate. 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 HttpServerExchange
SecurityNotification. getExchange()
Methods in io.undertow.security.api with parameters of type HttpServerExchange Modifier and Type Method Description AuthenticationMechanism.AuthenticationMechanismOutcome
AuthenticationMechanism. authenticate(HttpServerExchange exchange, SecurityContext securityContext)
Perform authentication of the request.void
AuthenticatedSessionManager. clearSession(HttpServerExchange exchange)
SecurityContext
SecurityContextFactory. createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName)
Deprecated.Instantiates and returns aSecurityContext
using the specified parameters.AuthenticatedSessionManager.AuthenticatedSession
AuthenticatedSessionManager. lookupSession(HttpServerExchange exchange)
String
NonceManager. nextNonce(String lastNonce, HttpServerExchange exchange)
Select the next nonce to be sent from the server taking into account the last valid nonce.AuthenticationMechanism.ChallengeResult
AuthenticationMechanism. sendChallenge(HttpServerExchange exchange, SecurityContext securityContext)
Send an authentication challenge to the remote client.boolean
NonceManager. validateNonce(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, 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 HttpServerExchange Modifier and Type Method Description protected boolean
AbstractConfidentialityHandler. confidentialityRequired(HttpServerExchange exchange)
Use the HttpServerExchange to identify if confidentiality is required.abstract SecurityContext
AbstractSecurityContextAssociationHandler. createSecurityContext(HttpServerExchange exchange)
SecurityContext
SecurityInitialHandler. createSecurityContext(HttpServerExchange exchange)
protected abstract URI
AbstractConfidentialityHandler. 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 URI
SinglePortConfidentialityHandler. getRedirectURI(HttpServerExchange exchange)
protected URI
SinglePortConfidentialityHandler. getRedirectURI(HttpServerExchange exchange, int port)
void
AbstractConfidentialityHandler. handleRequest(HttpServerExchange exchange)
void
AbstractSecurityContextAssociationHandler. handleRequest(HttpServerExchange exchange)
void
AuthenticationCallHandler. handleRequest(HttpServerExchange exchange)
Only allow the request through if successfully authenticated or if authentication is not required.void
AuthenticationConstraintHandler. handleRequest(HttpServerExchange exchange)
void
AuthenticationMechanismsHandler. handleRequest(HttpServerExchange exchange)
void
CachedAuthenticatedSessionHandler. handleRequest(HttpServerExchange exchange)
void
NotificationReceiverHandler. handleRequest(HttpServerExchange exchange)
protected boolean
AuthenticationConstraintHandler. isAuthenticationRequired(HttpServerExchange exchange)
Evaluate the current request and indicate if authentication is required for the current request.protected boolean
AbstractConfidentialityHandler. 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 HttpServerExchange
AbstractSecurityContext. exchange
Constructors 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 HttpServerExchange
AbstractServerConnection. current
Methods in io.undertow.server that return HttpServerExchange Modifier and Type Method Description HttpServerExchange
HttpServerExchange. acceptConnectRequest(HttpUpgradeListener connectListener)
HttpServerExchange
HttpServerExchange. addDefaultResponseListener(DefaultResponseListener listener)
HttpServerExchange
HttpServerExchange. addExchangeCompleteListener(ExchangeCompletionListener listener)
HttpServerExchange
HttpServerExchange. addPathParam(String name, String param)
HttpServerExchange
HttpServerExchange. addQueryParam(String name, String param)
HttpServerExchange
HttpServerExchange. addRequestWrapper(ConduitWrapper<org.xnio.conduits.StreamSourceConduit> wrapper)
Adds aConduitWrapper
to the request wrapper chain.HttpServerExchange
HttpServerExchange. addResponseWrapper(ConduitWrapper<org.xnio.conduits.StreamSinkConduit> wrapper)
Adds aConduitWrapper
to the response wrapper chain.HttpServerExchange
HttpServerExchange. dispatch()
Deprecated.HttpServerExchange
HttpServerExchange. dispatch(HttpHandler handler)
HttpServerExchange
HttpServerExchange. dispatch(Runnable runnable)
Dispatches this request to the XNIO worker thread pool.HttpServerExchange
HttpServerExchange. dispatch(Executor executor, HttpHandler handler)
HttpServerExchange
HttpServerExchange. dispatch(Executor executor, Runnable runnable)
Dispatches this request to the given executor.HttpServerExchange
HttpServerExchange. endExchange()
Ends the exchange by fully draining the request channel, and flushing the response channel.abstract HttpServerExchange
ServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)
Sends an out of band response, such as a HTTP 100-continue response.HttpServerExchange
HttpServerExchange. setDestinationAddress(InetSocketAddress destinationAddress)
Sets the destination address of the HTTP request.HttpServerExchange
HttpServerExchange. setDispatchExecutor(Executor executor)
Sets the executor that is used for dispatch operations where no executor is specified.HttpServerExchange
HttpServerExchange. setMaxEntitySize(long maxEntitySize)
Sets the max entity size for this exchange.HttpServerExchange
HttpServerExchange. setPersistent(boolean persistent)
HttpServerExchange
HttpServerExchange. setProtocol(HttpString protocol)
Sets the http protocolHttpServerExchange
HttpServerExchange. setQueryString(String queryString)
Set query string.HttpServerExchange
HttpServerExchange. setReasonPhrase(String message)
Sets the HTTP reason phrase.HttpServerExchange
HttpServerExchange. setRelativePath(String relativePath)
Set the request relative path.HttpServerExchange
HttpServerExchange. setRequestCookie(Cookie cookie)
Sets a request cookieHttpServerExchange
HttpServerExchange. setRequestMethod(HttpString requestMethod)
Set the HTTP request method.HttpServerExchange
HttpServerExchange. setRequestPath(String requestPath)
Set the request URI path.HttpServerExchange
HttpServerExchange. setRequestScheme(String requestScheme)
Set the request URI scheme.HttpServerExchange
HttpServerExchange. setRequestURI(String requestURI)
Sets the request URIHttpServerExchange
HttpServerExchange. setRequestURI(String requestURI, boolean containsHost)
Sets the request URIHttpServerExchange
HttpServerExchange. setResolvedPath(String resolvedPath)
Set the resolved path.HttpServerExchange
HttpServerExchange. setResponseCode(int statusCode)
Deprecated.HttpServerExchange
HttpServerExchange. setResponseContentLength(long length)
Sets the response content lengthHttpServerExchange
HttpServerExchange. setResponseCookie(Cookie cookie)
Sets a response cookieHttpServerExchange
HttpServerExchange. setSourceAddress(InetSocketAddress sourceAddress)
Sets the source address of the HTTP request.HttpServerExchange
HttpServerExchange. setStatusCode(int statusCode)
Change the status code for this response.HttpServerExchange
HttpServerExchange. unDispatch()
HttpServerExchange
HttpServerExchange. upgradeChannel(HttpUpgradeListener listener)
Upgrade the channel to a raw socket.HttpServerExchange
HttpServerExchange. upgradeChannel(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 void
Connectors. addCookie(HttpServerExchange exchange, Cookie cookie)
Adds the cookie into the response header map.void
ResponseCommitListener. beforeCommit(HttpServerExchange exchange)
Invoked before the first bytes of the response are sent to the clientvoid
SecureCookieCommitListener. beforeCommit(HttpServerExchange exchange)
protected abstract void
ServerConnection. exchangeComplete(HttpServerExchange exchange)
Invoked when the exchange is complete.void
ExchangeCompletionListener. exchangeEvent(HttpServerExchange exchange, ExchangeCompletionListener.NextListener nextListener)
static void
Connectors. executeRootHandler(HttpHandler handler, HttpServerExchange exchange)
static void
Connectors. flattenCookies(HttpServerExchange exchange)
Flattens the exchange cookie map into the response header map.static org.xnio.conduits.ConduitStreamSinkChannel
Connectors. getConduitSinkChannel(HttpServerExchange exchange)
static org.xnio.channels.StreamSourceChannel
Connectors. getExistingRequestChannel(HttpServerExchange exchange)
Returns the existing request channel, if it exists.protected abstract org.xnio.conduits.StreamSinkConduit
ServerConnection. getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit)
Gets the sink conduit that should be used for this request.boolean
DefaultResponseListener. handleDefaultResponse(HttpServerExchange exchange)
void
HttpHandler. handleRequest(HttpServerExchange exchange)
Handle the request.void
JvmRouteHandler. handleRequest(HttpServerExchange exchange)
void
RoutingHandler. handleRequest(HttpServerExchange exchange)
void
HttpUpgradeListener. handleUpgrade(org.xnio.StreamConnection streamConnection, HttpServerExchange exchange)
Method that is called once the upgrade is complete.static boolean
Connectors. isEntityBodyAllowed(HttpServerExchange exchange)
protected void
AbstractServerConnection. maxEntitySizeUpdated(HttpServerExchange exchange)
protected abstract void
ServerConnection. maxEntitySizeUpdated(HttpServerExchange exchange)
Callback that is invoked if the max entity size is updated.void
BasicSSLSessionInfo. renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode)
void
ConnectionSSLSessionInfo. renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode)
void
SSLSessionInfo. renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode)
Renegotiate in a blocking manner.void
ConnectionSSLSessionInfo. renegotiateBufferRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode)
void
ConnectionSSLSessionInfo. renegotiateNoRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode)
static void
Connectors. resetRequestChannel(HttpServerExchange exchange)
abstract HttpServerExchange
ServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)
Sends an out of band response, such as a HTTP 100-continue response.static void
Connectors. setExchangeRequestPath(HttpServerExchange exchange, String encodedPath, String charset, boolean decode, boolean allowEncodedSlash, StringBuilder decodeBuffer)
Deprecated.static void
Connectors. 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 void
Connectors. setRequestStartTime(HttpServerExchange exchange)
static void
Connectors. setRequestStartTime(HttpServerExchange existing, HttpServerExchange newExchange)
void
ConnectorStatisticsImpl. setup(HttpServerExchange exchange)
static void
Connectors. terminateRequest(HttpServerExchange exchange)
abstract void
ServerConnection. terminateRequestChannel(HttpServerExchange exchange)
Invoked when the exchange is complete, and there is still data in the request channel.static void
Connectors. terminateResponse(HttpServerExchange exchange)
static void
Connectors. ungetRequestBytes(HttpServerExchange exchange, PooledByteBuffer... buffers)
Attached buffered data to the exchange.static void
Connectors. updateResponseBytesSent(HttpServerExchange exchange, long bytes)
T
ConduitWrapper. wrap(ConduitFactory<T> factory, HttpServerExchange exchange)
Wrap the conduit.Constructors in io.undertow.server with parameters of type HttpServerExchange Constructor Description 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 Session
LearningPushHandler. getSession(HttpServerExchange exchange)
void
AccessControlListHandler. handleRequest(HttpServerExchange exchange)
void
AllowedMethodsHandler. handleRequest(HttpServerExchange exchange)
void
AttachmentHandler. handleRequest(HttpServerExchange exchange)
void
BlockingHandler. handleRequest(HttpServerExchange exchange)
void
BlockingReadTimeoutHandler. handleRequest(HttpServerExchange exchange)
void
BlockingWriteTimeoutHandler. handleRequest(HttpServerExchange exchange)
void
ByteRangeHandler. handleRequest(HttpServerExchange exchange)
void
CanonicalPathHandler. handleRequest(HttpServerExchange exchange)
void
ChannelUpgradeHandler. handleRequest(HttpServerExchange exchange)
void
ConfiguredPushHandler. handleRequest(HttpServerExchange exchange)
void
ConnectHandler. handleRequest(HttpServerExchange exchange)
void
DateHandler. handleRequest(HttpServerExchange exchange)
Deprecated.void
DisableCacheHandler. handleRequest(HttpServerExchange exchange)
void
DisallowedMethodsHandler. handleRequest(HttpServerExchange exchange)
void
ExceptionHandler. handleRequest(HttpServerExchange exchange)
void
ForwardedHandler. handleRequest(HttpServerExchange exchange)
void
GracefulShutdownHandler. handleRequest(HttpServerExchange exchange)
void
HttpContinueAcceptingHandler. handleRequest(HttpServerExchange exchange)
void
HttpContinueReadHandler. handleRequest(HttpServerExchange exchange)
void
HttpTraceHandler. handleRequest(HttpServerExchange exchange)
void
IPAddressAccessControlHandler. handleRequest(HttpServerExchange exchange)
void
JDBCLogHandler. handleRequest(HttpServerExchange exchange)
void
LearningPushHandler. handleRequest(HttpServerExchange exchange)
void
LocalNameResolvingHandler. handleRequest(HttpServerExchange exchange)
void
MetricsHandler. handleRequest(HttpServerExchange exchange)
void
NameVirtualHostHandler. handleRequest(HttpServerExchange exchange)
void
OriginHandler. handleRequest(HttpServerExchange exchange)
void
PathHandler. handleRequest(HttpServerExchange exchange)
void
PathSeparatorHandler. handleRequest(HttpServerExchange exchange)
void
PathTemplateHandler. handleRequest(HttpServerExchange exchange)
void
PeerNameResolvingHandler. handleRequest(HttpServerExchange exchange)
void
PredicateContextHandler. handleRequest(HttpServerExchange exchange)
void
PredicateHandler. handleRequest(HttpServerExchange exchange)
void
ProxyPeerAddressHandler. handleRequest(HttpServerExchange exchange)
void
RedirectHandler. handleRequest(HttpServerExchange exchange)
void
RequestBufferingHandler. handleRequest(HttpServerExchange exchange)
void
RequestDumpingHandler. handleRequest(HttpServerExchange exchange)
void
RequestLimit. handleRequest(HttpServerExchange exchange, HttpHandler next)
void
RequestLimitingHandler. handleRequest(HttpServerExchange exchange)
void
ResponseCodeHandler. handleRequest(HttpServerExchange exchange)
void
ResponseRateLimitingHandler. handleRequest(HttpServerExchange exchange)
void
SameSiteCookieHandler. handleRequest(HttpServerExchange exchange)
void
SecureCookieHandler. handleRequest(HttpServerExchange exchange)
void
SetAttributeHandler. handleRequest(HttpServerExchange exchange)
void
SetErrorHandler. handleRequest(HttpServerExchange exchange)
void
SetHeaderHandler. handleRequest(HttpServerExchange exchange)
void
SSLHeaderHandler. handleRequest(HttpServerExchange exchange)
void
StoredResponseHandler. handleRequest(HttpServerExchange exchange)
void
StuckThreadDetectionHandler. handleRequest(HttpServerExchange exchange)
Handle the request.void
URLDecodingHandler. handleRequest(HttpServerExchange exchange)
boolean
HttpUpgradeHandshake. handleUpgrade(HttpServerExchange exchange)
Validates an upgrade request and returns any extra headers that should be added to the response.void
JDBCLogHandler. 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 HttpServerExchange Modifier and Type Method Description void
AccessLogHandler. 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 void
CacheHandler. 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 AllowedContentEncodings
ContentEncodingRepository. getContentEncodings(HttpServerExchange exchange)
ContentEncodedResource
ContentEncodedResourceManager. getResource(Resource resource, HttpServerExchange exchange)
Gets a pre-encoded resource.void
EncodingHandler. handleRequest(HttpServerExchange exchange)
void
RequestEncodingHandler. handleRequest(HttpServerExchange exchange)
org.xnio.conduits.StreamSinkConduit
AllowedContentEncodings. 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, 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 void
FileErrorPageHandler. handleRequest(HttpServerExchange exchange)
void
SimpleErrorPageHandler. 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 FormDataParser
FormEncodedDataDefinition. create(HttpServerExchange exchange)
FormDataParser
FormParserFactory.ParserDefinition. create(HttpServerExchange exchange)
FormDataParser
MultiPartParserDefinition. create(HttpServerExchange exchange)
FormDataParser
FormParserFactory. createParser(HttpServerExchange exchange)
Creates a form data parser for this request.void
EagerFormParsingHandler. 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 void
ProxyCallback. completed(HttpServerExchange exchange, T result)
void
ProxyConnectionPool. connect(ProxyClient.ProxyTarget proxyTarget, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit, boolean exclusive)
void
ProxyCallback. couldNotResolveBackend(HttpServerExchange exchange)
Callback if no backend server could be found.void
ProxyCallback. failed(HttpServerExchange exchange)
Callback if establishing the connection to a backend server fails.ProxyClient.ProxyTarget
LoadBalancingProxyClient. findTarget(HttpServerExchange exchange)
ProxyClient.ProxyTarget
ProxyClient. findTarget(HttpServerExchange exchange)
Finds a proxy target for this request, returning null if none can be found.ProxyClient.ProxyTarget
SimpleProxyClientProvider. findTarget(HttpServerExchange exchange)
Deprecated.void
LoadBalancingProxyClient. getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit)
void
ProxyClient. getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit)
Gets a proxy connection for the given request.void
SimpleProxyClientProvider. getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit)
Deprecated.void
ProxyHandler. handleRequest(HttpServerExchange exchange)
boolean
ExclusivityChecker. isExclusivityRequired(HttpServerExchange exchange)
protected Iterator<CharSequence>
LoadBalancingProxyClient. parseRoutes(HttpServerExchange exchange)
void
ProxyCallback. queuedRequestFailed(HttpServerExchange exchange)
This is invoked when the target connection pool transitions to problem status.protected LoadBalancingProxyClient.Host
LoadBalancingProxyClient. 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.Context
ModClusterProxyTarget.BasicTarget. resolveContext(HttpServerExchange exchange)
io.undertow.server.handlers.proxy.mod_cluster.Context
ModClusterProxyTarget.ExistingSessionTarget. resolveContext(HttpServerExchange exchange)
io.undertow.server.handlers.proxy.mod_cluster.Context
ModClusterProxyTarget. 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 Resource
DefaultResourceSupplier. getResource(HttpServerExchange exchange, String path)
Resource
PreCompressedResourceSupplier. getResource(HttpServerExchange exchange, String path)
Resource
ResourceSupplier. getResource(HttpServerExchange exchange, String path)
void
ResourceHandler. handleRequest(HttpServerExchange exchange)
static void
DirectoryUtils. renderDirectoryListing(HttpServerExchange exchange, Resource resource)
static boolean
DirectoryUtils. sendRequestedBlobs(HttpServerExchange exchange)
Serve static resource for the directory listingvoid
CachedResource. serve(Sender sender, HttpServerExchange exchange, IoCallback completionCallback)
void
PathResource. serve(Sender sender, HttpServerExchange exchange, IoCallback callback)
void
Resource. serve(Sender sender, HttpServerExchange exchange, IoCallback completionCallback)
Serve the resource, and call the provided callback when complete.void
URLResource. serve(Sender sender, HttpServerExchange exchange, IoCallback completionCallback)
void
URLResource. serveImpl(Sender sender, HttpServerExchange exchange, long start, long end, boolean range, IoCallback completionCallback)
void
CachedResource. serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback)
void
PathResource. serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback callback)
void
RangeAwareResource. serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback)
Serve the resource, and call the provided callback when complete.void
URLResource. 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 void
ServerSentEventHandler. 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 HttpServerExchange
AjpServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)
Methods in io.undertow.server.protocol.ajp with parameters of type HttpServerExchange Modifier and Type Method Description protected void
AjpServerConnection. exchangeComplete(HttpServerExchange exchange)
protected org.xnio.conduits.StreamSinkConduit
AjpServerConnection. getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit)
void
AjpRequestParser. parse(ByteBuffer buf, io.undertow.server.protocol.ajp.AjpRequestParseState state, HttpServerExchange exchange)
HttpServerExchange
AjpServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)
void
AjpServerConnection. 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, 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 HttpServerExchange
HttpServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)
Methods in io.undertow.server.protocol.http with parameters of type HttpServerExchange Modifier and Type Method Description static HttpContinue.ContinueResponseSender
HttpContinue. createResponseSender(HttpServerExchange exchange)
Creates a response sender that can be used to send a HTTP 100-continue response.protected void
HttpServerConnection. exchangeComplete(HttpServerExchange exchange)
void
PipeliningBufferingStreamSinkConduit. exchangeComplete(HttpServerExchange exchange)
protected org.xnio.conduits.StreamSinkConduit
HttpServerConnection. getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit)
void
HttpRequestParser. handle(ByteBuffer buffer, io.undertow.server.protocol.http.ParseState currentState, HttpServerExchange builder)
protected boolean
HttpRequestParser. handleCachedHeader(String existing, ByteBuffer buffer, io.undertow.server.protocol.http.ParseState state, HttpServerExchange builder)
static boolean
HttpContinue. isContinueResponseSent(HttpServerExchange exchange)
static void
HttpContinue. markContinueResponseSent(HttpServerExchange exchange)
Marks a continue response as already having been sent.static void
HttpContinue. rejectExchange(HttpServerExchange exchange)
Sets a 417 response code and ends the exchange.static boolean
HttpContinue. requiresContinueResponse(HttpServerExchange exchange)
Returns true if this exchange requires the server to send a 100 (Continue) response.static void
HttpContinue. sendContinueResponse(HttpServerExchange exchange, IoCallback callback)
Sends a continuation using async IO, and calls back when it is complete.static void
HttpContinue. sendContinueResponseBlocking(HttpServerExchange exchange)
Sends a continue response using blocking IOHttpServerExchange
HttpServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)
void
PipeliningBufferingStreamSinkConduit. setupPipelineBuffer(HttpServerExchange exchange)
Gets the channel wrapper that implements the bufferingvoid
HttpServerConnection. 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 HttpServerExchange
Http2ServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)
Methods in io.undertow.server.protocol.http2 with parameters of type HttpServerExchange Modifier and Type Method Description protected void
Http2ServerConnection. exchangeComplete(HttpServerExchange exchange)
protected org.xnio.conduits.StreamSinkConduit
Http2ServerConnection. getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit)
void
Http2UpgradeHandler. handleRequest(HttpServerExchange exchange)
protected void
Http2ServerConnection. maxEntitySizeUpdated(HttpServerExchange exchange)
HttpServerExchange
Http2ServerConnection. sendOutOfBandResponse(HttpServerExchange exchange)
void
Http2ServerConnection. 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 String
Session. changeSessionId(HttpServerExchange exchange, SessionConfig config)
Generate a new session id for this session, and return the new id.void
PathParameterSessionConfig. clearSession(HttpServerExchange exchange, String sessionId)
void
SessionConfig. 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.void
SessionCookieConfig. clearSession(HttpServerExchange exchange, String sessionId)
void
SslSessionConfig. clearSession(HttpServerExchange exchange, String sessionId)
Session
InMemorySessionManager. createSession(HttpServerExchange serverExchange, SessionConfig config)
Session
SessionManager. createSession(HttpServerExchange serverExchange, SessionConfig sessionCookieConfig)
Creates a new session.String
PathParameterSessionConfig. findSessionId(HttpServerExchange exchange)
String
SessionConfig. findSessionId(HttpServerExchange exchange)
Retrieves a session id of an existing session from an exchange.String
SessionCookieConfig. findSessionId(HttpServerExchange exchange)
String
SslSessionConfig. findSessionId(HttpServerExchange exchange)
Session
InMemorySessionManager. getSession(HttpServerExchange serverExchange, SessionConfig config)
Session
SessionManager. getSession(HttpServerExchange serverExchange, SessionConfig sessionCookieConfig)
void
SessionAttachmentHandler. handleRequest(HttpServerExchange exchange)
void
Session. invalidate(HttpServerExchange exchange)
Invalidates this session then unbinds any objects bound to it.void
Session. requestDone(HttpServerExchange serverExchange)
Called when a request is done with the session.SessionConfig.SessionCookieSource
PathParameterSessionConfig. sessionCookieSource(HttpServerExchange exchange)
SessionConfig.SessionCookieSource
SessionConfig. sessionCookieSource(HttpServerExchange exchange)
SessionConfig.SessionCookieSource
SessionCookieConfig. sessionCookieSource(HttpServerExchange exchange)
SessionConfig.SessionCookieSource
SslSessionConfig. sessionCookieSource(HttpServerExchange exchange)
default void
SessionListener. sessionCreated(Session session, HttpServerExchange exchange)
Called when a session is createdvoid
SessionListeners. sessionCreated(Session session, HttpServerExchange exchange)
default void
SessionListener. sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason)
Called when a session is destroyedvoid
SessionListeners. sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason)
void
PathParameterSessionConfig. setSessionId(HttpServerExchange exchange, String sessionId)
void
SessionConfig. setSessionId(HttpServerExchange exchange, String sessionId)
Attaches the session to the exchange.void
SessionCookieConfig. setSessionId(HttpServerExchange exchange, String sessionId)
void
SslSessionConfig. setSessionId(HttpServerExchange exchange, 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 void
DateUtils. addDateHeaderIfRequired(HttpServerExchange exchange)
static String
DateUtils. getCurrentDateTime(HttpServerExchange exchange)
static ETag
ETagUtils. getETag(HttpServerExchange exchange)
static Session
Sessions. getOrCreateSession(HttpServerExchange exchange)
Gets the active session, creating a new one if one does not existstatic String
QueryParameterUtils. getQueryParamEncoding(HttpServerExchange exchange)
static Session
Sessions. getSession(HttpServerExchange exchange)
Gets the active session, returning null if one is not present.static boolean
ETagUtils. handleIfMatch(HttpServerExchange exchange, ETag etag, boolean allowWeak)
Handles the if-match header.static boolean
ETagUtils. handleIfMatch(HttpServerExchange exchange, List<ETag> etags, boolean allowWeak)
Handles the if-match header.static boolean
DateUtils. handleIfModifiedSince(HttpServerExchange exchange, Date lastModified)
Handles the if-modified-since header.static boolean
ETagUtils. handleIfNoneMatch(HttpServerExchange exchange, ETag etag, boolean allowWeak)
Handles the if-none-match header.static boolean
ETagUtils. handleIfNoneMatch(HttpServerExchange exchange, List<ETag> etags, boolean allowWeak)
Handles the if-none-match header.static boolean
DateUtils. handleIfUnmodifiedSince(HttpServerExchange exchange, Date lastModified)
Handles the if-unmodified-since header.static int
URLUtils. parsePathParams(String string, HttpServerExchange exchange, String charset, boolean doDecode, int maxParameters)
static void
URLUtils. parsePathParms(String string, HttpServerExchange exchange, String charset, boolean doDecode, int maxParameters)
Deprecated.static void
URLUtils. parseQueryString(String string, HttpServerExchange exchange, String charset, boolean doDecode, int maxParameters)
static String
RedirectBuilder. redirect(HttpServerExchange exchange, String newRelativePath)
Redirects to a new relative path.static String
RedirectBuilder. 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 HttpServerExchange Modifier and Type Method Description void
WebSocketProtocolHandshakeHandler. 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, Set<WebSocketChannel> peerConnections)
BlockingWebSocketHttpServerExchange(HttpServerExchange exchange, Set<WebSocketChannel> peerConnections)
-