Modifier and Type | Method and Description |
---|---|
String |
ThreadNameAttribute.readAttribute(HttpServerExchange exchange) |
String |
SslSessionIdAttribute.readAttribute(HttpServerExchange exchange) |
String |
SslClientCertAttribute.readAttribute(HttpServerExchange exchange) |
String |
SslCipherAttribute.readAttribute(HttpServerExchange exchange) |
String |
ResponseTimeAttribute.readAttribute(HttpServerExchange exchange) |
String |
ResponseHeaderAttribute.readAttribute(HttpServerExchange exchange) |
String |
ResponseCodeAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestURLAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestProtocolAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestMethodAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestLineAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestHeaderAttribute.readAttribute(HttpServerExchange exchange) |
String |
RemoteUserAttribute.readAttribute(HttpServerExchange exchange) |
String |
RemoteIPAttribute.readAttribute(HttpServerExchange exchange) |
String |
RelativePathAttribute.readAttribute(HttpServerExchange exchange) |
String |
QueryStringAttribute.readAttribute(HttpServerExchange exchange) |
String |
QueryParameterAttribute.readAttribute(HttpServerExchange exchange) |
String |
PredicateContextAttribute.readAttribute(HttpServerExchange exchange) |
String |
LocalServerNameAttribute.readAttribute(HttpServerExchange exchange) |
String |
LocalPortAttribute.readAttribute(HttpServerExchange exchange) |
String |
LocalIPAttribute.readAttribute(HttpServerExchange exchange) |
String |
IdentUsernameAttribute.readAttribute(HttpServerExchange exchange) |
String |
ExchangeAttribute.readAttribute(HttpServerExchange exchange)
Resolve the attribute from the HTTP server exchange.
|
String |
DateTimeAttribute.readAttribute(HttpServerExchange exchange) |
String |
CookieAttribute.readAttribute(HttpServerExchange exchange) |
String |
ConstantExchangeAttribute.readAttribute(HttpServerExchange exchange) |
String |
CompositeExchangeAttribute.readAttribute(HttpServerExchange exchange) |
String |
BytesSentAttribute.readAttribute(HttpServerExchange exchange) |
static String |
ExchangeAttributes.resolve(HttpServerExchange exchange,
ExchangeAttribute[] attributes) |
void |
ThreadNameAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
SslSessionIdAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
SslClientCertAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
SslCipherAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ResponseTimeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ResponseHeaderAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ResponseCodeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestURLAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestProtocolAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestMethodAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestLineAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestHeaderAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RemoteUserAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RemoteIPAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RelativePathAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
QueryStringAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
QueryParameterAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
PredicateContextAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
LocalServerNameAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
LocalPortAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
LocalIPAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
IdentUsernameAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ExchangeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue)
Sets a new value for the attribute.
|
void |
DateTimeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
CookieAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ConstantExchangeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
CompositeExchangeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
BytesSentAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
Constructor and Description |
---|
ChunkedStreamSourceConduit(org.xnio.conduits.StreamSourceConduit next,
io.undertow.conduits.ChunkedStreamSourceConduit.BufferWrapper bufferWrapper,
ConduitListener<? super ChunkedStreamSourceConduit> finishListener,
Attachable attachable,
HttpServerExchange exchange) |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
IoCallback.onComplete(HttpServerExchange exchange,
Sender sender) |
void |
DefaultIoCallback.onComplete(HttpServerExchange exchange,
Sender sender) |
void |
IoCallback.onException(HttpServerExchange exchange,
Sender sender,
IOException exception) |
void |
DefaultIoCallback.onException(HttpServerExchange exchange,
Sender sender,
IOException exception) |
Constructor and Description |
---|
AsyncSenderImpl(HttpServerExchange exchange) |
BlockingSenderImpl(HttpServerExchange exchange,
OutputStream outputStream) |
UndertowInputStream(HttpServerExchange exchange) |
UndertowOutputStream(HttpServerExchange exchange)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
PredicatesHandler.handleRequest(HttpServerExchange exchange) |
boolean |
RegularExpressionPredicate.resolve(HttpServerExchange value) |
boolean |
Predicate.resolve(HttpServerExchange value) |
boolean |
PathTemplatePredicate.resolve(HttpServerExchange exchange) |
boolean |
AuthenticationRequiredPredicate.resolve(HttpServerExchange value) |
Modifier and Type | Method and Description |
---|---|
HttpServerExchange |
SecurityNotification.getExchange() |
Modifier and Type | Method and 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)
Instantiates and returns a
SecurityContext 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.
|
Constructor and Description |
---|
SecurityNotification(HttpServerExchange exchange,
SecurityNotification.EventType eventType,
Account account,
String mechanism,
boolean programatic,
String message,
boolean cachingRequired) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractConfidentialityHandler.confidentialityRequired(HttpServerExchange exchange)
Use the HttpServerExchange to identify if confidentiality is required.
|
protected URI |
SinglePortConfidentialityHandler.getRedirectURI(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,
int port) |
void |
SecurityInitialHandler.handleRequest(HttpServerExchange exchange) |
void |
NotificationReceiverHandler.handleRequest(HttpServerExchange exchange) |
void |
AuthenticationMechanismsHandler.handleRequest(HttpServerExchange exchange) |
void |
AuthenticationConstraintHandler.handleRequest(HttpServerExchange exchange) |
void |
AuthenticationCallHandler.handleRequest(HttpServerExchange exchange)
Only allow the request through if successfully authenticated or if authentication is not required.
|
void |
AbstractConfidentialityHandler.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.
|
Constructor and Description |
---|
SecurityContextImpl(HttpServerExchange exchange,
AuthenticationMode authenticationMode,
IdentityManager identityManager) |
SecurityContextImpl(HttpServerExchange exchange,
IdentityManager identityManager) |
Modifier and Type | Field and Description |
---|---|
protected HttpServerExchange |
AbstractServerConnection.current |
Modifier and Type | Method and Description |
---|---|
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 a
ConduitWrapper to the request wrapper chain. |
HttpServerExchange |
HttpServerExchange.addResponseWrapper(ConduitWrapper<org.xnio.conduits.StreamSinkConduit> wrapper)
Adds a
ConduitWrapper to the response wrapper chain. |
HttpServerExchange |
HttpServerExchange.dispatch() |
HttpServerExchange |
HttpServerExchange.dispatch(Executor executor,
HttpHandler handler) |
HttpServerExchange |
HttpServerExchange.dispatch(Executor executor,
Runnable runnable)
Dispatches this request to the given executor.
|
HttpServerExchange |
HttpServerExchange.dispatch(HttpHandler handler) |
HttpServerExchange |
HttpServerExchange.dispatch(Runnable runnable)
Dispatches this request to the XNIO worker thread pool.
|
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 protocol
|
HttpServerExchange |
HttpServerExchange.setQueryString(String queryString) |
HttpServerExchange |
HttpServerExchange.setRelativePath(String relativePath)
Set the request relative path.
|
HttpServerExchange |
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 URI
|
HttpServerExchange |
HttpServerExchange.setRequestURI(String requestURI,
boolean containsHost)
Sets the request URI
|
HttpServerExchange |
HttpServerExchange.setResolvedPath(String resolvedPath)
Set the resolved path.
|
HttpServerExchange |
HttpServerExchange.setResponseCode(int responseCode)
Change the response code for this response.
|
HttpServerExchange |
HttpServerExchange.setResponseContentLength(long length)
Sets the response content length
|
HttpServerExchange |
HttpServerExchange.setResponseCookie(Cookie cookie)
Sets a response cookie
|
HttpServerExchange |
HttpServerExchange.setSourceAddress(InetSocketAddress sourceAddress)
Sets the source address of the HTTP request.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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.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 |
JvmRouteHandler.handleRequest(HttpServerExchange exchange) |
void |
HttpHandler.handleRequest(HttpServerExchange exchange)
Handle the request.
|
void |
HttpUpgradeListener.handleUpgrade(org.xnio.StreamConnection streamConnection,
HttpServerExchange exchange)
Method that is called once the upgrade is complete.
|
void |
SSLSessionInfo.renegotiate(HttpServerExchange exchange,
org.xnio.SslClientAuthMode sslClientAuthMode)
Renegotiate in a blocking manner.
|
void |
ConnectionSSLSessionInfo.renegotiate(HttpServerExchange exchange,
org.xnio.SslClientAuthMode sslClientAuthMode) |
void |
BasicSSLSessionInfo.renegotiate(HttpServerExchange exchange,
org.xnio.SslClientAuthMode sslClientAuthMode) |
void |
ConnectionSSLSessionInfo.renegotiateBufferRequest(HttpServerExchange exchange,
org.xnio.SslClientAuthMode newAuthMode) |
void |
ConnectionSSLSessionInfo.renegotiateNoRequest(HttpServerExchange exchange,
org.xnio.SslClientAuthMode newAuthMode) |
abstract HttpServerExchange |
ServerConnection.sendOutOfBandResponse(HttpServerExchange exchange)
Sends an out of band response, such as a HTTP 100-continue response.
|
static void |
Connectors.setRequestStartTime(HttpServerExchange exchange) |
static void |
Connectors.terminateRequest(HttpServerExchange exchange) |
static void |
Connectors.terminateResponse(HttpServerExchange exchange) |
static void |
Connectors.ungetRequestBytes(HttpServerExchange exchange,
org.xnio.Pooled<ByteBuffer>... buffers)
Attached buffered data to the exchange.
|
T |
ConduitWrapper.wrap(ConduitFactory<T> factory,
HttpServerExchange exchange)
Wrap the conduit.
|
Constructor and Description |
---|
HttpServerExchange.WrapperConduitFactory(ConduitWrapper<T>[] wrappers,
int wrapperCount,
T first,
HttpServerExchange exchange) |
HttpServerExchange.WrapperStreamSinkConduitFactory(ConduitWrapper<org.xnio.conduits.StreamSinkConduit>[] wrappers,
int wrapperCount,
HttpServerExchange exchange,
org.xnio.conduits.StreamSinkConduit first) |
Modifier and Type | Method and Description |
---|---|
void |
URLDecodingHandler.handleRequest(HttpServerExchange exchange) |
void |
SSLHeaderHandler.handleRequest(HttpServerExchange exchange) |
void |
SetHeaderHandler.handleRequest(HttpServerExchange exchange) |
void |
SetAttributeHandler.handleRequest(HttpServerExchange exchange) |
void |
ResponseCodeHandler.handleRequest(HttpServerExchange exchange) |
void |
RequestLimitingHandler.handleRequest(HttpServerExchange exchange) |
void |
RequestDumplingHandler.handleRequest(HttpServerExchange exchange) |
void |
RedirectHandler.handleRequest(HttpServerExchange exchange) |
void |
ProxyPeerAddressHandler.handleRequest(HttpServerExchange exchange) |
void |
PredicateHandler.handleRequest(HttpServerExchange exchange) |
void |
PredicateContextHandler.handleRequest(HttpServerExchange exchange) |
void |
PeerNameResolvingHandler.handleRequest(HttpServerExchange exchange) |
void |
PathTemplateHandler.handleRequest(HttpServerExchange exchange) |
void |
PathHandler.handleRequest(HttpServerExchange exchange) |
void |
OriginHandler.handleRequest(HttpServerExchange exchange) |
void |
NameVirtualHostHandler.handleRequest(HttpServerExchange exchange) |
void |
MetricsHandler.handleRequest(HttpServerExchange exchange) |
void |
JDBCLogHandler.handleRequest(HttpServerExchange exchange) |
void |
IPAddressAccessControlHandler.handleRequest(HttpServerExchange exchange) |
void |
HttpTraceHandler.handleRequest(HttpServerExchange exchange) |
void |
HttpContinueReadHandler.handleRequest(HttpServerExchange exchange) |
void |
HttpContinueAcceptingHandler.handleRequest(HttpServerExchange exchange) |
void |
GracefulShutdownHandler.handleRequest(HttpServerExchange exchange) |
void |
DisallowedMethodsHandler.handleRequest(HttpServerExchange exchange) |
void |
DisableCacheHandler.handleRequest(HttpServerExchange exchange) |
void |
DateHandler.handleRequest(HttpServerExchange exchange)
Deprecated.
|
void |
ChannelUpgradeHandler.handleRequest(HttpServerExchange exchange) |
void |
CanonicalPathHandler.handleRequest(HttpServerExchange exchange) |
void |
BlockingHandler.handleRequest(HttpServerExchange exchange) |
void |
AttachmentHandler.handleRequest(HttpServerExchange exchange) |
void |
AllowedMethodsHandler.handleRequest(HttpServerExchange exchange) |
void |
AccessControlListHandler.handleRequest(HttpServerExchange exchange) |
void |
RequestLimit.handleRequest(HttpServerExchange exchange,
HttpHandler next) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
AccessLogHandler.handleRequest(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
void |
CacheHandler.handleRequest(HttpServerExchange exchange) |
Constructor and Description |
---|
CachedHttpRequest(HttpServerExchange exchange) |
ResponseCache(DirectBufferCache cache,
HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
AllowedContentEncodings |
ContentEncodingRepository.getContentEncodings(HttpServerExchange exchange)
Gets all allow
|
ContentEncodedResource |
ContentEncodedResourceManager.getResource(Resource resource,
HttpServerExchange exchange)
Gets a pre-encoded resource.
|
void |
EncodingHandler.handleRequest(HttpServerExchange exchange) |
org.xnio.conduits.StreamSinkConduit |
AllowedContentEncodings.wrap(ConduitFactory<org.xnio.conduits.StreamSinkConduit> factory,
HttpServerExchange exchange) |
Constructor and Description |
---|
AllowedContentEncodings(HttpServerExchange exchange,
List<io.undertow.server.handlers.encoding.EncodingMapping> encodings) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleErrorPageHandler.handleRequest(HttpServerExchange exchange) |
void |
FileErrorPageHandler.handleRequest(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
FormDataParser |
MultiPartParserDefinition.create(HttpServerExchange exchange) |
FormDataParser |
FormParserFactory.ParserDefinition.create(HttpServerExchange exchange) |
FormDataParser |
FormEncodedDataDefinition.create(HttpServerExchange exchange) |
FormDataParser |
FormParserFactory.createParser(HttpServerExchange exchange)
Creates a form data parser for this request.
|
void |
EagerFormParsingHandler.handleRequest(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
void |
ProxyCallback.completed(HttpServerExchange exchange,
T result) |
void |
ProxyCallback.failed(HttpServerExchange exchange) |
protected LoadBalancingProxyClient.Host |
LoadBalancingProxyClient.findStickyHost(HttpServerExchange exchange) |
ProxyClient.ProxyTarget |
SimpleProxyClientProvider.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 |
LoadBalancingProxyClient.findTarget(HttpServerExchange exchange) |
void |
SimpleProxyClientProvider.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 |
LoadBalancingProxyClient.getConnection(ProxyClient.ProxyTarget target,
HttpServerExchange exchange,
ProxyCallback<ProxyConnection> callback,
long timeout,
TimeUnit timeUnit) |
void |
ProxyHandler.handleRequest(HttpServerExchange exchange) |
boolean |
ExclusivityChecker.isExclusivityRequired(HttpServerExchange exchange) |
void |
ConnectionPoolManager.queuedConnectionFailed(ProxyClient.ProxyTarget proxyTarget,
HttpServerExchange exchange,
ProxyCallback<ProxyConnection> callback,
long timeoutMills)
This is invoked when the target thread pool transitions to problem status.
|
protected LoadBalancingProxyClient.Host |
LoadBalancingProxyClient.selectHost(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
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 listing
|
void |
URLResource.serve(Sender sender,
HttpServerExchange exchange,
IoCallback completionCallback) |
void |
Resource.serve(Sender sender,
HttpServerExchange exchange,
IoCallback completionCallback)
Serve the resource, and call the provided callback when complete.
|
void |
FileResource.serve(Sender sender,
HttpServerExchange exchange,
IoCallback callback) |
void |
CachedResource.serve(Sender sender,
HttpServerExchange exchange,
IoCallback completionCallback) |
Modifier and Type | Method and Description |
---|---|
HttpServerExchange |
AjpServerConnection.sendOutOfBandResponse(HttpServerExchange exchange) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
AjpServerRequestConduit(org.xnio.conduits.StreamSourceConduit delegate,
HttpServerExchange exchange,
io.undertow.server.protocol.ajp.AjpServerResponseConduit ajpResponseConduit,
Long size,
ConduitListener<? super AjpServerRequestConduit> finishListener) |
Modifier and Type | Method and Description |
---|---|
HttpServerExchange |
HttpServerConnection.sendOutOfBandResponse(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
static HttpContinue.ContinueResponseSender |
HttpContinue.createResponseSender(HttpServerExchange exchange)
Creates a response sender that can be used to send a HTTP 100-continue response.
|
void |
PipeliningBufferingStreamSinkConduit.exchangeComplete(HttpServerExchange exchange) |
protected void |
HttpServerConnection.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 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 IO
|
HttpServerExchange |
HttpServerConnection.sendOutOfBandResponse(HttpServerExchange exchange) |
void |
PipeliningBufferingStreamSinkConduit.setupPipelineBuffer(HttpServerExchange exchange)
Gets the channel wrapper that implements the buffering
|
Modifier and Type | Method and Description |
---|---|
String |
Session.changeSessionId(HttpServerExchange exchange,
SessionConfig config)
Generate a new session id for this session, and return the new id.
|
void |
SslSessionConfig.clearSession(HttpServerExchange exchange,
String sessionId) |
void |
SessionCookieConfig.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 |
PathParameterSessionConfig.clearSession(HttpServerExchange exchange,
String sessionId) |
Session |
SessionManager.createSession(HttpServerExchange serverExchange,
SessionConfig sessionCookieConfig)
Creates a new session.
|
Session |
InMemorySessionManager.createSession(HttpServerExchange serverExchange,
SessionConfig config) |
String |
SslSessionConfig.findSessionId(HttpServerExchange exchange) |
String |
SessionCookieConfig.findSessionId(HttpServerExchange exchange) |
String |
SessionConfig.findSessionId(HttpServerExchange exchange)
Retrieves a session id of an existing session from an exchange.
|
String |
PathParameterSessionConfig.findSessionId(HttpServerExchange exchange) |
Session |
SessionManager.getSession(HttpServerExchange serverExchange,
SessionConfig sessionCookieConfig) |
Session |
InMemorySessionManager.getSession(HttpServerExchange serverExchange,
SessionConfig config) |
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 |
SslSessionConfig.sessionCookieSource(HttpServerExchange exchange) |
SessionConfig.SessionCookieSource |
SessionCookieConfig.sessionCookieSource(HttpServerExchange exchange) |
SessionConfig.SessionCookieSource |
SessionConfig.sessionCookieSource(HttpServerExchange exchange) |
SessionConfig.SessionCookieSource |
PathParameterSessionConfig.sessionCookieSource(HttpServerExchange exchange) |
void |
SessionListeners.sessionCreated(Session session,
HttpServerExchange exchange) |
void |
SessionListener.sessionCreated(Session session,
HttpServerExchange exchange)
Called when a session is created
|
void |
SessionListeners.sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason) |
void |
SessionListener.sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason)
Called when a session is destroyed
|
void |
SslSessionConfig.setSessionId(HttpServerExchange exchange,
String sessionId) |
void |
SessionCookieConfig.setSessionId(HttpServerExchange exchange,
String sessionId) |
void |
SessionConfig.setSessionId(HttpServerExchange exchange,
String sessionId)
Attaches the session to the exchange.
|
void |
PathParameterSessionConfig.setSessionId(HttpServerExchange exchange,
String sessionId) |
Modifier and Type | Method and Description |
---|---|
static void |
DateUtils.addDateHeaderIfRequired(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 exist
|
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 void |
URLUtils.parsePathParms(String string,
HttpServerExchange exchange,
String charset,
boolean doDecode) |
static void |
URLUtils.parseQueryString(String string,
HttpServerExchange exchange,
String charset,
boolean doDecode) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketProtocolHandshakeHandler.handleRequest(HttpServerExchange exchange) |
Constructor and Description |
---|
AsyncWebSocketHttpServerExchange(HttpServerExchange exchange) |
BlockingWebSocketHttpServerExchange(HttpServerExchange exchange) |
Copyright © 2014 JBoss by Red Hat. All rights reserved.