| Modifier and Type | Method and Description |
|---|---|
void |
UndertowLogger_$logger.cannotProxyStartedRequest(HttpServerExchange exchange) |
void |
UndertowLogger.cannotProxyStartedRequest(HttpServerExchange exchange) |
void |
UndertowLogger_$logger.undertowRequestFailed(Throwable t,
HttpServerExchange exchange) |
void |
UndertowLogger.undertowRequestFailed(Throwable t,
HttpServerExchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
String |
RequestMethodAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestLineAttribute.readAttribute(HttpServerExchange exchange) |
String |
SecureExchangeAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestPathAttribute.readAttribute(HttpServerExchange exchange) |
String |
CookieAttribute.readAttribute(HttpServerExchange exchange) |
String |
RemoteUserAttribute.readAttribute(HttpServerExchange exchange) |
String |
ConstantExchangeAttribute.readAttribute(HttpServerExchange exchange) |
String |
RemoteIPAttribute.readAttribute(HttpServerExchange exchange) |
String |
SslClientCertAttribute.readAttribute(HttpServerExchange exchange) |
String |
CompositeExchangeAttribute.readAttribute(HttpServerExchange exchange) |
String |
SslCipherAttribute.readAttribute(HttpServerExchange exchange) |
String |
ThreadNameAttribute.readAttribute(HttpServerExchange exchange) |
String |
ResponseTimeAttribute.readAttribute(HttpServerExchange exchange) |
String |
TransportProtocolAttribute.readAttribute(HttpServerExchange exchange) |
String |
NullAttribute.readAttribute(HttpServerExchange exchange) |
String |
PredicateContextAttribute.readAttribute(HttpServerExchange exchange) |
String |
RemoteHostAttribute.readAttribute(HttpServerExchange exchange) |
String |
BytesSentAttribute.readAttribute(HttpServerExchange exchange) |
String |
QueryStringAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestProtocolAttribute.readAttribute(HttpServerExchange exchange) |
String |
LocalIPAttribute.readAttribute(HttpServerExchange exchange) |
String |
QueryParameterAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestHeaderAttribute.readAttribute(HttpServerExchange exchange) |
String |
HostAndPortAttribute.readAttribute(HttpServerExchange exchange) |
String |
ExchangeAttribute.readAttribute(HttpServerExchange exchange)
Resolve the attribute from the HTTP server exchange.
|
String |
QuotingExchangeAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestURLAttribute.readAttribute(HttpServerExchange exchange) |
String |
AuthenticationTypeExchangeAttribute.readAttribute(HttpServerExchange exchange) |
String |
DateTimeAttribute.readAttribute(HttpServerExchange exchange) |
String |
ResolvedPathAttribute.readAttribute(HttpServerExchange exchange) |
String |
LocalPortAttribute.readAttribute(HttpServerExchange exchange) |
String |
SslSessionIdAttribute.readAttribute(HttpServerExchange exchange) |
String |
RelativePathAttribute.readAttribute(HttpServerExchange exchange) |
String |
ResponseCodeAttribute.readAttribute(HttpServerExchange exchange) |
String |
SubstituteEmptyWrapper.SubstituteEmptyAttribute.readAttribute(HttpServerExchange exchange) |
String |
IdentUsernameAttribute.readAttribute(HttpServerExchange exchange) |
String |
LocalServerNameAttribute.readAttribute(HttpServerExchange exchange) |
String |
RequestSchemeAttribute.readAttribute(HttpServerExchange exchange) |
String |
ResponseHeaderAttribute.readAttribute(HttpServerExchange exchange) |
String |
PathParameterAttribute.readAttribute(HttpServerExchange exchange) |
static String |
ExchangeAttributes.resolve(HttpServerExchange exchange,
ExchangeAttribute[] attributes) |
void |
RequestMethodAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestLineAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
SecureExchangeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestPathAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
CookieAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RemoteUserAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ConstantExchangeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RemoteIPAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
SslClientCertAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
CompositeExchangeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
SslCipherAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ThreadNameAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ResponseTimeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
TransportProtocolAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
NullAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
PredicateContextAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RemoteHostAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
BytesSentAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
QueryStringAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestProtocolAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
LocalIPAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
QueryParameterAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestHeaderAttribute.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 |
QuotingExchangeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestURLAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
AuthenticationTypeExchangeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
DateTimeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ResolvedPathAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
LocalPortAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
SslSessionIdAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RelativePathAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ResponseCodeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
SubstituteEmptyWrapper.SubstituteEmptyAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
IdentUsernameAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
LocalServerNameAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
RequestSchemeAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
ResponseHeaderAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
void |
PathParameterAttribute.writeAttribute(HttpServerExchange exchange,
String newValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
PredicatesHandler.handleRequest(HttpServerExchange exchange) |
boolean |
PathMatchPredicate.resolve(HttpServerExchange value) |
boolean |
Predicate.resolve(HttpServerExchange value) |
boolean |
MethodPredicate.resolve(HttpServerExchange value) |
boolean |
PathPrefixPredicate.resolve(HttpServerExchange value) |
boolean |
MaxContentSizePredicate.resolve(HttpServerExchange value) |
boolean |
FalsePredicate.resolve(HttpServerExchange value) |
boolean |
ExistsPredicate.resolve(HttpServerExchange value) |
boolean |
MinContentSizePredicate.resolve(HttpServerExchange value) |
boolean |
PathTemplatePredicate.resolve(HttpServerExchange exchange) |
boolean |
AuthenticationRequiredPredicate.resolve(HttpServerExchange value) |
boolean |
SecurePredicate.resolve(HttpServerExchange value) |
boolean |
IdempotentPredicate.resolve(HttpServerExchange value) |
boolean |
TruePredicate.resolve(HttpServerExchange value) |
boolean |
EqualsPredicate.resolve(HttpServerExchange value) |
boolean |
ContainsPredicate.resolve(HttpServerExchange value) |
boolean |
NotPredicate.resolve(HttpServerExchange value) |
boolean |
RegularExpressionPredicate.resolve(HttpServerExchange value) |
boolean |
PathSuffixPredicate.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 |
AuthenticationCallHandler.handleRequest(HttpServerExchange exchange)
Only allow the request through if successfully authenticated or if authentication is not required.
|
void |
CachedAuthenticatedSessionHandler.handleRequest(HttpServerExchange exchange) |
void |
AbstractConfidentialityHandler.handleRequest(HttpServerExchange exchange) |
void |
AbstractSecurityContextAssociationHandler.handleRequest(HttpServerExchange exchange) |
void |
AuthenticationConstraintHandler.handleRequest(HttpServerExchange exchange) |
void |
AuthenticationMechanismsHandler.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 | 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.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.
|
HttpServerExchange |
HttpServerExchange.protocol(String protocol)
Sets the http getProtocol
|
HttpServerExchange |
HttpServerExchange.requestMethod(String requestMethod)
Set the HTTP request method.
|
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.setQueryString(String queryString) |
HttpServerExchange |
HttpServerExchange.setRelativePath(String relativePath)
Set the request relative path.
|
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.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(Consumer<Object> listener)
Upgrade the channel to a raw socket.
|
HttpServerExchange |
HttpServerExchange.upgradeChannel(String productName,
Consumer<Object> 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
|
void |
SecureCookieCommitListener.beforeCommit(HttpServerExchange exchange) |
void |
ExchangeCompletionListener.exchangeEvent(HttpServerExchange exchange) |
static void |
Connectors.executeRootHandler(HttpHandler handler,
HttpServerExchange exchange) |
static void |
Connectors.flattenCookies(HttpServerExchange exchange)
Flattens the exchange cookie map into the response header map.
|
boolean |
DefaultResponseListener.handleDefaultResponse(HttpServerExchange exchange) |
void |
JvmRouteHandler.handleRequest(HttpServerExchange exchange) |
void |
RoutingHandler.handleRequest(HttpServerExchange exchange) |
void |
HttpHandler.handleRequest(HttpServerExchange exchange)
Handle the request.
|
static boolean |
Connectors.isRunningHandlerChain(HttpServerExchange exchange) |
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 |
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.ungetRequestBytes(HttpServerExchange exchange,
io.netty.buffer.ByteBuf buffer)
Attached buffered data to the exchange.
|
| Modifier and Type | Method and Description |
|---|---|
protected Session |
LearningPushHandler.getSession(HttpServerExchange exchange) |
void |
URLDecodingHandler.handleRequest(HttpServerExchange exchange) |
void |
DisallowedMethodsHandler.handleRequest(HttpServerExchange exchange) |
void |
DisableCacheHandler.handleRequest(HttpServerExchange exchange) |
void |
PredicateContextHandler.handleRequest(HttpServerExchange exchange) |
void |
HttpContinueReadHandler.handleRequest(HttpServerExchange exchange) |
void |
GracefulShutdownHandler.handleRequest(HttpServerExchange exchange) |
void |
StuckThreadDetectionHandler.handleRequest(HttpServerExchange exchange)
Handle the request.
|
void |
BlockingHandler.handleRequest(HttpServerExchange exchange) |
void |
HttpContinueAcceptingHandler.handleRequest(HttpServerExchange exchange) |
void |
MetricsHandler.handleRequest(HttpServerExchange exchange) |
void |
AttachmentHandler.handleRequest(HttpServerExchange exchange) |
void |
RequestDumpingHandler.handleRequest(HttpServerExchange exchange) |
void |
LearningPushHandler.handleRequest(HttpServerExchange exchange) |
void |
SecureCookieHandler.handleRequest(HttpServerExchange exchange) |
void |
AllowedMethodsHandler.handleRequest(HttpServerExchange exchange) |
void |
RedirectHandler.handleRequest(HttpServerExchange exchange) |
void |
SetHeaderHandler.handleRequest(HttpServerExchange exchange) |
void |
PredicateHandler.handleRequest(HttpServerExchange exchange) |
void |
ResponseRateLimitingHandler.handleRequest(HttpServerExchange exchange) |
void |
ProxyPeerAddressHandler.handleRequest(HttpServerExchange exchange) |
void |
IPAddressAccessControlHandler.handleRequest(HttpServerExchange exchange) |
void |
PathHandler.handleRequest(HttpServerExchange exchange) |
void |
SetAttributeHandler.handleRequest(HttpServerExchange exchange) |
void |
AccessControlListHandler.handleRequest(HttpServerExchange exchange) |
void |
DateHandler.handleRequest(HttpServerExchange exchange)
Deprecated.
|
void |
PeerNameResolvingHandler.handleRequest(HttpServerExchange exchange) |
void |
ResponseCodeHandler.handleRequest(HttpServerExchange exchange) |
void |
JDBCLogHandler.handleRequest(HttpServerExchange exchange) |
void |
HttpTraceHandler.handleRequest(HttpServerExchange exchange) |
void |
OriginHandler.handleRequest(HttpServerExchange exchange) |
void |
PathSeparatorHandler.handleRequest(HttpServerExchange exchange) |
void |
ForwardedHandler.handleRequest(HttpServerExchange exchange) |
void |
StoredResponseHandler.handleRequest(HttpServerExchange exchange) |
void |
LocalNameResolvingHandler.handleRequest(HttpServerExchange exchange) |
void |
ConfiguredPushHandler.handleRequest(HttpServerExchange exchange) |
void |
ExceptionHandler.handleRequest(HttpServerExchange exchange) |
void |
ByteRangeHandler.handleRequest(HttpServerExchange exchange) |
void |
CanonicalPathHandler.handleRequest(HttpServerExchange exchange) |
void |
NameVirtualHostHandler.handleRequest(HttpServerExchange exchange) |
void |
RequestLimitingHandler.handleRequest(HttpServerExchange exchange) |
void |
PathTemplateHandler.handleRequest(HttpServerExchange exchange) |
void |
SSLHeaderHandler.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 |
SimpleErrorPageHandler.handleRequest(HttpServerExchange exchange) |
| Modifier and Type | Method and 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) |
| Modifier and Type | Method and Description |
|---|---|
Resource |
PreCompressedResourceSupplier.getResource(HttpServerExchange exchange,
String path) |
Resource |
DefaultResourceSupplier.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 listing
|
void |
PathResource.serveAsync(OutputChannel stream,
HttpServerExchange exchange) |
void |
CachedResource.serveAsync(OutputChannel stream,
HttpServerExchange exchange) |
void |
URLResource.serveAsync(OutputChannel stream,
HttpServerExchange exchange) |
void |
Resource.serveAsync(OutputChannel stream,
HttpServerExchange exchange) |
void |
PathResource.serveBlocking(OutputStream sender,
HttpServerExchange exchange) |
void |
CachedResource.serveBlocking(OutputStream outputStream,
HttpServerExchange exchange) |
void |
URLResource.serveBlocking(OutputStream sender,
HttpServerExchange exchange) |
void |
Resource.serveBlocking(OutputStream outputStream,
HttpServerExchange exchange) |
void |
URLResource.serveImpl(OutputChannel stream,
HttpServerExchange exchange,
long start,
long end,
boolean range) |
void |
PathResource.serveRangeAsync(OutputChannel outputStream,
HttpServerExchange exchange,
long start,
long end) |
void |
CachedResource.serveRangeAsync(OutputChannel sender,
HttpServerExchange exchange,
long start,
long end) |
void |
URLResource.serveRangeAsync(OutputChannel outputStream,
HttpServerExchange exchange,
long start,
long end) |
void |
RangeAwareResource.serveRangeAsync(OutputChannel outputStream,
HttpServerExchange exchange,
long start,
long end)
Serve the resource, and call the provided callback when complete.
|
void |
PathResource.serveRangeBlocking(OutputStream sender,
HttpServerExchange exchange,
long start,
long end) |
void |
CachedResource.serveRangeBlocking(OutputStream outputStream,
HttpServerExchange exchange,
long start,
long end) |
void |
URLResource.serveRangeBlocking(OutputStream sender,
HttpServerExchange exchange,
long start,
long end) |
void |
RangeAwareResource.serveRangeBlocking(OutputStream outputStream,
HttpServerExchange exchange,
long start,
long end)
Serve the resource, and call the provided callback when complete.
|
| 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 |
SessionCookieConfig.clearSession(HttpServerExchange exchange,
String sessionId) |
void |
SslSessionConfig.clearSession(HttpServerExchange exchange,
String sessionId) |
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.
|
Session |
SessionManager.createSession(HttpServerExchange serverExchange,
SessionConfig sessionCookieConfig)
Creates a new session.
|
Session |
InMemorySessionManager.createSession(HttpServerExchange serverExchange,
SessionConfig config) |
String |
SessionCookieConfig.findSessionId(HttpServerExchange exchange) |
String |
SslSessionConfig.findSessionId(HttpServerExchange exchange) |
String |
PathParameterSessionConfig.findSessionId(HttpServerExchange exchange) |
String |
SessionConfig.findSessionId(HttpServerExchange exchange)
Retrieves a session id of an existing session from an 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 |
SessionCookieConfig.sessionCookieSource(HttpServerExchange exchange) |
SessionConfig.SessionCookieSource |
SslSessionConfig.sessionCookieSource(HttpServerExchange exchange) |
SessionConfig.SessionCookieSource |
PathParameterSessionConfig.sessionCookieSource(HttpServerExchange exchange) |
SessionConfig.SessionCookieSource |
SessionConfig.sessionCookieSource(HttpServerExchange exchange) |
void |
SessionListeners.sessionCreated(Session session,
HttpServerExchange exchange) |
default void |
SessionListener.sessionCreated(Session session,
HttpServerExchange exchange)
Called when a session is created
|
void |
SessionListeners.sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason) |
default void |
SessionListener.sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason)
Called when a session is destroyed
|
void |
SessionCookieConfig.setSessionId(HttpServerExchange exchange,
String sessionId) |
void |
SslSessionConfig.setSessionId(HttpServerExchange exchange,
String sessionId) |
void |
PathParameterSessionConfig.setSessionId(HttpServerExchange exchange,
String sessionId) |
void |
SessionConfig.setSessionId(HttpServerExchange exchange,
String sessionId)
Attaches the session to the exchange.
|
| Modifier and Type | Method and 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 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 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.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.