Uses of Class
io.undertow.server.HttpServerExchange
Packages that use HttpServerExchange
Package
Description
-
Uses of HttpServerExchange in io.undertow
Methods in io.undertow with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionfinal voidUndertowLogger_$logger.cannotProxyStartedRequest(HttpServerExchange exchange) voidUndertowLogger.cannotProxyStartedRequest(HttpServerExchange exchange) final voidUndertowLogger_$logger.undertowRequestFailed(Throwable t, HttpServerExchange exchange) voidUndertowLogger.undertowRequestFailed(Throwable t, HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.attribute
Methods in io.undertow.attribute with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionAuthenticationTypeExchangeAttribute.readAttribute(HttpServerExchange exchange) BytesSentAttribute.readAttribute(HttpServerExchange exchange) CompositeExchangeAttribute.readAttribute(HttpServerExchange exchange) ConstantExchangeAttribute.readAttribute(HttpServerExchange exchange) CookieAttribute.readAttribute(HttpServerExchange exchange) DateTimeAttribute.readAttribute(HttpServerExchange exchange) ExchangeAttribute.readAttribute(HttpServerExchange exchange) Resolve the attribute from the HTTP server exchange.HostAndPortAttribute.readAttribute(HttpServerExchange exchange) IdentUsernameAttribute.readAttribute(HttpServerExchange exchange) LocalIPAttribute.readAttribute(HttpServerExchange exchange) LocalPortAttribute.readAttribute(HttpServerExchange exchange) LocalServerNameAttribute.readAttribute(HttpServerExchange exchange) NullAttribute.readAttribute(HttpServerExchange exchange) PathParameterAttribute.readAttribute(HttpServerExchange exchange) PredicateContextAttribute.readAttribute(HttpServerExchange exchange) QueryParameterAttribute.readAttribute(HttpServerExchange exchange) QueryStringAttribute.readAttribute(HttpServerExchange exchange) QuotingExchangeAttribute.readAttribute(HttpServerExchange exchange) RelativePathAttribute.readAttribute(HttpServerExchange exchange) RemoteHostAttribute.readAttribute(HttpServerExchange exchange) RemoteIPAttribute.readAttribute(HttpServerExchange exchange) RemoteUserAttribute.readAttribute(HttpServerExchange exchange) RequestHeaderAttribute.readAttribute(HttpServerExchange exchange) RequestLineAttribute.readAttribute(HttpServerExchange exchange) RequestMethodAttribute.readAttribute(HttpServerExchange exchange) RequestPathAttribute.readAttribute(HttpServerExchange exchange) RequestProtocolAttribute.readAttribute(HttpServerExchange exchange) RequestSchemeAttribute.readAttribute(HttpServerExchange exchange) RequestURLAttribute.readAttribute(HttpServerExchange exchange) ResolvedPathAttribute.readAttribute(HttpServerExchange exchange) ResponseCodeAttribute.readAttribute(HttpServerExchange exchange) ResponseHeaderAttribute.readAttribute(HttpServerExchange exchange) ResponseTimeAttribute.readAttribute(HttpServerExchange exchange) SecureExchangeAttribute.readAttribute(HttpServerExchange exchange) SslCipherAttribute.readAttribute(HttpServerExchange exchange) SslClientCertAttribute.readAttribute(HttpServerExchange exchange) SslSessionIdAttribute.readAttribute(HttpServerExchange exchange) SubstituteEmptyWrapper.SubstituteEmptyAttribute.readAttribute(HttpServerExchange exchange) ThreadNameAttribute.readAttribute(HttpServerExchange exchange) TransportProtocolAttribute.readAttribute(HttpServerExchange exchange) static StringExchangeAttributes.resolve(HttpServerExchange exchange, ExchangeAttribute[] attributes) voidAuthenticationTypeExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidBytesSentAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidCompositeExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidConstantExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidCookieAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidDateTimeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) Sets a new value for the attribute.voidHostAndPortAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidIdentUsernameAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidLocalIPAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidLocalPortAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidLocalServerNameAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidNullAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidPathParameterAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidPredicateContextAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidQueryParameterAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidQueryStringAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidQuotingExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRelativePathAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRemoteHostAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRemoteIPAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRemoteUserAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestHeaderAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestLineAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestMethodAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestPathAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestProtocolAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestSchemeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidRequestURLAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidResolvedPathAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidResponseCodeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidResponseHeaderAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidResponseTimeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidSecureExchangeAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidSslCipherAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidSslClientCertAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidSslSessionIdAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidSubstituteEmptyWrapper.SubstituteEmptyAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidThreadNameAttribute.writeAttribute(HttpServerExchange exchange, String newValue) voidTransportProtocolAttribute.writeAttribute(HttpServerExchange exchange, String newValue) -
Uses of HttpServerExchange in io.undertow.predicate
Methods in io.undertow.predicate with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionvoidPredicatesHandler.handleRequest(HttpServerExchange exchange) booleanAuthenticationRequiredPredicate.resolve(HttpServerExchange value) booleanContainsPredicate.resolve(HttpServerExchange value) booleanEqualsPredicate.resolve(HttpServerExchange value) booleanExistsPredicate.resolve(HttpServerExchange value) booleanFalsePredicate.resolve(HttpServerExchange value) booleanIdempotentPredicate.resolve(HttpServerExchange value) booleanMaxContentSizePredicate.resolve(HttpServerExchange value) booleanMethodPredicate.resolve(HttpServerExchange value) booleanMinContentSizePredicate.resolve(HttpServerExchange value) booleanNotPredicate.resolve(HttpServerExchange value) booleanPathMatchPredicate.resolve(HttpServerExchange value) booleanPathPrefixPredicate.resolve(HttpServerExchange value) booleanPathSuffixPredicate.resolve(HttpServerExchange value) booleanPathTemplatePredicate.resolve(HttpServerExchange exchange) booleanPredicate.resolve(HttpServerExchange value) booleanRegularExpressionPredicate.resolve(HttpServerExchange value) booleanSecurePredicate.resolve(HttpServerExchange value) booleanTruePredicate.resolve(HttpServerExchange value) -
Uses of HttpServerExchange in io.undertow.security.api
Methods in io.undertow.security.api that return HttpServerExchangeMethods in io.undertow.security.api with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) Perform authentication of the request.voidAuthenticatedSessionManager.clearSession(HttpServerExchange exchange) SecurityContextFactory.createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName) Deprecated.Instantiates and returns aSecurityContextusing the specified parameters.AuthenticatedSessionManager.lookupSession(HttpServerExchange exchange) NonceManager.nextNonce(String lastNonce, HttpServerExchange exchange) Select the next nonce to be sent from the server taking into account the last valid nonce.AuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) Send an authentication challenge to the remote client.booleanNonceManager.validateNonce(String nonce, int nonceCount, HttpServerExchange exchange) Validate that a nonce can be used.Constructors in io.undertow.security.api with parameters of type HttpServerExchangeModifierConstructorDescriptionSecurityNotification(HttpServerExchange exchange, SecurityNotification.EventType eventType, Account account, String mechanism, boolean programatic, String message, boolean cachingRequired) -
Uses of HttpServerExchange in io.undertow.security.handlers
Methods in io.undertow.security.handlers with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionprotected booleanAbstractConfidentialityHandler.confidentialityRequired(HttpServerExchange exchange) Use the HttpServerExchange to identify if confidentiality is required.abstract SecurityContextAbstractSecurityContextAssociationHandler.createSecurityContext(HttpServerExchange exchange) SecurityInitialHandler.createSecurityContext(HttpServerExchange exchange) protected abstract URIAbstractConfidentialityHandler.getRedirectURI(HttpServerExchange exchange) All sub-classes are required to provide an implementation of this method, using the HttpServerExchange for the current request return the address to use for a redirect should confidentiality be required and the request not be confidential.protected URISinglePortConfidentialityHandler.getRedirectURI(HttpServerExchange exchange) protected URISinglePortConfidentialityHandler.getRedirectURI(HttpServerExchange exchange, int port) voidAbstractConfidentialityHandler.handleRequest(HttpServerExchange exchange) voidAbstractSecurityContextAssociationHandler.handleRequest(HttpServerExchange exchange) voidAuthenticationCallHandler.handleRequest(HttpServerExchange exchange) Only allow the request through if successfully authenticated or if authentication is not required.voidAuthenticationConstraintHandler.handleRequest(HttpServerExchange exchange) voidAuthenticationMechanismsHandler.handleRequest(HttpServerExchange exchange) voidCachedAuthenticatedSessionHandler.handleRequest(HttpServerExchange exchange) voidNotificationReceiverHandler.handleRequest(HttpServerExchange exchange) protected booleanAuthenticationConstraintHandler.isAuthenticationRequired(HttpServerExchange exchange) Evaluate the current request and indicate if authentication is required for the current request.protected booleanAbstractConfidentialityHandler.isConfidential(HttpServerExchange exchange) Use the HttpServerExchange supplied to check if this request is already 'sufficiently' confidential. -
Uses of HttpServerExchange in io.undertow.security.impl
Fields in io.undertow.security.impl declared as HttpServerExchangeModifier and TypeFieldDescriptionprotected final HttpServerExchangeAbstractSecurityContext.exchangeMethods in io.undertow.security.impl with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionBasicAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) CachedAuthenticatedSessionMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) ClientCertAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) DigestAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) ExternalAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) FormAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) GenericHeaderAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) GSSAPIAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) SingleSignOnAuthenticationMechanism.authenticate(HttpServerExchange exchange, SecurityContext securityContext) SecurityContextFactoryImpl.createSecurityContext(HttpServerExchange exchange, AuthenticationMode mode, IdentityManager identityManager, String programmaticMechName) protected SessionSingleSignOnAuthenticationMechanism.getSession(HttpServerExchange exchange) protected voidFormAuthenticationMechanism.handleRedirectBack(HttpServerExchange exchange) SimpleNonceManager.nextNonce(String lastNonce, HttpServerExchange exchange) CachedAuthenticatedSessionMechanism.runCached(HttpServerExchange exchange, SecurityContext securityContext, AuthenticatedSessionManager sessionManager) FormAuthenticationMechanism.runFormAuth(HttpServerExchange exchange, SecurityContext securityContext) GSSAPIAuthenticationMechanism.runGSSAPI(HttpServerExchange exchange, io.netty.buffer.ByteBuf challenge, SecurityContext securityContext) voidDigestAuthenticationMechanism.sendAuthenticationInfoHeader(HttpServerExchange exchange) BasicAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) CachedAuthenticatedSessionMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) ClientCertAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) DigestAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) ExternalAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) FormAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) GenericHeaderAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) GSSAPIAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) SingleSignOnAuthenticationMechanism.sendChallenge(HttpServerExchange exchange, SecurityContext securityContext) protected IntegerFormAuthenticationMechanism.servePage(HttpServerExchange exchange, String location) protected voidFormAuthenticationMechanism.storeInitialLocation(HttpServerExchange exchange) booleanSimpleNonceManager.validateNonce(String nonce, int nonceCount, HttpServerExchange exchange) Constructors in io.undertow.security.impl with parameters of type HttpServerExchangeModifierConstructorDescriptionprotectedAbstractSecurityContext(HttpServerExchange exchange) SecurityContextImpl(HttpServerExchange exchange, AuthenticationMode authenticationMode, IdentityManager identityManager) SecurityContextImpl(HttpServerExchange exchange, IdentityManager identityManager) -
Uses of HttpServerExchange in io.undertow.server
Methods in io.undertow.server that return HttpServerExchangeModifier and TypeMethodDescriptionHttpServerExchange.addDefaultResponseListener(DefaultResponseListener listener) HttpServerExchange.addExchangeCompleteListener(ExchangeCompletionListener listener) HttpServerExchange.addPathParam(String name, String param) HttpServerExchange.addQueryParam(String name, String param) HttpServerExchange.dispatch(HttpHandler handler) Dispatches this request to the XNIO worker thread pool.HttpServerExchange.dispatch(Executor executor, HttpHandler handler) Dispatches this request to the given executor.HttpServerExchange.endExchange()Ends the exchange by fully draining the request channel, and flushing the response channel.Sets the http getProtocolHttpServerExchange.requestMethod(String requestMethod) Set the HTTP request method.HttpServerExchange.setDestinationAddress(InetSocketAddress destinationAddress) Sets the destination address of the HTTP request.HttpServerExchange.setDispatchExecutor(Executor executor) Sets the executor that is used for dispatch operations where no executor is specified.HttpServerExchange.setMaxEntitySize(long maxEntitySize) Sets the max entity size for this exchange.HttpServerExchange.setPersistent(boolean persistent) HttpServerExchange.setQueryString(String queryString) HttpServerExchange.setRelativePath(String relativePath) Set the request relative path.HttpServerExchange.setRequestPath(String requestPath) Set the request URI path.HttpServerExchange.setRequestScheme(String requestScheme) Set the request URI scheme.HttpServerExchange.setRequestURI(String requestURI) Sets the request URIHttpServerExchange.setRequestURI(String requestURI, boolean containsHost) Sets the request URIHttpServerExchange.setResolvedPath(String resolvedPath) Set the resolved path.HttpServerExchange.setResponseContentLength(long length) Sets the response content lengthHttpServerExchange.setResponseCookie(Cookie cookie) Sets a response cookieHttpServerExchange.setSourceAddress(InetSocketAddress sourceAddress) Sets the source address of the HTTP request.HttpServerExchange.setStatusCode(int statusCode) Change the status code for this response.HttpServerExchange.unDispatch()HttpServerExchange.upgradeChannel(String productName, Consumer<Object> listener) Upgrade the channel to a raw socket.HttpServerExchange.upgradeChannel(Consumer<Object> listener) Upgrade the channel to a raw socket.Methods in io.undertow.server with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionvoidResponseCommitListener.beforeCommit(HttpServerExchange exchange) Invoked before the first bytes of the response are sent to the clientvoidSecureCookieCommitListener.beforeCommit(HttpServerExchange exchange) voidExchangeCompletionListener.exchangeEvent(HttpServerExchange exchange) static voidConnectors.executeRootHandler(HttpHandler handler, HttpServerExchange exchange) static voidConnectors.flattenCookies(HttpServerExchange exchange) Flattens the exchange cookie map into the response header map.booleanDefaultResponseListener.handleDefaultResponse(HttpServerExchange exchange) voidHttpHandler.handleRequest(HttpServerExchange exchange) Handle the request.voidJvmRouteHandler.handleRequest(HttpServerExchange exchange) voidRoutingHandler.handleRequest(HttpServerExchange exchange) static booleanConnectors.isRunningHandlerChain(HttpServerExchange exchange) static voidHttpContinue.rejectExchange(HttpServerExchange exchange) Sets a 417 response code and ends the exchange.static booleanHttpContinue.requiresContinueResponse(HttpServerExchange exchange) Returns true if this exchange requires the server to send a 100 (Continue) response.static voidConnectors.setExchangeRequestPath(HttpServerExchange exchange, String encodedPath, String charset, boolean decode, boolean allowEncodedSlash, StringBuilder decodeBuffer) Deprecated.static voidConnectors.setExchangeRequestPath(HttpServerExchange exchange, String encodedPath, String charset, boolean decode, boolean allowEncodedSlash, StringBuilder decodeBuffer, int maxParameters) Sets the request path and query parameters, decoding to the requested charset.static voidConnectors.setRequestStartTime(HttpServerExchange exchange) static voidConnectors.setRequestStartTime(HttpServerExchange existing, HttpServerExchange newExchange) voidConnectorStatisticsImpl.setup(HttpServerExchange exchange) static voidConnectors.ungetRequestBytes(HttpServerExchange exchange, io.netty.buffer.ByteBuf buffer) Attached buffered data to the exchange. -
Uses of HttpServerExchange in io.undertow.server.handlers
Methods in io.undertow.server.handlers with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionvoidAccessControlListHandler.handleRequest(HttpServerExchange exchange) voidAllowedMethodsHandler.handleRequest(HttpServerExchange exchange) voidAttachmentHandler.handleRequest(HttpServerExchange exchange) voidBlockingHandler.handleRequest(HttpServerExchange exchange) voidByteRangeHandler.handleRequest(HttpServerExchange exchange) voidCanonicalPathHandler.handleRequest(HttpServerExchange exchange) voidConfiguredPushHandler.handleRequest(HttpServerExchange exchange) voidDateHandler.handleRequest(HttpServerExchange exchange) Deprecated.voidDisableCacheHandler.handleRequest(HttpServerExchange exchange) voidDisallowedMethodsHandler.handleRequest(HttpServerExchange exchange) voidExceptionHandler.handleRequest(HttpServerExchange exchange) voidForwardedHandler.handleRequest(HttpServerExchange exchange) voidGracefulShutdownHandler.handleRequest(HttpServerExchange exchange) voidHttpContinueAcceptingHandler.handleRequest(HttpServerExchange exchange) voidHttpContinueReadHandler.handleRequest(HttpServerExchange exchange) Deprecated.voidHttpTraceHandler.handleRequest(HttpServerExchange exchange) voidIPAddressAccessControlHandler.handleRequest(HttpServerExchange exchange) voidJDBCLogHandler.handleRequest(HttpServerExchange exchange) voidLocalNameResolvingHandler.handleRequest(HttpServerExchange exchange) voidMetricsHandler.handleRequest(HttpServerExchange exchange) voidNameVirtualHostHandler.handleRequest(HttpServerExchange exchange) voidOriginHandler.handleRequest(HttpServerExchange exchange) voidPathHandler.handleRequest(HttpServerExchange exchange) voidPathSeparatorHandler.handleRequest(HttpServerExchange exchange) voidPathTemplateHandler.handleRequest(HttpServerExchange exchange) voidPeerNameResolvingHandler.handleRequest(HttpServerExchange exchange) voidPredicateContextHandler.handleRequest(HttpServerExchange exchange) voidPredicateHandler.handleRequest(HttpServerExchange exchange) voidProxyPeerAddressHandler.handleRequest(HttpServerExchange exchange) voidRedirectHandler.handleRequest(HttpServerExchange exchange) voidRequestDumpingHandler.handleRequest(HttpServerExchange exchange) voidRequestLimit.handleRequest(HttpServerExchange exchange, HttpHandler next) voidRequestLimitingHandler.handleRequest(HttpServerExchange exchange) voidResponseCodeHandler.handleRequest(HttpServerExchange exchange) voidResponseRateLimitingHandler.handleRequest(HttpServerExchange exchange) voidSameSiteCookieHandler.handleRequest(HttpServerExchange exchange) voidSecureCookieHandler.handleRequest(HttpServerExchange exchange) voidSetAttributeHandler.handleRequest(HttpServerExchange exchange) voidSetHeaderHandler.handleRequest(HttpServerExchange exchange) voidSSLHeaderHandler.handleRequest(HttpServerExchange exchange) voidStoredResponseHandler.handleRequest(HttpServerExchange exchange) voidStuckThreadDetectionHandler.handleRequest(HttpServerExchange exchange) Handle the request.voidURLDecodingHandler.handleRequest(HttpServerExchange exchange) booleanHttpUpgradeHandshake.handleUpgrade(HttpServerExchange exchange) Validates an upgrade request and returns any extra headers that should be added to the response.voidJDBCLogHandler.logMessage(String pattern, HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.accesslog
Methods in io.undertow.server.handlers.accesslog with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionvoidAccessLogHandler.handleRequest(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.error
Methods in io.undertow.server.handlers.error with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionvoidSimpleErrorPageHandler.handleRequest(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.form
Methods in io.undertow.server.handlers.form with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionFormEncodedDataDefinition.create(HttpServerExchange exchange) FormParserFactory.ParserDefinition.create(HttpServerExchange exchange) MultiPartParserDefinition.create(HttpServerExchange exchange) FormParserFactory.createParser(HttpServerExchange exchange) Creates a form data parser for this request.voidEagerFormParsingHandler.handleRequest(HttpServerExchange exchange) -
Uses of HttpServerExchange in io.undertow.server.handlers.resource
Methods in io.undertow.server.handlers.resource with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionDefaultResourceSupplier.getResource(HttpServerExchange exchange, String path) PreCompressedResourceSupplier.getResource(HttpServerExchange exchange, String path) ResourceSupplier.getResource(HttpServerExchange exchange, String path) voidResourceHandler.handleRequest(HttpServerExchange exchange) static voidDirectoryUtils.renderDirectoryListing(HttpServerExchange exchange, Resource resource) static booleanDirectoryUtils.sendRequestedBlobs(HttpServerExchange exchange) Serve static resource for the directory listingvoidCachedResource.serveAsync(OutputChannel stream, HttpServerExchange exchange) voidPathResource.serveAsync(OutputChannel stream, HttpServerExchange exchange) voidResource.serveAsync(OutputChannel stream, HttpServerExchange exchange) voidURLResource.serveAsync(OutputChannel stream, HttpServerExchange exchange) voidCachedResource.serveBlocking(OutputStream outputStream, HttpServerExchange exchange) voidPathResource.serveBlocking(OutputStream sender, HttpServerExchange exchange) voidResource.serveBlocking(OutputStream outputStream, HttpServerExchange exchange) voidURLResource.serveBlocking(OutputStream sender, HttpServerExchange exchange) voidURLResource.serveImpl(OutputChannel stream, HttpServerExchange exchange, long start, long end, boolean range) voidCachedResource.serveRangeAsync(OutputChannel sender, HttpServerExchange exchange, long start, long end) voidPathResource.serveRangeAsync(OutputChannel outputStream, HttpServerExchange exchange, long start, long end) voidRangeAwareResource.serveRangeAsync(OutputChannel outputStream, HttpServerExchange exchange, long start, long end) Serve the resource, and call the provided callback when complete.voidURLResource.serveRangeAsync(OutputChannel outputStream, HttpServerExchange exchange, long start, long end) voidCachedResource.serveRangeBlocking(OutputStream outputStream, HttpServerExchange exchange, long start, long end) voidPathResource.serveRangeBlocking(OutputStream sender, HttpServerExchange exchange, long start, long end) voidRangeAwareResource.serveRangeBlocking(OutputStream outputStream, HttpServerExchange exchange, long start, long end) Serve the resource, and call the provided callback when complete.voidURLResource.serveRangeBlocking(OutputStream sender, HttpServerExchange exchange, long start, long end) -
Uses of HttpServerExchange in io.undertow.server.session
Methods in io.undertow.server.session with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionSession.changeSessionId(HttpServerExchange exchange, SessionConfig config) Generate a new session id for this session, and return the new id.voidPathParameterSessionConfig.clearSession(HttpServerExchange exchange, String sessionId) voidSessionConfig.clearSession(HttpServerExchange exchange, String sessionId) Clears this session from the exchange, removing the attachment and making any changes to the response necessary, such as clearing cookies.voidSessionCookieConfig.clearSession(HttpServerExchange exchange, String sessionId) voidSslSessionConfig.clearSession(HttpServerExchange exchange, String sessionId) InMemorySessionManager.createSession(HttpServerExchange serverExchange, SessionConfig config) SessionManager.createSession(HttpServerExchange serverExchange, SessionConfig sessionCookieConfig) Creates a new session.PathParameterSessionConfig.findSessionId(HttpServerExchange exchange) SessionConfig.findSessionId(HttpServerExchange exchange) Retrieves a session id of an existing session from an exchange.SessionCookieConfig.findSessionId(HttpServerExchange exchange) SslSessionConfig.findSessionId(HttpServerExchange exchange) InMemorySessionManager.getSession(HttpServerExchange serverExchange, SessionConfig config) SessionManager.getSession(HttpServerExchange serverExchange, SessionConfig sessionCookieConfig) voidSessionAttachmentHandler.handleRequest(HttpServerExchange exchange) voidSession.invalidate(HttpServerExchange exchange) Invalidates this session then unbinds any objects bound to it.voidSession.requestDone(HttpServerExchange serverExchange) Called when a request is done with the session.PathParameterSessionConfig.sessionCookieSource(HttpServerExchange exchange) SessionConfig.sessionCookieSource(HttpServerExchange exchange) SessionCookieConfig.sessionCookieSource(HttpServerExchange exchange) SslSessionConfig.sessionCookieSource(HttpServerExchange exchange) default voidSessionListener.sessionCreated(Session session, HttpServerExchange exchange) Called when a session is createdvoidSessionListeners.sessionCreated(Session session, HttpServerExchange exchange) default voidSessionListener.sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason) Called when a session is destroyedvoidSessionListeners.sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason) voidPathParameterSessionConfig.setSessionId(HttpServerExchange exchange, String sessionId) voidSessionConfig.setSessionId(HttpServerExchange exchange, String sessionId) Attaches the session to the exchange.voidSessionCookieConfig.setSessionId(HttpServerExchange exchange, String sessionId) voidSslSessionConfig.setSessionId(HttpServerExchange exchange, String sessionId) -
Uses of HttpServerExchange in io.undertow.util
Methods in io.undertow.util with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionstatic voidDateUtils.addDateHeaderIfRequired(HttpServerExchange exchange) static StringDateUtils.getCurrentDateTime(HttpServerExchange exchange) static ETagETagUtils.getETag(HttpServerExchange exchange) static SessionSessions.getOrCreateSession(HttpServerExchange exchange) Gets the active session, creating a new one if one does not existstatic StringQueryParameterUtils.getQueryParamEncoding(HttpServerExchange exchange) static SessionSessions.getSession(HttpServerExchange exchange) Gets the active session, returning null if one is not present.static booleanETagUtils.handleIfMatch(HttpServerExchange exchange, ETag etag, boolean allowWeak) Handles the if-match header.static booleanETagUtils.handleIfMatch(HttpServerExchange exchange, List<ETag> etags, boolean allowWeak) Handles the if-match header.static booleanDateUtils.handleIfModifiedSince(HttpServerExchange exchange, Date lastModified) Handles the if-modified-since header.static booleanETagUtils.handleIfNoneMatch(HttpServerExchange exchange, ETag etag, boolean allowWeak) Handles the if-none-match header.static booleanETagUtils.handleIfNoneMatch(HttpServerExchange exchange, List<ETag> etags, boolean allowWeak) Handles the if-none-match header.static booleanDateUtils.handleIfUnmodifiedSince(HttpServerExchange exchange, Date lastModified) Handles the if-unmodified-since header.static intURLUtils.parsePathParams(String string, HttpServerExchange exchange, String charset, boolean doDecode, int maxParameters) static voidURLUtils.parsePathParms(String string, HttpServerExchange exchange, String charset, boolean doDecode, int maxParameters) Deprecated.static voidURLUtils.parseQueryString(String string, HttpServerExchange exchange, String charset, boolean doDecode, int maxParameters) static StringRedirectBuilder.redirect(HttpServerExchange exchange, String newRelativePath) Redirects to a new relative path.static StringRedirectBuilder.redirect(HttpServerExchange exchange, String newRelativePath, boolean includeParameters) Redirects to a new relative path.