Package org.kohsuke.stapler.compression
Interface UncaughtExceptionHandler
-
public interface UncaughtExceptionHandler
Handles an exception caught byCompressionFilter
. SeeCompressionFilter
javadoc for why this exception needs to be handled by us and can't just be handled by the servlet container like it does all others.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description static UncaughtExceptionHandler
DEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
reportException(Throwable e, javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp)
Called to render the exception as an HTTP response.
-
-
-
Field Detail
-
DEFAULT
static final UncaughtExceptionHandler DEFAULT
-
-
Method Detail
-
reportException
void reportException(Throwable e, javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp) throws javax.servlet.ServletException, IOException
Called to render the exception as an HTTP response.- Throws:
javax.servlet.ServletException
IOException
-
-