public interface RequestListener extends EventListener
RequestListener is called for new request and request completion events. It is abstracted
away from Servlet and/or Jetty API so that behaviours can be registered independently of servlet
and/or jetty version. AppEngineWebAppContext is responsible for linking these callbacks
and may use different mechanisms in different versions (Eg eventually may use async onComplete
callbacks when async is supported).| Modifier and Type | Method and Description |
|---|---|
void |
requestComplete(org.eclipse.jetty.webapp.WebAppContext context,
org.eclipse.jetty.server.Request request)
Called when a request exits the AppEngine context for the last time.
|
void |
requestReceived(org.eclipse.jetty.webapp.WebAppContext context,
org.eclipse.jetty.server.Request request)
Called when a new request is received and first dispatched to the AppEngine context.
|
void requestReceived(org.eclipse.jetty.webapp.WebAppContext context,
org.eclipse.jetty.server.Request request)
throws IOException,
javax.servlet.ServletException
context - The jetty context of the requestrequest - The jetty request object.IOExecption - if a problem with IOjavax.servlet.ServletException - for all other problemsIOExceptionvoid requestComplete(org.eclipse.jetty.webapp.WebAppContext context,
org.eclipse.jetty.server.Request request)
context - The jetty context of the requestrequest - The jetty request object.Copyright © 2022. All rights reserved.