public interface IXServletLowLevelFilter extends Serializable
| Modifier and Type | Method and Description |
|---|---|
default void |
afterRequest(javax.servlet.http.HttpServletRequest aHttpRequest,
javax.servlet.http.HttpServletResponse aHttpResponse,
com.helger.http.EHttpVersion eHttpVersion,
com.helger.commons.http.EHttpMethod eHttpMethod,
boolean bInvokeHandler,
Throwable aCaughtException,
boolean bIsHandledAsync)
Invoked after an XServlet request was handled.
|
com.helger.commons.state.EContinue |
beforeRequest(javax.servlet.http.HttpServletRequest aHttpRequest,
javax.servlet.http.HttpServletResponse aHttpResponse,
com.helger.http.EHttpVersion eHttpVersion,
com.helger.commons.http.EHttpMethod eHttpMethod)
Invoked before an XServlet request is handled.
|
@Nonnull com.helger.commons.state.EContinue beforeRequest(@Nonnull javax.servlet.http.HttpServletRequest aHttpRequest, @Nonnull javax.servlet.http.HttpServletResponse aHttpResponse, @Nonnull com.helger.http.EHttpVersion eHttpVersion, @Nonnull com.helger.commons.http.EHttpMethod eHttpMethod) throws javax.servlet.ServletException, IOException
aHttpRequest - HTTP servlet request. Never null.aHttpResponse - HTTP servlet response. Never null.eHttpVersion - HTTP version. Never null.eHttpMethod - HTTP method. Never null.EContinue.CONTINUE to continue processing, or
EContinue.BREAK if this request should not be processed, in
which case the HttpServletResponse must contain a valid response!javax.servlet.ServletException - in case of business logic error.IOException - in case of IO error.default void afterRequest(@Nonnull javax.servlet.http.HttpServletRequest aHttpRequest, @Nonnull javax.servlet.http.HttpServletResponse aHttpResponse, @Nonnull com.helger.http.EHttpVersion eHttpVersion, @Nonnull com.helger.commons.http.EHttpMethod eHttpMethod, boolean bInvokeHandler, @Nullable Throwable aCaughtException, boolean bIsHandledAsync) throws javax.servlet.ServletException, IOException
aHttpRequest - HTTP servlet request. Never null.aHttpResponse - HTTP servlet response. Never null.eHttpVersion - HTTP version. Never null.eHttpMethod - HTTP method. Never null.bInvokeHandler - true if the main handler was invoked, false
if
beforeRequest(HttpServletRequest, HttpServletResponse, EHttpVersion, EHttpMethod)
avoided the execution of the request.aCaughtException - An optionally caught exception. May be null. The
exception was already logged, so please don't log it again!bIsHandledAsync - true if the request is handled asynchronouslyjavax.servlet.ServletException - in case of business logic errorIOException - in case of IO errorCopyright © 2017–2019 Philip Helger. All rights reserved.