Modifier and Type | Method and Description |
---|---|
String | TransportProtocolAttribute.readAttribute(HttpServerExchange exchange) |
String | ThreadNameAttribute.readAttribute(HttpServerExchange exchange) |
String | SubstituteEmptyWrapper.SubstituteEmptyAttribute.readAttribute(HttpServerExchange exchange) |
String | SslSessionIdAttribute.readAttribute(HttpServerExchange exchange) |
String | SslClientCertAttribute.readAttribute(HttpServerExchange exchange) |
String | SslCipherAttribute.readAttribute(HttpServerExchange exchange) |
String | SecureExchangeAttribute.readAttribute(HttpServerExchange exchange) |
String | ResponseTimeAttribute.readAttribute(HttpServerExchange exchange) |
String | ResponseHeaderAttribute.readAttribute(HttpServerExchange exchange) |
String | ResponseCodeAttribute.readAttribute(HttpServerExchange exchange) |
String | RequestURLAttribute.readAttribute(HttpServerExchange exchange) |
String | RequestSchemeAttribute.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 | QuotingExchangeAttribute.readAttribute(HttpServerExchange exchange) |
String | QueryStringAttribute.readAttribute(HttpServerExchange exchange) |
String | QueryParameterAttribute.readAttribute(HttpServerExchange exchange) |
String | PredicateContextAttribute.readAttribute(HttpServerExchange exchange) |
String | PathParameterAttribute.readAttribute(HttpServerExchange exchange) |
String | LocalServerNameAttribute.readAttribute(HttpServerExchange exchange) |
String | LocalPortAttribute.readAttribute(HttpServerExchange exchange) |
String | LocalIPAttribute.readAttribute(HttpServerExchange exchange) |
String | IdentUsernameAttribute.readAttribute(HttpServerExchange exchange) |
String | HostAndPortAttribute.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) |
String | AuthenticationTypeExchangeAttribute.readAttribute(HttpServerExchange exchange) |
static String | ExchangeAttributes.resolve(HttpServerExchange exchange, ExchangeAttribute[] attributes) |
void | TransportProtocolAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ThreadNameAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | SubstituteEmptyWrapper.SubstituteEmptyAttribute.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 | SecureExchangeAttribute.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 | RequestSchemeAttribute.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 | QuotingExchangeAttribute.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 | PathParameterAttribute.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 | HostAndPortAttribute.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) |
void | AuthenticationTypeExchangeAttribute.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 | UndertowTestHandler.handleRequest(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
void | Receiver.ErrorCallback.error(HttpServerExchange exchange, IOException e) |
void | Receiver.FullBytesCallback.handle(HttpServerExchange exchange, byte[] message) |
void | Receiver.PartialBytesCallback.handle(HttpServerExchange exchange, byte[] message, boolean last) |
void | Receiver.FullStringCallback.handle(HttpServerExchange exchange, String message) |
void | Receiver.PartialStringCallback.handle(HttpServerExchange exchange, String message, boolean last) |
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 |
---|
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. |
Modifier and Type | Method and Description |
---|---|
void | PredicatesHandler.handleRequest(HttpServerExchange exchange) |
boolean | SecurePredicate.resolve(HttpServerExchange value) |
boolean | RegularExpressionPredicate.resolve(HttpServerExchange value) |
boolean | Predicate.resolve(HttpServerExchange value) |
boolean | PathTemplatePredicate.resolve(HttpServerExchange exchange) |
boolean | ContainsPredicate.resolve(HttpServerExchange value) |
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) Deprecated. 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. |
SecurityContext | SecurityInitialHandler.createSecurityContext(HttpServerExchange exchange) |
abstract SecurityContext | AbstractSecurityContextAssociationHandler.createSecurityContext(HttpServerExchange exchange) |
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 | 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 | AbstractSecurityContextAssociationHandler.handleRequest(HttpServerExchange exchange) |
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. |
Modifier and Type | Field and Description |
---|---|
protected HttpServerExchange | AbstractSecurityContext.exchange |
Constructor and Description |
---|
AbstractSecurityContext(HttpServerExchange exchange) |
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.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 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.setReasonPhrase(String message) Sets the HTTP reason phrase. |
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 statusCode) Deprecated. |
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.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. |
Modifier and Type | Method and Description |
---|---|
void | ResponseCommitListener.beforeCommit(HttpServerExchange exchange) Invoked before the first bytes of the response are sent to the client |
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 | RoutingHandler.handleRequest(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. |
static boolean | Connectors.isEntityBodyAllowed(HttpServerExchange exchange) |
protected abstract void | ServerConnection.maxEntitySizeUpdated(HttpServerExchange exchange) Callback that is invoked if the max entity size is updated. |
protected void | AbstractServerConnection.maxEntitySizeUpdated(HttpServerExchange exchange) |
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.setExchangeRequestPath(HttpServerExchange exchange, String encodedPath, String charset, boolean decode, boolean allowEncodedSlash, StringBuilder decodeBuffer) Sets the request path and query parameters, decoding to the requested charset. |
static void | Connectors.setRequestStartTime(HttpServerExchange exchange) |
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. |
T | ConduitWrapper.wrap(ConduitFactory<T> factory, HttpServerExchange exchange) Wrap the conduit. |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
protected Session | LearningPushHandler.getSession(HttpServerExchange exchange) |
void | URLDecodingHandler.handleRequest(HttpServerExchange exchange) |
void | SSLHeaderHandler.handleRequest(HttpServerExchange exchange) |
void | SetHeaderHandler.handleRequest(HttpServerExchange exchange) |
void | SetAttributeHandler.handleRequest(HttpServerExchange exchange) |
void | ResponseRateLimitingHandler.handleRequest(HttpServerExchange exchange) |
void | ResponseCodeHandler.handleRequest(HttpServerExchange exchange) |
void | RequestLimitingHandler.handleRequest(HttpServerExchange exchange) |
void | RequestDumpingHandler.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 | PathSeparatorHandler.handleRequest(HttpServerExchange exchange) |
void | PathHandler.handleRequest(HttpServerExchange exchange) |
void | OriginHandler.handleRequest(HttpServerExchange exchange) |
void | NameVirtualHostHandler.handleRequest(HttpServerExchange exchange) |
void | MetricsHandler.handleRequest(HttpServerExchange exchange) |
void | LearningPushHandler.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 | ExceptionHandler.handleRequest(HttpServerExchange exchange) |
void | DisallowedMethodsHandler.handleRequest(HttpServerExchange exchange) |
void | DisableCacheHandler.handleRequest(HttpServerExchange exchange) |
void | DateHandler.handleRequest(HttpServerExchange exchange) Deprecated. |
void | ConnectHandler.handleRequest(HttpServerExchange exchange) |
void | ConfiguredPushHandler.handleRequest(HttpServerExchange exchange) |
void | ChannelUpgradeHandler.handleRequest(HttpServerExchange exchange) |
void | CanonicalPathHandler.handleRequest(HttpServerExchange exchange) |
void | ByteRangeHandler.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 | 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. |
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 | ProxyCallback.queuedRequestFailed(HttpServerExchange exchange) This is invoked when the target connection pool transitions to problem status. |
protected LoadBalancingProxyClient.Host | LoadBalancingProxyClient.selectHost(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
io.undertow.server.handlers.proxy.mod_cluster.Context | ModClusterProxyTarget.resolveContext(HttpServerExchange exchange) Resolve the responsible context handling this request. |
io.undertow.server.handlers.proxy.mod_cluster.Context | ModClusterProxyTarget.ExistingSessionTarget.resolveContext(HttpServerExchange exchange) |
io.undertow.server.handlers.proxy.mod_cluster.Context | ModClusterProxyTarget.BasicTarget.resolveContext(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 | PathResource.serve(Sender sender, HttpServerExchange exchange, IoCallback callback) |
void | CachedResource.serve(Sender sender, HttpServerExchange exchange, IoCallback completionCallback) |
void | URLResource.serveImpl(Sender sender, HttpServerExchange exchange, long start, long end, boolean range, IoCallback completionCallback) |
void | URLResource.serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback) |
void | RangeAwareResource.serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback) Serve the resource, and call the provided callback when complete. |
void | PathResource.serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback callback) |
void | CachedResource.serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback) |
Modifier and Type | Method and Description |
---|---|
void | ServerSentEventHandler.handleRequest(HttpServerExchange exchange) |
Constructor and Description |
---|
ServerSentEventConnection(HttpServerExchange exchange, org.xnio.channels.StreamSinkChannel sink) |
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) |
void | AjpServerConnection.terminateRequestChannel(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 |
void | HttpServerConnection.terminateRequestChannel(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
HttpServerExchange | Http2ServerConnection.sendOutOfBandResponse(HttpServerExchange exchange) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
HttpServerExchange | SpdyServerConnection.sendOutOfBandResponse(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
protected void | SpdyServerConnection.exchangeComplete(HttpServerExchange exchange) |
protected org.xnio.conduits.StreamSinkConduit | SpdyServerConnection.getSinkConduit(HttpServerExchange exchange, org.xnio.conduits.StreamSinkConduit conduit) |
protected void | SpdyServerConnection.maxEntitySizeUpdated(HttpServerExchange exchange) |
HttpServerExchange | SpdyServerConnection.sendOutOfBandResponse(HttpServerExchange exchange) |
void | SpdyServerConnection.terminateRequestChannel(HttpServerExchange exchange) |
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 |
---|---|
void | ServletDispatcher.dispatchToPath(HttpServerExchange exchange, ServletPathMatch pathMatch, javax.servlet.DispatcherType dispatcherType) Dispatches a servlet request to the specified servlet path, changing the current path |
void | ServletDispatcher.dispatchToServlet(HttpServerExchange exchange, ServletChain servletChain, javax.servlet.DispatcherType dispatcherType) Dispatches a servlet request to the specified servlet, without changing the current path |
int | ConfidentialPortManager.getConfidentialPort(HttpServerExchange exchange) Obtain the port number to redirect the current request to to provide the transport guarantee of CONDIFENTIAL. |
boolean | LoggingExceptionHandler.handleThrowable(HttpServerExchange exchange, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, Throwable t) |
boolean | ExceptionHandler.handleThrowable(HttpServerExchange exchange, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, Throwable throwable) Handles an exception. |
ThreadSetupAction.Handle | ThreadSetupAction.setup(HttpServerExchange exchange) Setup any thread local context |
Modifier and Type | Method and Description |
---|---|
String | ServletSessionIdAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletSessionAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletRequestURLAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletRequestParameterAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletRequestLocaleAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletRequestLineAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletRequestedSessionIdValidAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletRequestedSessionIdFromCookieAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletRequestedSessionIdAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletRequestCharacterEncodingAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletRequestAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletRelativePathAttribute.readAttribute(HttpServerExchange exchange) |
String | ServletContextAttribute.readAttribute(HttpServerExchange exchange) |
void | ServletSessionIdAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletSessionAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletRequestURLAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletRequestParameterAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletRequestLocaleAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletRequestLineAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletRequestedSessionIdValidAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletRequestedSessionIdFromCookieAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletRequestedSessionIdAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletRequestCharacterEncodingAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletRequestAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletRelativePathAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
void | ServletContextAttribute.writeAttribute(HttpServerExchange exchange, String newValue) |
Modifier and Type | Method and Description |
---|---|
void | ServletUpgradeListener.handleUpgrade(org.xnio.StreamConnection channel, HttpServerExchange exchange) |
void | SessionListenerBridge.sessionCreated(Session session, HttpServerExchange exchange) |
void | SessionListenerBridge.sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason) |
ThreadSetupAction.Handle | ContextClassLoaderSetupAction.setup(HttpServerExchange exchange) |
ThreadSetupAction.Handle | CompositeThreadSetupAction.setup(HttpServerExchange exchange) |
Constructor and Description |
---|
BlockingWriterSenderImpl(HttpServerExchange exchange, PrintWriter writer, String charset) |
ServletBlockingHttpExchange(HttpServerExchange exchange) |
ServletUpgradeListener(InstanceHandle<T> instance, ThreadSetupAction threadSetupAction, HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
HttpServerExchange | ServletRequestContext.getExchange() |
Modifier and Type | Method and Description |
---|---|
void | ServletInitialHandler.dispatchToPath(HttpServerExchange exchange, ServletPathMatch pathInfo, javax.servlet.DispatcherType dispatcherType) |
void | ServletInitialHandler.dispatchToServlet(HttpServerExchange exchange, ServletChain servletchain, javax.servlet.DispatcherType dispatcherType) |
void | ServletInitialHandler.handleFirstRequest(HttpServerExchange exchange, ServletChain servletChain, ServletRequestContext servletRequestContext, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) |
void | SessionRestoringHandler.handleRequest(HttpServerExchange exchange) |
void | ServletInitialHandler.handleRequest(HttpServerExchange exchange) |
void | ServletHandler.handleRequest(HttpServerExchange exchange) |
void | ServletDispatchingHandler.handleRequest(HttpServerExchange exchange) |
void | FilterHandler.handleRequest(HttpServerExchange exchange) |
static void | ServletDebugPageHandler.handleRequest(HttpServerExchange exchange, ServletRequestContext servletRequestContext, Throwable exception) |
Modifier and Type | Method and Description |
---|---|
protected boolean | ServletConfidentialityConstraintHandler.confidentialityRequired(HttpServerExchange exchange) |
protected URI | ServletConfidentialityConstraintHandler.getRedirectURI(HttpServerExchange exchange) |
protected Session | ServletSingleSignOnAuthenticationMechainism.getSession(HttpServerExchange exchange) |
protected void | ServletFormAuthenticationMechanism.handleRedirectBack(HttpServerExchange exchange) |
void | SSLInformationAssociationHandler.handleRequest(HttpServerExchange exchange) |
void | ServletSecurityRoleHandler.handleRequest(HttpServerExchange exchange) |
void | ServletSecurityConstraintHandler.handleRequest(HttpServerExchange exchange) |
void | ServletConfidentialityConstraintHandler.handleRequest(HttpServerExchange exchange) |
void | ServletAuthenticationCallHandler.handleRequest(HttpServerExchange exchange) Only allow the request through if successfully authenticated or if authentication is not required. |
void | CachedAuthenticatedSessionHandler.handleRequest(HttpServerExchange exchange) |
protected boolean | ServletAuthenticationConstraintHandler.isAuthenticationRequired(HttpServerExchange exchange) |
protected Integer | ServletFormAuthenticationMechanism.servePage(HttpServerExchange exchange, String location) |
protected void | ServletFormAuthenticationMechanism.storeInitialLocation(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
boolean | FilePredicate.resolve(HttpServerExchange value) |
boolean | DispatcherTypePredicate.resolve(HttpServerExchange value) |
boolean | DirectoryPredicate.resolve(HttpServerExchange value) |
Modifier and Type | Method and Description |
---|---|
HttpServerExchange | HttpServletResponseImpl.getExchange() |
HttpServerExchange | HttpServletRequestImpl.getExchange() |
Modifier and Type | Method and Description |
---|---|
void | SessionCookieConfigImpl.clearSession(HttpServerExchange exchange, String sessionId) |
String | SessionCookieConfigImpl.findSessionId(HttpServerExchange exchange) |
HttpSessionImpl | ServletContextImpl.getSession(HttpServerExchange exchange, boolean create) Gets the session |
HttpSessionImpl | ServletContextImpl.getSession(ServletContextImpl originalServletContext, HttpServerExchange exchange, boolean create) |
SessionConfig.SessionCookieSource | SessionCookieConfigImpl.sessionCookieSource(HttpServerExchange exchange) |
void | SessionCookieConfigImpl.setSessionId(HttpServerExchange exchange, String sessionId) |
void | ServletContextImpl.updateSessionAccessTime(HttpServerExchange exchange) |
Constructor and Description |
---|
AsyncContextImpl(HttpServerExchange exchange, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, ServletRequestContext servletRequestContext, boolean requestSupplied, AsyncContextImpl previousAsyncContext) |
HttpServletRequestImpl(HttpServerExchange exchange, ServletContextImpl servletContext) |
HttpServletResponseImpl(HttpServerExchange exchange, ServletContextImpl servletContext) |
Modifier and Type | Method and Description |
---|---|
static void | SavedRequest.tryRestoreRequest(HttpServerExchange exchange, javax.servlet.http.HttpSession session) |
static void | SavedRequest.trySaveRequest(HttpServerExchange exchange) |
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 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 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, Set<WebSocketChannel> peerConnections) |
BlockingWebSocketHttpServerExchange(HttpServerExchange exchange, Set<WebSocketChannel> peerConnections) |
Copyright © 2015 JBoss by Red Hat. All rights reserved.