Uses of Interface
org.eclipse.jetty.server.Request
Packages that use Request
Package
Description
Jetty Jaspi : Java Authentication SPI
Jetty Server : Modular Servlet Integration
Jetty Jaspi : Java Authentication SPI
Jetty Server : Modular Servlet Integration
Jetty Server : Core Handler API
Jetty Server : Core Handler API
Jetty Rewrite : Rewrite Handler and Rules for Jetty
Jetty Security : Modular Support for Security in Jetty
Jetty Security : Authenticators and Callbacks
Jetty Jaas : Support for Jaas
Jetty Jaas : Jaas Callbacks
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty GZIP Handler
Jetty Server : Session Management Implementations
-
Uses of Request in org.eclipse.jetty.compression.server
Methods in org.eclipse.jetty.compression.server with parameters of type Request -
Uses of Request in org.eclipse.jetty.ee10.security.jaspi
Methods in org.eclipse.jetty.ee10.security.jaspi that return RequestMethods in org.eclipse.jetty.ee10.security.jaspi with parameters of type RequestModifier and TypeMethodDescriptionbooleanJaspiAuthenticator.secureResponse(Request request, Response response, Callback callback, boolean mandatory, AuthenticationState.Succeeded validatedSucceeded) JaspiAuthenticator.validateRequest(Request request, Response response, Callback callback) Constructors in org.eclipse.jetty.ee10.security.jaspi with parameters of type RequestModifierConstructorDescriptionJaspiMessageInfo(Request request, Response response, Callback callback) -
Uses of Request in org.eclipse.jetty.ee10.servlet
Classes in org.eclipse.jetty.ee10.servlet that implement RequestModifier and TypeClassDescriptionclassA core request wrapper that carries the servlet related request state, which may be used directly by the associatedServletApiRequest.classWrap aServletRequestas a coreRequest.Methods in org.eclipse.jetty.ee10.servlet that return RequestModifier and TypeMethodDescriptionServletApiRequest.getRequest()ServletChannel.getRequest()default RequestServletContextHandler.ServletRequestInfo.getRequest()ServletCoreResponse.getRequest()static RequestServletCoreRequest.wrap(jakarta.servlet.http.HttpServletRequest httpServletRequest) Methods in org.eclipse.jetty.ee10.servlet with parameters of type RequestModifier and TypeMethodDescriptionvoidAssociate this channel with possibly wrapped values forServletChannel.getRequest(),ServletChannel.getResponse()andServletChannel.getCallback().protected voidprotected booleanErrorHandler.generateAcceptableResponse(Request request, Response response, Callback callback, String contentType, List<Charset> charsets, int code, String message, Throwable cause) SessionHandler.getManagedSession(Request request) booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanbooleanbooleanprotected booleanEagerFormHandler.handleFormFields(Request request, Response response, Callback callback) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanEagerFormHandler.handleMultiPartFormData(Request request, String contentType, Response response, Callback callback) Deprecated, for removal: This API element is subject to removal in a future version.protected ServletContextRequestServletContextHandler.newServletContextRequest(ServletChannel servletChannel, Request request, Response response, String decodedPathInContext, MatchedResource<ServletHandler.MappedServlet> matchedResource) protected voidServletHandler.notFound(Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected voidServletContextHandler.notifyEnterScope(Request request) protected voidServletContextHandler.notifyExitScope(Request request) protected voidServletContextHandler.requestDestroyed(Request baseRequest, jakarta.servlet.http.HttpServletRequest request) protected voidServletContextHandler.requestInitialized(Request baseRequest, jakarta.servlet.http.HttpServletRequest request) static ResponseServletCoreResponse.wrap(Request coreRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, boolean included) protected ContextRequestServletContextHandler.wrapRequest(Request request, Response response) booleanErrorHandler.writeError(Request request, Response response, Callback callback, int code) protected voidErrorHandler.writeErrorHtmlMessage(Request request, Writer writer, int code, String message, Throwable cause, String uri) Constructors in org.eclipse.jetty.ee10.servlet with parameters of type RequestModifierConstructorDescriptionServletChannel(ServletContextHandler servletContextHandler, Request request) protectedServletContextRequest(ServletContextHandler.ServletContextApi servletContextApi, ServletChannel servletChannel, Request request, Response response, String decodedPathInContext, MatchedResource<ServletHandler.MappedServlet> matchedResource, SessionManager sessionManager) -
Uses of Request in org.eclipse.jetty.ee10.servlet.security
Methods in org.eclipse.jetty.ee10.servlet.security with parameters of type RequestModifier and TypeMethodDescriptionprotected ConstraintConstraintSecurityHandler.getConstraint(String pathInContext, Request request) -
Uses of Request in org.eclipse.jetty.ee11.security.jaspi
Methods in org.eclipse.jetty.ee11.security.jaspi that return RequestMethods in org.eclipse.jetty.ee11.security.jaspi with parameters of type RequestModifier and TypeMethodDescriptionbooleanJaspiAuthenticator.secureResponse(Request request, Response response, Callback callback, boolean mandatory, AuthenticationState.Succeeded validatedSucceeded) JaspiAuthenticator.validateRequest(Request request, Response response, Callback callback) Constructors in org.eclipse.jetty.ee11.security.jaspi with parameters of type RequestModifierConstructorDescriptionJaspiMessageInfo(Request request, Response response, Callback callback) -
Uses of Request in org.eclipse.jetty.ee11.servlet
Classes in org.eclipse.jetty.ee11.servlet that implement RequestModifier and TypeClassDescriptionclassA core request wrapper that carries the servlet related request state, which may be used directly by the associatedServletApiRequest.classWrap aServletRequestas a coreRequest.Methods in org.eclipse.jetty.ee11.servlet that return RequestModifier and TypeMethodDescriptionServletApiRequest.getRequest()ServletChannel.getRequest()default RequestServletContextHandler.ServletRequestInfo.getRequest()ServletCoreResponse.getRequest()static RequestServletCoreRequest.wrap(jakarta.servlet.http.HttpServletRequest httpServletRequest) Methods in org.eclipse.jetty.ee11.servlet with parameters of type RequestModifier and TypeMethodDescriptionvoidAssociate this channel with possibly wrapped values forServletChannel.getRequest(),ServletChannel.getResponse()andServletChannel.getCallback().protected voidprotected booleanErrorHandler.generateAcceptableResponse(Request request, Response response, Callback callback, String contentType, List<Charset> charsets, int code, String message, Throwable cause) SessionHandler.getManagedSession(Request request) booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanbooleanbooleanprotected booleanEagerFormHandler.handleFormFields(Request request, Response response, Callback callback) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanEagerFormHandler.handleMultiPartFormData(Request request, String contentType, Response response, Callback callback) Deprecated, for removal: This API element is subject to removal in a future version.protected ServletContextRequestServletContextHandler.newServletContextRequest(ServletChannel servletChannel, Request request, Response response, String decodedPathInContext, MatchedResource<ServletHandler.MappedServlet> matchedResource) protected voidServletHandler.notFound(Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected voidServletContextHandler.notifyEnterScope(Request request) protected voidServletContextHandler.notifyExitScope(Request request) protected voidServletContextHandler.requestDestroyed(Request baseRequest, jakarta.servlet.http.HttpServletRequest request) protected voidServletContextHandler.requestInitialized(Request baseRequest, jakarta.servlet.http.HttpServletRequest request) static ResponseServletCoreResponse.wrap(Request coreRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, boolean included) protected ContextRequestServletContextHandler.wrapRequest(Request request, Response response) booleanErrorHandler.writeError(Request request, Response response, Callback callback, int code) protected voidErrorHandler.writeErrorHtmlMessage(Request request, Writer writer, int code, String message, Throwable cause, String uri) Constructors in org.eclipse.jetty.ee11.servlet with parameters of type RequestModifierConstructorDescriptionServletChannel(ServletContextHandler servletContextHandler, Request request) protectedServletContextRequest(ServletContextHandler.ServletContextApi servletContextApi, ServletChannel servletChannel, Request request, Response response, String decodedPathInContext, MatchedResource<ServletHandler.MappedServlet> matchedResource, SessionManager sessionManager) -
Uses of Request in org.eclipse.jetty.ee11.servlet.security
Methods in org.eclipse.jetty.ee11.servlet.security with parameters of type RequestModifier and TypeMethodDescriptionprotected ConstraintConstraintSecurityHandler.getConstraint(String pathInContext, Request request) -
Uses of Request in org.eclipse.jetty.ee8.nested
Classes in org.eclipse.jetty.ee8.nested that implement RequestMethods in org.eclipse.jetty.ee8.nested that return RequestModifier and TypeMethodDescriptionServletCoreResponse.getRequest()ServletCoreRequest.wrap(javax.servlet.http.HttpServletRequest httpServletRequest) Methods in org.eclipse.jetty.ee8.nested with parameters of type RequestModifier and TypeMethodDescriptionprotected voidContextHandler.CoreContextHandler.notifyEnterScope(Request coreRequest) protected voidContextHandler.CoreContextHandler.notifyExitScope(Request coreRequest) static ResponseServletCoreResponse.wrap(Request coreRequest, javax.servlet.http.HttpServletResponse httpServletResponse, boolean included) protected ContextRequestContextHandler.CoreContextHandler.wrapRequest(Request request, Response response) Constructors in org.eclipse.jetty.ee8.nested with parameters of type RequestModifierConstructorDescriptionprotectedCoreContextRequest(Request wrapped, ContextHandler.ScopedContext context, HttpChannel httpChannel) -
Uses of Request in org.eclipse.jetty.ee9.nested
Classes in org.eclipse.jetty.ee9.nested that implement RequestMethods in org.eclipse.jetty.ee9.nested that return RequestModifier and TypeMethodDescriptionServletCoreResponse.getRequest()ServletCoreRequest.wrap(jakarta.servlet.http.HttpServletRequest httpServletRequest) Methods in org.eclipse.jetty.ee9.nested with parameters of type RequestModifier and TypeMethodDescriptionprotected voidContextHandler.CoreContextHandler.notifyEnterScope(Request coreRequest) protected voidContextHandler.CoreContextHandler.notifyExitScope(Request coreRequest) static ResponseServletCoreResponse.wrap(Request coreRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, boolean included) protected ContextRequestContextHandler.CoreContextHandler.wrapRequest(Request request, Response response) Constructors in org.eclipse.jetty.ee9.nested with parameters of type RequestModifierConstructorDescriptionprotectedCoreContextRequest(Request wrapped, ContextHandler.ScopedContext context, HttpChannel httpChannel) -
Uses of Request in org.eclipse.jetty.fcgi.proxy
Methods in org.eclipse.jetty.fcgi.proxy with parameters of type RequestModifier and TypeMethodDescriptionprotected voidFastCGIProxyHandler.sendProxyToServerRequest(Request clientToProxyRequest, Request proxyToServerRequest, Response proxyToClientResponse, Callback proxyToClientCallback) Constructor parameters in org.eclipse.jetty.fcgi.proxy with type arguments of type RequestModifierConstructorDescriptionFastCGIProxyHandler(Function<Request, HttpURI> httpURIRewriter, String scriptRoot) Creates a new instance with the givenHttpURIrewriter function. -
Uses of Request in org.eclipse.jetty.http.spi
Constructors in org.eclipse.jetty.http.spi with parameters of type RequestModifierConstructorDescriptionJettyHttpExchange(HttpContext jaxWsContext, Request req, Response resp) JettyHttpsExchange(HttpContext jaxWsContext, Request req, Response resp) -
Uses of Request in org.eclipse.jetty.http2.server
Methods in org.eclipse.jetty.http2.server that return RequestModifier and TypeMethodDescriptionAuthorityCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) Methods in org.eclipse.jetty.http2.server with parameters of type RequestModifier and TypeMethodDescriptionAuthorityCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) -
Uses of Request in org.eclipse.jetty.proxy
Methods in org.eclipse.jetty.proxy that return RequestMethods in org.eclipse.jetty.proxy that return types with arguments of type RequestMethods in org.eclipse.jetty.proxy with parameters of type RequestModifier and TypeMethodDescriptionprotected voidProxyHandler.addForwardedHeader(Request clientToProxyRequest, Request proxyToServerRequest) protected voidProxyHandler.addProxyHeaders(Request clientToProxyRequest, Request proxyToServerRequest) protected voidProxyHandler.addViaHeader(Request clientToProxyRequest, Request proxyToServerRequest) protected voidProxyHandler.copyRequestHeaders(Request clientToProxyRequest, Request proxyToServerRequest) booleanProxyHandler.handle(Request clientToProxyRequest, Response proxyToClientResponse, Callback proxyToClientCallback) protected RequestProxyHandler.newProxyToServerRequest(Request clientToProxyRequest, HttpURI newHttpURI) protected Request.ContentProxyHandler.newProxyToServerRequestContent(Request clientToProxyRequest, Response proxyToClientResponse, Request proxyToServerRequest) protected Response.CompleteListenerProxyHandler.newServerToProxyResponseListener(Request clientToProxyRequest, Request proxyToServerRequest, Response proxyToClientResponse, Callback proxyToClientCallback) protected voidProxyHandler.onProxyToClientResponseComplete(Request clientToProxyRequest, Request proxyToServerRequest, Response serverToProxyResponse, Response proxyToClientResponse, Callback proxyToClientCallback) protected voidProxyHandler.onProxyToClientResponseFailure(Request clientToProxyRequest, Request proxyToServerRequest, Response serverToProxyResponse, Response proxyToClientResponse, Callback proxyToClientCallback, Throwable failure) protected RunnableProxyHandler.onServerToProxyResponse100Continue(Request clientToProxyRequest, Request proxyToServerRequest) protected voidProxyHandler.onServerToProxyResponse102Processing(Request clientToProxyRequest, Request proxyToServerRequest, HttpFields serverToProxyResponseHeaders, Response proxyToClientResponse) protected voidProxyHandler.onServerToProxyResponse103EarlyHints(Request clientToProxyRequest, Request proxyToServerRequest, HttpFields serverToProxyResponseHeaders, Response proxyToClientResponse) protected voidProxyHandler.onServerToProxyResponseFailure(Request clientToProxyRequest, Request proxyToServerRequest, Response serverToProxyResponse, Response proxyToClientResponse, Callback proxyToClientCallback, Throwable failure) protected static Stringprotected HttpURIProxyHandler.Forward.rewriteHttpURI(Request clientToProxyRequest) Rewrites the client-to-proxy request URI to the proxy-to-server request URI.protected HttpURIProxyHandler.Reverse.rewriteHttpURI(Request clientToProxyRequest) Rewrites the client-to-proxy request URI to the proxy-to-server request URI.protected abstract HttpURIProxyHandler.rewriteHttpURI(Request clientToProxyRequest) Rewrites the client-to-proxy request URI to the proxy-to-server request URI.protected voidProxyHandler.sendProxyToServerRequest(Request clientToProxyRequest, Request proxyToServerRequest, Response proxyToClientResponse, Callback proxyToClientCallback) Constructors in org.eclipse.jetty.proxy with parameters of type RequestModifierConstructorDescriptionProxyRequestContent(Request clientToProxyRequest) ProxyResponseListener(Request clientToProxyRequest, Request proxyToServerRequest, Response proxyToClientResponse, Callback proxyToClientCallback) Constructor parameters in org.eclipse.jetty.proxy with type arguments of type Request -
Uses of Request in org.eclipse.jetty.rewrite
Methods in org.eclipse.jetty.rewrite that return RequestModifier and TypeMethodDescriptionRewriteCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) Methods in org.eclipse.jetty.rewrite with parameters of type RequestModifier and TypeMethodDescriptionRewriteCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) -
Uses of Request in org.eclipse.jetty.rewrite.handler
Classes in org.eclipse.jetty.rewrite.handler that implement RequestModifier and TypeClassDescriptionprotected classprotected classprotected classprotected classstatic classARequest.Wrapperused to chain a sequence ofRules together.static classMethods in org.eclipse.jetty.rewrite.handler with parameters of type RequestModifier and TypeMethodDescriptionbooleanConstructors in org.eclipse.jetty.rewrite.handler with parameters of type Request -
Uses of Request in org.eclipse.jetty.security
Methods in org.eclipse.jetty.security that return RequestModifier and TypeMethodDescriptiondefault RequestAuthenticator.prepareRequest(Request request, AuthenticationState authenticationState) Called afterAuthenticator.validateRequest(Request, Response, Callback)and before callingRequest.Handler.handle(Request, Response, Callback)of the nested handler.MultiAuthenticator.prepareRequest(Request request, AuthenticationState authenticationState) Methods in org.eclipse.jetty.security with parameters of type RequestModifier and TypeMethodDescriptionAuthenticationState.authenticate(Request request) Get successful authentication for a request.AuthenticationState.authenticate(Request request, Response response, Callback callback) Get successful authentication for a request.AuthenticationState.Deferred.authenticate(Request request) Authenticate the request using any credentials already associated with the request.AuthenticationState.Deferred.authenticate(Request request, Response response, Callback callback) Authenticate the request using any credentials already associated with the request or challenging if necessary.static AuthenticationStateAuthenticationState.getAuthenticationState(Request request) Get the authentication state of a request.protected abstract ConstraintSecurityHandler.getConstraint(String pathInContext, Request request) protected ConstraintSecurityHandler.PathMapped.getConstraint(String pathInContext, Request request) static AuthenticationStateAuthenticationState.getUndeferredAuthenticationState(Request request) Get the authentication state of a request resolving anyAuthenticationState.Deferredauthentication.static PrincipalAuthenticationState.getUserPrincipal(Request request) Get theUserPrincipalof an authenticated request.booleanAbstractLoginService.login(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) AnyUserLoginService.login(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) AuthenticationState.Deferred.login(String username, Object password, Request request, Response response) Authenticate the request with the passed credentialsAttempt to login a request using the passed credentials.EmptyLoginService.login(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) LoginService.login(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) Login a user.SPNEGOLoginService.login(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) voidLogout the authenticated user.static booleanvoidRemove any user information that may be present in the request such that a call to getUserPrincipal/getRemoteUser will return null.voiddefault RequestAuthenticator.prepareRequest(Request request, AuthenticationState authenticationState) Called afterAuthenticator.validateRequest(Request, Response, Callback)and before callingRequest.Handler.handle(Request, Response, Callback)of the nested handler.MultiAuthenticator.prepareRequest(Request request, AuthenticationState authenticationState) protected voidSecurityHandler.redirectToSecure(Request request, Response response, Callback callback) static voidAuthenticationState.setAuthenticationState(Request request, AuthenticationState authenticationState) Set the authentication state of a request.Authenticator.NoOp.validateRequest(Request request, Response response, Callback callback) Authenticator.validateRequest(Request request, Response response, Callback callback) Attempts to validate the authentication state of the given request.MultiAuthenticator.validateRequest(Request request, Response response, Callback callback) static AuthenticationStateAuthenticationState.writeError(Request request, Response response, Callback callback, int code) -
Uses of Request in org.eclipse.jetty.security.authentication
Methods in org.eclipse.jetty.security.authentication that return RequestModifier and TypeMethodDescriptionFormAuthenticator.prepareRequest(Request request, AuthenticationState authenticationState) Methods in org.eclipse.jetty.security.authentication with parameters of type RequestModifier and TypeMethodDescriptionLoginAuthenticator.LoggedOutAuthentication.authenticate(Request request) LoginAuthenticator.LoggedOutAuthentication.authenticate(Request request, Response response, Callback callback) protected Stringprotected FieldsFormAuthenticator.getParameters(Request request) LoginAuthenticator.LoggedOutAuthentication.login(String username, Object password, Request request, Response response) If the UserIdentity returned fromLoginService.login(String, Object, Request, Function)is not null, it is assumed that the user is fully authenticated and we need to change the session id to prevent session fixation vulnerability.Only renew the session id if the user has been fully authenticated, don't renew the session for any of the intermediate request/response handshakes.voidvoidvoidvoidFormAuthenticator.prepareRequest(Request request, AuthenticationState authenticationState) protected voidLoginAuthenticator.updateSession(Request httpRequest, Response httpResponse) Update the session on authentication.BasicAuthenticator.validateRequest(Request req, Response res, Callback callback) DigestAuthenticator.validateRequest(Request req, Response res, Callback callback) FormAuthenticator.validateRequest(Request request, Response response, Callback callback) SPNEGOAuthenticator.validateRequest(Request req, Response res, Callback callback) SslClientCertAuthenticator.validateRequest(Request req, Response res, Callback callback) -
Uses of Request in org.eclipse.jetty.security.jaas
Methods in org.eclipse.jetty.security.jaas with parameters of type Request -
Uses of Request in org.eclipse.jetty.security.jaas.callback
Fields in org.eclipse.jetty.security.jaas.callback declared as RequestMethods in org.eclipse.jetty.security.jaas.callback that return RequestMethods in org.eclipse.jetty.security.jaas.callback with parameters of type RequestModifier and TypeMethodDescriptionvoidDefaultCallbackHandler.setRequest(Request request) voidRequestCallback.setRequest(Request request) -
Uses of Request in org.eclipse.jetty.security.openid
Methods in org.eclipse.jetty.security.openid that return RequestModifier and TypeMethodDescriptionOpenIdAuthenticator.prepareRequest(Request request, AuthenticationState authenticationState) Methods in org.eclipse.jetty.security.openid with parameters of type RequestModifier and TypeMethodDescriptionprotected StringOpenIdAuthenticator.getChallengeUri(Request request) protected FieldsOpenIdAuthenticator.getParameters(Request request) OpenIdLoginService.login(String identifier, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) voidOpenIdAuthenticator.prepareRequest(Request request, AuthenticationState authenticationState) OpenIdAuthenticator.validateRequest(Request request, Response response, Callback cb) -
Uses of Request in org.eclipse.jetty.security.siwe
Methods in org.eclipse.jetty.security.siwe that return RequestModifier and TypeMethodDescriptionEthereumAuthenticator.prepareRequest(Request request, AuthenticationState authenticationState) Methods in org.eclipse.jetty.security.siwe with parameters of type RequestModifier and TypeMethodDescriptionprotected FieldsEthereumAuthenticator.getParameters(Request request) protected AuthenticationStateEthereumAuthenticator.handleNonceRequest(Request request, Response response, Callback callback) EthereumAuthenticator.login(String username, Object credentials, Request request, Response response) voidprotected EthereumAuthenticator.SignedMessageEthereumAuthenticator.parseMessage(Request request, Response response, Callback callback) EthereumAuthenticator.prepareRequest(Request request, AuthenticationState authenticationState) EthereumAuthenticator.validateRequest(Request request, Response response, Callback callback) -
Uses of Request in org.eclipse.jetty.server
Subinterfaces of Request in org.eclipse.jetty.serverModifier and TypeInterfaceDescriptionstatic interfaceThis interface will be detected by theRequest.ServeAs.wrap(Request, HttpURI)static method to wrap the request changing its target to a given path.Classes in org.eclipse.jetty.server that implement RequestModifier and TypeClassDescriptionstatic classARequest.Wrapperthat separately provides the requestAttributes.static classA wrapper forRequestinstances.protected static classprotected classMethods in org.eclipse.jetty.server with type parameters of type RequestModifier and TypeMethodDescriptionstatic <T extends Request>
TRequest.asInContext(Request request, Class<T> type) Unwrap a Request back to the given type, ensuring that we do not cross a context boundary (as might be the case during cross-context dispatch).Methods in org.eclipse.jetty.server that return RequestModifier and TypeMethodDescriptionstatic RequestRequest.asReadOnly(Request request) Returns a copy of the request that throwsUnsupportedOperationExceptionfrom all mutative methods.ForwardedRequestCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) HostHeaderCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) HttpConfiguration.Customizer.customize(Request request, HttpFields.Mutable responseHeaders) ProxyCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) SecureRequestCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) HttpChannel.getRequest()Returns theRequestobject, if available.Response.getRequest()Response.Wrapper.getRequest()Request.Wrapper.getWrapped()protected RequestSecureRequestCustomizer.newSecureRequest(Request request, EndPoint.SslSessionData sslSessionData) static RequestReturn a request with itsHttpURIchanged to the supplied target.static RequestWraps a request but changes the uri so that it can be served to a different target.Methods in org.eclipse.jetty.server with parameters of type RequestModifier and TypeMethodDescriptionstatic voidRequest.addCompletionListener(Request request, Consumer<Throwable> listener) Adds a completion listener that is an optimized equivalent to overriding theCallback.succeeded()andCallback.failed(Throwable)methods of aHttpStream.Wrappercreated by a call toRequest.addHttpStreamWrapper(Function).static <T> TUnwrap a Request back to the given type.static OutputStreamResponse.asBufferedOutputStream(Request request, Response response) Wraps aResponseas aOutputStreamthat performs buffering.static Content.SinkResponse.asBufferedSink(Request request, Response response) Wraps aResponseas aContent.Sinkthat performs buffering.static <T extends Request>
TRequest.asInContext(Request request, Class<T> type) Unwrap a Request back to the given type, ensuring that we do not cross a context boundary (as might be the case during cross-context dispatch).static InputStreamRequest.asInputStream(Request request) static RequestRequest.asReadOnly(Request request) Returns a copy of the request that throwsUnsupportedOperationExceptionfrom all mutative methods.protected voidSecureRequestCustomizer.checkSni(Request request, SSLSession session) ForwardedRequestCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) HostHeaderCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) HttpConfiguration.Customizer.customize(Request request, HttpFields.Mutable responseHeaders) ProxyCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) SecureRequestCustomizer.customize(Request request, HttpFields.Mutable responseHeaders) voidResourceService.doGet(Request request, Response response, Callback callback, HttpContent content) static voidResponseUtils.ensureConsumeAvailableOrNotPersistent(Request request, Response response) static voidResponseUtils.ensureNotPersistent(Request request, Response response) static FieldsRequest.extractQueryParameters(Request request) static FieldsRequest.extractQueryParameters(Request request, Charset charset) static CompletableFuture<Fields> Deprecated, for removal: This API element is subject to removal in a future version.static CompletableFuture<Fields> Deprecated, for removal: This API element is subject to removal in a future version.static CompletableFuture<Fields> Deprecated, for removal: This API element is subject to removal in a future version.static CompletableFuture<Fields> Deprecated, for removal: This API element is subject to removal in a future version.static HttpChannelstatic CompletableFuture<Fields> Deprecated, for removal: This API element is subject to removal in a future version.useFormFields.getFields(Request)instead.static <T,R> R static <C> C[]CookieCache.getApiCookies(Request request, Class<C> cookieClass, Function<HttpCookie, C> convertor) Get the API specific cookies for a request.static Request.AuthenticationStateRequest.getAuthenticationState(Request request) static CharsetRequest.getCharset(Request request) Get aCharsetfrom the requestHttpHeader.CONTENT_TYPE, if any.ResourceService.getContent(String path, Request request) static longRequest.getContentBytesRead(Request request) static StringRequest.getContextPath(Request request) Get the context path of thisRequest.static List<HttpCookie> CookieCache.getCookies(Request request) Get the core HttpCookies for a request.static List<HttpCookie> Request.getCookies(Request request) default StringContext.getCrossContextDispatchType(Request request) Get any cross context dispatch typestatic FieldsGet the Fields from a request.static FieldsGet the Fields from a request.static CharsetFormFields.getFormEncodedCharset(Request request) static StringRequest.getLocalAddr(Request request) Request.getLocales(Request request) static intRequest.getLocalPort(Request request) static MultiPartConfig.BuilderRequest.getMultiPartConfig(Request request, Path location) Get aMultiPartConfig.Buildergiven aRequestand a location.static FieldsRequest.getParameters(Request request) static CompletableFuture<Fields> Request.getParametersAsync(Request request) Deprecated, for removal: This API element is subject to removal in a future version.useRequest.onParameters(Request, Promise.Invocable)instead.static StringRequest.getPathInContext(Request request) Returns the canonically encoded path of the URI, scoped to the current context.static StringRequest.getRemoteAddr(Request request) static intRequest.getRemotePort(Request request) static StringRequest.getServerName(Request request) Get the logical name the request was sent to, which may be from the authority of the request; the configured server authority; the actual network name of the server;static intRequest.getServerPort(Request request) Get the logical port a request was received on, which may be from the authority of the request; the configured server authority; the default port for the scheme; or the actual network port.static longRequest.getTimeStamp(Request request) Get the millisecond timestamp at which the request was created, obtained withSystem.currentTimeMillis().ResourceService.WelcomeFactory.getWelcomeTarget(HttpContent content, Request request) Finds a matching welcome target for the request.booleanbooleanbooleanInvoked to handle the passed HTTP request and response.booleanprotected booleanResourceService.handleConditionalHeaders(Request request, Response response, HttpContent content, Callback callback) protected voidResourceService.handleWelcomeAction(Request request, Response response, Callback callback, ResourceService.WelcomeAction welcomeAction) default booleanContext.isCrossContextDispatch(Request request) Check cross context dispatch statusvoidvoidvoidstatic HttpURIRequest.newHttpURIFrom(Request request, String newEncodedPathInContext) Creates a newHttpURIfrom the given Request's HttpURI and the given path in context.protected RequestSecureRequestCustomizer.newSecureRequest(Request request, EndPoint.SslSessionData sslSessionData) static voidFormFields.onFields(Request request, Charset charset, int maxFields, int maxLength, Promise.Invocable<Fields> promise) Asynchronously reads and parsesFormFieldsfrom aRequest.static voidFormFields.onFields(Request request, Charset charset, Promise.Invocable<Fields> promise) Asynchronously read and parse FormFields from aRequest.static voidFormFields.onFields(Request request, Promise.Invocable<Fields> promise) Asynchronously read and parse FormFields from aRequest.static voidRequest.onParameters(Request request, Promise.Invocable<Fields> promise) Asynchronous version ofRequest.getParameters(Request).static booleanHandler.optionsMethodHandled(String allowedMethods, Request request, Response response, Callback callback) Utility method to handle OPTIONS methodprotected booleanResourceService.passConditionalHeaders(Request request, Response response, HttpContent content, Callback callback) Deprecated, for removal: This API element is subject to removal in a future version.protected voidResourceService.redirectWelcome(Request request, Response response, Callback callback, String welcomeTarget) Redirects to the given welcome target.protected voidResourceService.rehandleWelcome(Request request, Response response, Callback callback, String welcomeTarget) Rehandles the given welcome target.voidRenew the identity of the session.protected StringSecureRequestCustomizer.retrieveSni(Request request, SSLSession session) voidRuns the given task in the current thread scoped to this Context and the given Request.voidprotected voidResourceService.sendRedirect(Request request, Response response, Callback callback, String target) static voidResponse.sendRedirect(Request request, Response response, Callback callback, int code, String location, boolean consumeAvailable) Sends a302HTTP redirect status code to the given location.static voidResponse.sendRedirect(Request request, Response response, Callback callback, int code, String location, boolean consumeAvailable, ByteBuffer content) Sends a302HTTP redirect status code to the given location.static voidResponse.sendRedirect(Request request, Response response, Callback callback, String location) Sends a HTTP redirect status code to the given location, without consuming the available request content.static voidResponse.sendRedirect(Request request, Response response, Callback callback, String location, boolean consumeAvailable) Sends HTTP redirect status code to the given location, without consuming the available request content.protected voidResourceService.sendWelcome(HttpContent content, String pathInContext, boolean endsWithSlash, Request request, Response response, Callback callback) static RequestReturn a request with itsHttpURIchanged to the supplied target.protected voidResourceService.serveWelcome(Request request, Response response, Callback callback, String welcomeTarget) Serves the given welcome target.static voidFormFields.set(Request request, CompletableFuture<Fields> fields) Deprecated, for removal: This API element is subject to removal in a future version.do not use it, no replacement.static voidRequest.setAuthenticationState(Request request, Request.AuthenticationState state) static voidSet aFieldsor related failure for the requeststatic StringRequest.toRedirectURI(Request request, String location) Deprecated.static StringResponse.toRedirectURI(Request request, String location) Common point to generate a proper "Location" header for redirects.static RequestWraps a request but changes the uri so that it can be served to a different target.static voidResponse.writeError(Request request, Response response, Callback callback, int status) Writes an error response with the given HTTP status code.static voidResponse.writeError(Request request, Response response, Callback callback, int status, String message) Writes an error response with the given HTTP status code, and the given message in the response content.static voidResponse.writeError(Request request, Response response, Callback callback, int status, String message, Throwable cause) Writes an error response with the given HTTP status code, and the given message in the response content.static voidResponse.writeError(Request request, Response response, Callback callback, Throwable cause) Writes an error response with HTTP status code500.protected voidResourceService.writeHttpError(Request request, Response response, Callback callback, int status) protected voidResourceService.writeHttpError(Request request, Response response, Callback callback, int status, String msg, Throwable cause) protected voidResourceService.writeHttpError(Request request, Response response, Callback callback, Throwable cause) Method parameters in org.eclipse.jetty.server with type arguments of type RequestModifier and TypeMethodDescriptionvoidCustomRequestLog.setFilter(BiPredicate<Request, Response> filter) This allows you to set a custom filter to decide whether to log a request or omit it from the request log.Constructors in org.eclipse.jetty.server with parameters of type RequestModifierConstructorDescriptionAttributesWrapper(Request wrapped, Attributes attributes) SecureRequest(Request wrapped) protectedSecureRequestWithSslSessionData(Request request, EndPoint.SslSessionData sslSessionData) -
Uses of Request in org.eclipse.jetty.server.handler
Classes in org.eclipse.jetty.server.handler that implement RequestModifier and TypeClassDescriptionclassstatic classstatic classprotected classSubclasses with type arguments of type Request in org.eclipse.jetty.server.handlerModifier and TypeClassDescriptionstatic classClasses in org.eclipse.jetty.server.handler that implement interfaces with type arguments of type RequestModifier and TypeClassDescriptionstatic classAPredicateoverRequestthat tests thenameof theconnectorobtained fromRequest.getConnectionMetaData()static classAPredicateoverRequestthat tests anInetAddressPatternagainst thegetRemoteSocketAddress()ofRequest.getConnectionMetaData().static classstatic classstatic classstatic classFields in org.eclipse.jetty.server.handler with type parameters of type RequestModifier and TypeFieldDescriptionDoSHandler.ID_FROM_CONNECTIONDoSHandler.ID_FROM_REMOTE_ADDRESSDoSHandler.ID_FROM_REMOTE_ADDRESS_PORTDoSHandler.ID_FROM_REMOTE_PORTMethods in org.eclipse.jetty.server.handler that return RequestModifier and TypeMethodDescriptionConnectHandler.ConnectContext.getRequest()protected RequestEagerContentHandler.ContentLoader.getRequest()protected RequestPathMappingsHandler.newPathSpecRequest(Request request, PathSpec pathSpec) protected RequestPathMappingsHandler.NoContext.newPathSpecRequest(Request request, PathSpec pathSpec) Methods in org.eclipse.jetty.server.handler that return types with arguments of type RequestModifier and TypeMethodDescriptionConditionalHandler.from(String connectorName, String inetAddressPattern, String method, String pathSpec) Create aPredicateoverRequestbuilt from theandof one or more of:ConditionalHandler.ConnectorPredicateConditionalHandler.InetAddressPatternPredicateConditionalHandler.MethodPredicateConditionalHandler.PathSpecPredicateConditionalHandler.from(String connectorName, InetAddressPattern inetAddressPattern, String method, PathSpec pathSpec) Create aPredicateoverRequestbuilt from theandof one or more of:TypeUtil.truePredicate()ConditionalHandler.ConnectorPredicateConditionalHandler.InetAddressPatternPredicateConditionalHandler.MethodPredicateConditionalHandler.PathSpecPredicateConditionalHandler.PredicateSet.iterator()Methods in org.eclipse.jetty.server.handler with parameters of type RequestModifier and TypeMethodDescriptionvoidvoidContextHandler.ScopedContext.call(Invocable.Callable callable, Request request) booleanContextHandler.checkVirtualHost(Request request) protected intErrorHandler.computeBufferSize(Request request) protected voidConnectHandler.connectToServer(Request request, String host, int port, Promise<SocketChannel> promise) protected voidprotected voidprotected voidprotected voidprotected voiddefault voidContextHandler.ContextScopeListener.enterScope(Context context, Request request) protected ClassLoaderContextHandler.enterScope(Request contextRequest) Enters the scope of theContext.voiddefault voidprotected voidContextHandler.exitScope(Request contextRequest, Context lastContext, ClassLoader lastLoader) Exits the scope of theContext.protected voidQoSHandler.expireSuspended(Request request, Response response, Callback callback) Fails the given suspended request/response with status code 503 and aTimeoutExceptionfailure.protected voidQoSHandler.failSuspended(Request request, Response response, Callback callback, int status, Throwable failure) Fails the given suspended request/response with the given status code and failure.protected StringDebugHandler.findRequestName(Request request) protected booleanErrorHandler.generateAcceptableResponse(Request request, Response response, Callback callback, String contentType, List<Charset> charsets, int code, String message, Throwable cause) protected voidErrorHandler.generateResponse(Request request, Response response, int code, String message, Throwable cause, Callback callback) protected voidReHandlingErrorHandler.generateResponse(Request request, Response response, int code, String message, Throwable cause, Callback callback) static ContextHandlerContextHandler.getContextHandler(Request request) ContextHandler.ScopedContext.getCrossContextDispatchType(Request request) protected intQoSHandler.getPriority(Request request) Returns the priority of the given suspended request, a value greater than or equal to0.protected StringReHandlingErrorHandler.ByHttpStatus.getReHandlePathInContext(Request request, int code, Throwable cause) protected abstract StringReHandlingErrorHandler.getReHandlePathInContext(Request request, int code, Throwable cause) protected StringThreadLimitHandler.getRemoteIP(Request baseRequest) final booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected voidbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanStateTrackingHandler.handle(Request originalRequest, Response originalResponse, Callback originalCallback) booleanStatisticsHandler.MinimumDataRateHandler.handle(Request request, Response response, Callback callback) booleanprotected booleanConnectHandler.handleAuthentication(Request request, Response response, String address) Handles the authentication before setting up the tunnel to the remote server.protected voidConnectHandler.handleConnect(Request request, Response response, Callback callback, String serverAddress) Handles a CONNECT request.protected voidContextHandler.handleMovedPermanently(Request request, Response response, Callback callback) protected voidContextHandler.handleUnavailable(Request request, Response response, Callback callback) booleanContextHandler.ScopedContext.isCrossContextDispatch(Request request) EagerContentHandler.ContentLoaderFactory.newContentLoader(String contentType, String mimeType, Handler handler, Request request, Response response, Callback callback) EagerContentHandler.FormContentLoaderFactory.newContentLoader(String contentType, String mimeType, Handler handler, Request request, Response response, Callback callback) EagerContentHandler.MultiPartContentLoaderFactory.newContentLoader(String contentType, String mimeType, Handler handler, Request request, Response response, Callback callback) EagerContentHandler.RetainedContentLoaderFactory.newContentLoader(String contentType, String mimeType, Handler handler, Request request, Response response, Callback callback) protected RequestPathMappingsHandler.newPathSpecRequest(Request request, PathSpec pathSpec) protected RequestPathMappingsHandler.NoContext.newPathSpecRequest(Request request, PathSpec pathSpec) protected booleanConditionalHandler.nextHandler(Request request, Response response, Callback callback) Handle a request by invoking theConditionalHandler.handle(Request, Response, Callback)method of thenext Handler.protected voidContextHandler.notifyEnterScope(Request request) protected voidContextHandler.notifyExitScope(Request request) protected voidEventsHandler.onAfterHandling(Request request, boolean handled, Throwable failure) Invoked after application handling (i.e. just after the call to theRunnablereturned fromHttpChannel.onRequest(MetaData.Request)returns).protected voidStatisticsHandler.onAfterHandling(Request request, boolean handled, Throwable failure) protected voidEventsHandler.onBeforeHandling(Request request) Invoked just before calling the server handler tree (i.e. just before theRunnablereturned fromHttpChannel.onRequest(MetaData.Request)is run).protected voidStatisticsHandler.onBeforeHandling(Request request) protected voidEventsHandler.onComplete(Request request, int status, HttpFields headers, Throwable failure) Invoked when the request and response processing are complete, just before the request and response will be recycled (i.e. after theRunnablereturn fromHttpChannel.onRequest(MetaData.Request)has returned and theCallbackpassed toRequest.Handler.handle(Request, Response, Callback)has been completed).protected voidEventsHandler.onComplete(Request request, Throwable failure) Deprecated.OverrideEventsHandler.onComplete(Request, int, HttpFields, Throwable)instead.protected final voidLatencyRecordingHandler.onComplete(Request request, int status, HttpFields headers, Throwable failure) protected voidStatisticsHandler.onComplete(Request request, int status, HttpFields headers, Throwable failure) booleanBufferedResponseHandler.onConditionsMet(Request request, Response response, Callback callback) protected booleanConditionalHandler.DontHandle.onConditionsMet(Request request, Response response, Callback callback) protected abstract booleanConditionalHandler.onConditionsMet(Request request, Response response, Callback callback) Handle a request that has met the conditions.protected booleanConditionalHandler.Reject.onConditionsMet(Request request, Response response, Callback callback) protected booleanConditionalHandler.SkipNext.onConditionsMet(Request request, Response response, Callback callback) protected booleanDoSHandler.onConditionsMet(Request request, Response response, Callback callback) protected booleanEagerContentHandler.onConditionsMet(Request request, Response response, Callback callback) protected booleanInetAccessHandler.onConditionsMet(Request request, Response response, Callback callback) booleanQoSHandler.onConditionsMet(Request request, Response response, Callback callback) booleanThreadLimitHandler.onConditionsMet(Request request, Response response, Callback callback) protected booleanBufferedResponseHandler.onConditionsNotMet(Request request, Response response, Callback callback) protected booleanConditionalHandler.ElseNext.onConditionsNotMet(Request request, Response response, Callback callback) protected abstract booleanConditionalHandler.onConditionsNotMet(Request request, Response response, Callback callback) This method is called when the request has not met the conditions and is not to be handled by this handler.protected booleanInetAccessHandler.onConditionsNotMet(Request request, Response response, Callback callback) protected booleanQoSHandler.onConditionsNotMet(Request request, Response response, Callback callback) protected booleanThreadLimitHandler.onConditionsNotMet(Request request, Response response, Callback callback) protected voidConnectHandler.onConnectFailure(Request request, Response response, Callback callback, Throwable failure) default voidStateTrackingHandler.Listener.onDemandCallbackBlocked(Request request, StateTrackingHandler.ThreadInfo demandThreadInfo, StateTrackingHandler.ThreadInfo runThreadInfo) Invoked when therequest demand callbackrun()method blocks for longer than the timeout specified withStateTrackingHandler.getDemandCallbackTimeout().default voidStateTrackingHandler.Listener.onHandlerCallbackNotCompleted(Request request, StateTrackingHandler.ThreadInfo handlerThreadInfo) Invoked when theHandlercallback is not completed within the timeout specified withStateTrackingHandler.getHandlerCallbackTimeout().default voidStateTrackingHandler.Listener.onHandlerException(Request request, Throwable failure, StateTrackingHandler.ThreadInfo completionThreadInfo) Invoked when theHandlerchain throws an exception from theRequest.Handler.handle(Request, Response, Callback)method.default voidStateTrackingHandler.Listener.onInvalidHandlerReturnValue(Request request, StateTrackingHandler.ThreadInfo completionThreadInfo) Invoked when theHandlerchain returnsfalse, but the handler callback has been completed.protected voidEventsHandler.onRequestRead(Request request, Content.Chunk chunk) Invoked every time a request content chunk has been parsed, just before making it available to the application (i.e. from within a call toRequest.read()).protected voidStatisticsHandler.onRequestRead(Request request, Content.Chunk chunk) protected voidEventsHandler.onResponseBegin(Request request, int status, HttpFields headers) Invoked just before the response is line written to the network (i.e. from within the first call toResponse.write(boolean, ByteBuffer, Callback)).protected voidEventsHandler.onResponseTrailersComplete(Request request, HttpFields trailers) Invoked after the response trailers have been written and the finalEventsHandler.onResponseWriteComplete(Request, Throwable)event was fired.protected voidEventsHandler.onResponseWrite(Request request, boolean last, ByteBuffer content) Invoked before each response content chunk has been written (i.e. from within the any call toResponse.write(boolean, ByteBuffer, Callback)).protected voidStatisticsHandler.onResponseWrite(Request request, boolean last, ByteBuffer content) protected voidEventsHandler.onResponseWriteComplete(Request request, Throwable failure) Invoked after each response content chunk has been written (i.e. immediately before calling theCallbackpassed toResponse.write(boolean, ByteBuffer, Callback)).default voidStateTrackingHandler.Listener.onWriteBlocked(Request request, StateTrackingHandler.ThreadInfo writeThreadInfo, StateTrackingHandler.ThreadInfo writingThreadInfo) Invoked when theResponse.write(boolean, ByteBuffer, Callback)call blocks for longer than the timeout specified withStateTrackingHandler.getWriteTimeout().default voidStateTrackingHandler.Listener.onWriteCallbackBlocked(Request request, Throwable writeFailure, StateTrackingHandler.ThreadInfo writeThreadInfo, StateTrackingHandler.ThreadInfo callbackThreadInfo) Invoked when the write callback passed toResponse.write(boolean, ByteBuffer, Callback)blocks for longer than the timeout specified withStateTrackingHandler.getWriteCallbackTimeout().default voidStateTrackingHandler.Listener.onWriteCallbackNotCompleted(Request request, Throwable writeFailure, StateTrackingHandler.ThreadInfo writeThreadInfo) Invoked when the write callback passed toResponse.write(boolean, ByteBuffer, Callback)is not completed for longer than the timeout specified withStateTrackingHandler.getWriteTimeout().protected voidConnectHandler.prepareContext(Request request, ConcurrentMap<String, Object> context) voidbooleanbooleanbooleanbooleanboolean<T> booleanprotected ContextRequestContextHandler.wrapRequest(Request request, Response response) booleanErrorHandler.writeError(Request request, Response response, Callback callback, int code) Write an error response, or signal that the error will be handled by a down stream handler.protected voidErrorHandler.writeErrorHtml(Request request, Writer writer, Charset charset, int code, String message, Throwable cause) protected voidErrorHandler.writeErrorHtmlBody(Request request, Writer writer, int code, String message, Throwable cause) protected voidErrorHandler.writeErrorHtmlHead(Request request, Writer writer, int code, String message) protected voidErrorHandler.writeErrorHtmlMessage(Request request, Writer writer, int code, String message, Throwable cause, String uri) protected voidErrorHandler.writeErrorHtmlMeta(Request request, Writer writer, Charset charset) protected voidErrorHandler.writeErrorHtmlStacks(Request request, Writer writer) protected voidErrorHandler.writeErrorJson(Request request, PrintWriter writer, int code, String message, Throwable cause) protected voidErrorHandler.writeErrorPlain(Request request, PrintWriter writer, int code, String message, Throwable cause) Method parameters in org.eclipse.jetty.server.handler with type arguments of type RequestModifier and TypeMethodDescriptionbooleanConstructors in org.eclipse.jetty.server.handler with parameters of type RequestModifierConstructorDescriptionConnectContext(Request request, Response response, Callback callback, EndPoint endPoint) protectedContentLoader(Handler handler, Request request, Response response, Callback callback) protectedContextRequest(ContextHandler.ScopedContext context, Request request) ContextResponse(ContextHandler.ScopedContext context, Request request, Response response) ErrorRequest(Request request, int status, String message, Throwable cause) PathSpecRequest(Request request, PathSpec pathSpec) RetainedContentLoader(Handler handler, Request request, Response response, Callback callback, long maxRetainedBytes, int framingOverhead, boolean rejectWhenExceeded) Constructor parameters in org.eclipse.jetty.server.handler with type arguments of type RequestModifierConstructorDescriptionDoSHandler(Function<Request, String> clientIdFn, DoSHandler.Tracker.Factory trackerFactory, Request.Handler rejectHandler, int maxTrackers) DoSHandler(Handler handler, Function<Request, String> clientIdFn, DoSHandler.Tracker.Factory trackerFactory, Request.Handler rejectHandler, int maxTrackers) DoSHandler(Handler handler, Function<Request, String> clientIdFn, DoSHandler.Tracker.Factory trackerFactory, Request.Handler rejectHandler, int maxTrackers, boolean rejectUntracked) -
Uses of Request in org.eclipse.jetty.server.handler.gzip
Classes in org.eclipse.jetty.server.handler.gzip that implement RequestMethods in org.eclipse.jetty.server.handler.gzip with parameters of type RequestModifier and TypeMethodDescriptionGzipFactory.getDeflaterEntry(Request request, long contentLength) GzipHandler.getDeflaterEntry(Request request, long contentLength) Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Constructors in org.eclipse.jetty.server.handler.gzip with parameters of type RequestModifierConstructorDescriptionGzipRequest(Request request, int inflateBufferSize) GzipResponseAndCallback(GzipHandler handler, Request request, Response response, Callback callback) HeaderWrappingRequest(Request request, HttpFields fields) -
Uses of Request in org.eclipse.jetty.session
Classes in org.eclipse.jetty.session that implement RequestMethods in org.eclipse.jetty.session with parameters of type RequestModifier and TypeMethodDescriptionprotected voidAbstractSessionManager.addSessionStreamWrapper(Request request) DefaultSessionIdManager.getExtendedId(String clusterId, Request request) Get the session ID with any worker ID.SessionIdManager.getExtendedId(String id, Request request) Get an extended id for a session.SessionHandler.getManagedSession(Request request) SessionManager.getManagedSession(Request request) booleanvoidAbstractSessionManager.newSession(Request request, String requestedSessionId, Consumer<ManagedSession> consumer) Create a new Session, using the requested session id if possible.voidSessionManager.newSession(Request request, String requestedSessionId, Consumer<ManagedSession> consumer) DefaultSessionIdManager.newSessionId(Request request, String requestedId, long created) Create a new session id if necessary.SessionIdManager.newSessionId(Request request, String requestedId, long created) Create a new Session ID.voidForce a change to the id of a session.DefaultSessionIdManager.renewSessionId(String oldClusterId, String oldNodeId, Request request) Generate a new id for a session and update across all SessionManagers.SessionIdManager.renewSessionId(String oldId, String oldExtendedId, Request request) Change the existing session id.protected AbstractSessionManager.RequestedSessionAbstractSessionManager.resolveRequestedSessionId(Request request) Find any Session associated with the Request.Constructors in org.eclipse.jetty.session with parameters of type Request -
Uses of Request in org.eclipse.jetty.websocket.core.server
Subinterfaces of Request in org.eclipse.jetty.websocket.core.serverModifier and TypeInterfaceDescriptioninterfaceUpgrade request used for websocket negotiation.Methods in org.eclipse.jetty.websocket.core.server with parameters of type RequestModifier and TypeMethodDescriptionWebSocketMappings.getMatchedNegotiator(Request request, BiConsumer<Request, PathSpec> consumer) Returns the mappedWebSocketNegotiatorif there is a match of givenrequestagainst aregistered mapping, otherwise returnsnullif there is no match.booleanbooleanHandshaker.isWebSocketUpgradeRequest(Request request) A preliminary check to see if a request is likely to be a valid WebSocket Upgrade Request.booleanWebSocketMappings.upgrade(Request request, Response response, Callback callback, Configuration.Customizer defaultCustomizer) Attempts to find a WebSocket mapping and upgrade a request to WebSocket.booleanWebSocketMappings.upgrade(WebSocketNegotiator negotiator, Request request, Response response, Callback callback, Configuration.Customizer defaultCustomizer) Attempts to find a WebSocket mapping and upgrade a request to WebSocket.booleanHandshaker.upgradeRequest(WebSocketNegotiator negotiator, Request request, Response response, Callback callback, WebSocketComponents components, Configuration.Customizer defaultCustomizer) Attempts to upgrade a request to WebSocket.Method parameters in org.eclipse.jetty.websocket.core.server with type arguments of type RequestModifier and TypeMethodDescriptionWebSocketMappings.getMatchedNegotiator(Request request, BiConsumer<Request, PathSpec> consumer) Returns the mappedWebSocketNegotiatorif there is a match of givenrequestagainst aregistered mapping, otherwise returnsnullif there is no match. -
Uses of Request in org.eclipse.jetty.websocket.server
Subinterfaces of Request in org.eclipse.jetty.websocket.serverModifier and TypeInterfaceDescriptioninterfaceThe HTTP request to upgrade to WebSocket.Methods in org.eclipse.jetty.websocket.server with parameters of type RequestModifier and TypeMethodDescriptionbooleanMatches the givenrequestagainst existing WebSocket mappings, upgrading to WebSocket if there is a match.booleanprotected booleanWebSocketUpgradeHandler.handle(ServerWebSocketContainer container, Request request, Response response, Callback callback) booleanServerWebSocketContainer.upgrade(WebSocketCreator creator, Request request, Response response, Callback callback) Upgrades the givenrequestwithout matching against the WebSocket mappings.
FormFields.onFields(Request, Promise.Invocable)instead.