Uses of Class
org.eclipse.jetty.server.Request
Package
Description
Jetty Jaas : Jaas Callbacks
Jetty Proxy : Async Proxy Support
Jetty Rewrite : Rewrite Handler and Rules for Jetty
Jetty Security : Modular Support for Security in Jetty
Jetty Security : Authenticators and Callbacks
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty GZIP Handler
Jetty Server : Session Management Implementations
Jetty Server : Modular Servlet Integration
-
Uses of Request in org.eclipse.jetty.http.spi
-
Uses of Request in org.eclipse.jetty.jaas.callback
-
Uses of Request in org.eclipse.jetty.proxy
Modifier and TypeMethodDescriptionvoid
ConnectHandler.handle
(String target, Request jettyRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected void
ConnectHandler.handleConnect
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String serverAddress) Handles a CONNECT request. -
Uses of Request in org.eclipse.jetty.rewrite
Modifier and TypeMethodDescriptionvoid
RewriteCustomizer.customize
(Connector connector, HttpConfiguration channelConfig, Request request) -
Uses of Request in org.eclipse.jetty.rewrite.handler
Modifier and TypeMethodDescriptionvoid
void
This method will add _query to the requests's queryString and also combine it with existing queryStrings in the request.void
void
void
RewriteHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Uses of Request in org.eclipse.jetty.security
Modifier and TypeMethodDescriptionprotected boolean
SecurityHandler.checkSecurity
(Request request) protected boolean
ConstraintSecurityHandler.checkUserDataPermissions
(String pathInContext, Request request, Response response, RoleInfo roleInfo) protected abstract boolean
SecurityHandler.checkUserDataPermissions
(String pathInContext, Request request, Response response, RoleInfo constraintInfo) protected boolean
ConstraintSecurityHandler.checkWebResourcePermissions
(String pathInContext, Request request, Response response, Object constraintInfo, UserIdentity userIdentity) protected abstract boolean
SecurityHandler.checkWebResourcePermissions
(String pathInContext, Request request, Response response, Object constraintInfo, UserIdentity userIdentity) void
SecurityHandler.handle
(String pathInContext, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected boolean
ConstraintSecurityHandler.isAuthMandatory
(Request baseRequest, Response baseResponse, Object constraintInfo) protected abstract boolean
SecurityHandler.isAuthMandatory
(Request baseRequest, Response baseResponse, Object constraintInfo) protected RoleInfo
ConstraintSecurityHandler.prepareConstraintInfo
(String pathInContext, Request request) Find constraints that apply to the given path.protected abstract RoleInfo
SecurityHandler.prepareConstraintInfo
(String pathInContext, Request request) -
Uses of Request in org.eclipse.jetty.security.authentication
-
Uses of Request in org.eclipse.jetty.security.openid
Modifier and TypeMethodDescriptionprotected String
OpenIdAuthenticator.getChallengeUri
(Request request) -
Uses of Request in org.eclipse.jetty.server
Modifier and TypeMethodDescriptionHttpChannelState.getBaseRequest()
static Request
Request.getBaseRequest
(jakarta.servlet.ServletRequest request) Obtain the baseRequest
instance of aServletRequest
, by coercion, unwrapping or special attribute.HttpChannel.getRequest()
Modifier and TypeMethodDescriptionvoid
ForwardedRequestCustomizer.customize
(Connector connector, HttpConfiguration config, Request request) void
HostHeaderCustomizer.customize
(Connector connector, HttpConfiguration channelConfig, Request request) void
HttpConfiguration.Customizer.customize
(Connector connector, HttpConfiguration channelConfig, Request request) void
ProxyCustomizer.customize
(Connector connector, HttpConfiguration channelConfig, Request request) protected void
Customizes the request attributes to be set for SSL requests.void
SecureRequestCustomizer.customize
(Connector connector, HttpConfiguration channelConfig, Request request) protected void
SecureRequestCustomizer.customizeSecure
(Request request) Customizes the request attributes for general secure settings.protected static String
CustomRequestLog.getAuthentication
(Request request, boolean checkDeferred) Extract the user authenticationvoid
Handler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Handle a request.protected void
Server.handleOptions
(Request request, Response response) void
Writes the request and response information to the output stream.void
void
default void
HttpChannel.Listener.onAfterDispatch
(Request request) Invoked just after the application returns from the first invocation.void
HttpChannel.TransientListeners.onAfterDispatch
(Request request) Deprecated.void
HttpChannelListeners.onAfterDispatch
(Request request) default void
HttpChannel.Listener.onBeforeDispatch
(Request request) Invoked just before calling the application.void
HttpChannel.TransientListeners.onBeforeDispatch
(Request request) Deprecated.void
HttpChannelListeners.onBeforeDispatch
(Request request) default void
HttpChannel.Listener.onComplete
(Request request) Invoked when the request and response processing are complete.void
HttpChannel.TransientListeners.onComplete
(Request request) Deprecated.void
HttpChannelListeners.onComplete
(Request request) default void
HttpChannel.Listener.onDispatchFailure
(Request request, Throwable failure) Invoked when the application threw an exception.void
HttpChannel.TransientListeners.onDispatchFailure
(Request request, Throwable failure) Deprecated.void
HttpChannelListeners.onDispatchFailure
(Request request, Throwable failure) default void
HttpChannel.Listener.onRequestBegin
(Request request) Invoked just after the HTTP request line and headers have been parsed.void
HttpChannel.TransientListeners.onRequestBegin
(Request request) Deprecated.void
HttpChannelListeners.onRequestBegin
(Request request) default void
HttpChannel.Listener.onRequestContent
(Request request, ByteBuffer content) Invoked every time a request content chunk has been parsed, just before making it available to the application.void
HttpChannel.TransientListeners.onRequestContent
(Request request, ByteBuffer content) Deprecated.void
HttpChannelListeners.onRequestContent
(Request request, ByteBuffer content) default void
HttpChannel.Listener.onRequestContentEnd
(Request request) Invoked when the end of the request content is detected.void
HttpChannel.TransientListeners.onRequestContentEnd
(Request request) Deprecated.void
HttpChannelListeners.onRequestContentEnd
(Request request) default void
HttpChannel.Listener.onRequestEnd
(Request request) Invoked when the request has been fully parsed.void
HttpChannel.TransientListeners.onRequestEnd
(Request request) Deprecated.void
HttpChannelListeners.onRequestEnd
(Request request) default void
HttpChannel.Listener.onRequestFailure
(Request request, Throwable failure) Invoked when the request processing failed.void
HttpChannel.TransientListeners.onRequestFailure
(Request request, Throwable failure) Deprecated.void
HttpChannelListeners.onRequestFailure
(Request request, Throwable failure) default void
HttpChannel.Listener.onRequestTrailers
(Request request) Invoked when the request trailers have been parsed.void
HttpChannel.TransientListeners.onRequestTrailers
(Request request) Deprecated.void
HttpChannelListeners.onRequestTrailers
(Request request) default void
HttpChannel.Listener.onResponseBegin
(Request request) Invoked just before the response line is written to the network.void
HttpChannel.TransientListeners.onResponseBegin
(Request request) Deprecated.void
HttpChannelListeners.onResponseBegin
(Request request) default void
HttpChannel.Listener.onResponseCommit
(Request request) Invoked just after the response is committed (that is, the response line, headers and possibly some content have been written to the network).void
HttpChannel.TransientListeners.onResponseCommit
(Request request) Deprecated.void
HttpChannelListeners.onResponseCommit
(Request request) default void
HttpChannel.Listener.onResponseContent
(Request request, ByteBuffer content) Invoked after a response content chunk has been written to the network.void
HttpChannel.TransientListeners.onResponseContent
(Request request, ByteBuffer content) Deprecated.void
HttpChannelListeners.onResponseContent
(Request request, ByteBuffer content) default void
HttpChannel.Listener.onResponseEnd
(Request request) Invoked when the response has been fully written.void
HttpChannel.TransientListeners.onResponseEnd
(Request request) Deprecated.void
HttpChannelListeners.onResponseEnd
(Request request) default void
HttpChannel.Listener.onResponseFailure
(Request request, Throwable failure) Invoked when the response processing failed.void
HttpChannel.TransientListeners.onResponseFailure
(Request request, Throwable failure) Deprecated.void
HttpChannelListeners.onResponseFailure
(Request request, Throwable failure) Modifier and TypeMethodDescriptionvoid
CustomRequestLog.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.ModifierConstructorDescriptionAsyncContextEvent
(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) AsyncContextEvent
(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, HttpURI baseURI) MultiPartsHttpParser
(InputStream in, String contentType, jakarta.servlet.MultipartConfigElement config, File contextTmpDir, Request request) MultiPartsHttpParser
(InputStream in, String contentType, jakarta.servlet.MultipartConfigElement config, File contextTmpDir, Request request, int maxParts) MultiPartsUtilParser
(InputStream in, String contentType, jakarta.servlet.MultipartConfigElement config, File contextTmpDir, Request request) MultiPartsUtilParser
(InputStream in, String contentType, jakarta.servlet.MultipartConfigElement config, File contextTmpDir, Request request, int maxParts) PushBuilderImpl
(Request request, HttpFields fields, String method, String queryString, String sessionId) -
Uses of Request in org.eclipse.jetty.server.handler
Modifier and TypeMethodDescriptionboolean
ContextHandler.checkContext
(String target, Request baseRequest, jakarta.servlet.http.HttpServletResponse response) boolean
ContextHandler.checkVirtualHost
(Request baseRequest) protected void
AsyncDelayHandler.delayHandling
(Request request, jakarta.servlet.AsyncContext context) Called to indicate that a requests handling is being delayed/ The implementation should arrange for context.dispatch() to be called when the request should be handled.protected void
AbstractHandler.doError
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Deprecated.void
ContextHandler.doHandle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) abstract void
ScopedHandler.doHandle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Do the handler work within the scope.protected abstract void
AbstractHandler.ErrorDispatchHandler.doNonErrorHandle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Deprecated.void
ContextHandler.doScope
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
ScopedHandler.doScope
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Scope the handlerprotected void
ShutdownHandler.doShutdown
(Request baseRequest, jakarta.servlet.http.HttpServletResponse response) protected void
AsyncDelayHandler.endHandling
(Request request) Called to indicated the handling of the request is ending.void
ContextHandler.ContextScopeListener.enterScope
(ContextHandler.Context context, Request request, Object reason) protected void
ContextHandler.enterScope
(Request request, Object reason) void
ContextHandler.ContextScopeListener.exitScope
(ContextHandler.Context context, Request request) protected void
protected void
ErrorHandler.generateAcceptableResponse
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, int code, String message) Generate an acceptable error response.protected void
ErrorHandler.generateAcceptableResponse
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, int code, String message, String contentType) Generate an acceptable error response for a mime type.protected Writer
ErrorHandler.getAcceptableWriter
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Deprecated.protected String
ThreadLimitHandler.getRemoteIP
(Request baseRequest) final void
AbstractHandler.ErrorDispatchHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Deprecated.abstract void
AbstractHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
AsyncDelayHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
BufferedResponseHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
Handle a runnable in the scope of this context and a particular requestvoid
ContextHandlerCollection.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
DebugHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
DefaultHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
ErrorHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
HandlerCollection.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
HandlerList.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
HandlerWrapper.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
HotSwapHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
IdleTimeoutHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
InetAccessHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Checks the incoming request against the whitelist and blacklistvoid
RequestLogHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
ResourceHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) final void
ScopedHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
SecuredRedirectHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
ShutdownHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
StatisticsHandler.handle
(String path, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
ThreadLimitHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected boolean
InetAccessHandler.isAllowed
(InetAddress addr, Request baseRequest, jakarta.servlet.http.HttpServletRequest request) Checks if specified address and request are allowed by current InetAddress rules.final void
ScopedHandler.nextHandle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) final void
ScopedHandler.nextScope
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Scope the handlerprotected void
ContextHandler.requestDestroyed
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request) protected void
ContextHandler.requestInitialized
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request) protected boolean
AsyncDelayHandler.startHandling
(Request request, boolean restart) Called to indicate that a request has been presented for handlingprotected void
StatisticsHandler.updateResponse
(Request request, boolean thrownError) -
Uses of Request in org.eclipse.jetty.server.handler.gzip
Modifier and TypeMethodDescriptionGzipFactory.getDeflaterEntry
(Request request, long contentLength) GzipHandler.getDeflaterEntry
(Request request, long contentLength) void
GzipHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Uses of Request in org.eclipse.jetty.server.session
Modifier and TypeMethodDescriptionprotected void
SessionHandler.checkRequestedSessionId
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request) Look for a requested session ID in cookies and URI parametersvoid
SessionHandler.doHandle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
SessionHandler.doScope
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Uses of Request in org.eclipse.jetty.servlet
Modifier and TypeMethodDescriptionvoid
ServletHandler.doHandle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
ServletHandler.doScope
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected jakarta.servlet.FilterChain
ServletHandler.getFilterChain
(Request baseRequest, String pathInContext, ServletHolder servletHolder) void
ServletHolder.handle
(Request baseRequest, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) Service a request with this servlet.protected void
ServletHandler.notFound
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected void
ServletHolder.prepare
(Request baseRequest, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) Prepare to service a request. -
Uses of Request in org.eclipse.jetty.websocket.core.server
Modifier and TypeMethodDescriptionvoid
WebSocketUpgradeHandler.handle
(String target, Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected void
WebSocketNegotiation.negotiateHeaders
(Request baseRequest) ModifierConstructorDescriptionWebSocketNegotiation
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, WebSocketComponents webSocketComponents) -
Uses of Request in org.eclipse.jetty.websocket.core.server.internal
Modifier and TypeMethodDescriptionprotected abstract WebSocketConnection
AbstractHandshaker.createWebSocketConnection
(Request baseRequest, WebSocketCoreSession coreSession) protected WebSocketConnection
RFC6455Handshaker.createWebSocketConnection
(Request baseRequest, WebSocketCoreSession coreSession) protected WebSocketConnection
RFC8441Handshaker.createWebSocketConnection
(Request baseRequest, WebSocketCoreSession coreSession) protected void
RFC6455Negotiation.negotiateHeaders
(Request baseRequest) ModifierConstructorDescriptionRFC6455Negotiation
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, WebSocketComponents components) RFC8441Negotiation
(Request baseRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, WebSocketComponents components)