- java.lang.Object
-
- net.odoframework.jetty.runtime.DefaultExceptionHandler
-
- All Implemented Interfaces:
BiFunction<InvocationContext<Pair<jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse>>,Throwable,jakarta.servlet.http.HttpServletResponse>,ExceptionHandler<Pair<jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse>,jakarta.servlet.http.HttpServletResponse>
public class DefaultExceptionHandler extends Object implements ExceptionHandler<Pair<jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse>,jakarta.servlet.http.HttpServletResponse>
-
-
Constructor Summary
Constructors Constructor Description DefaultExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.servlet.http.HttpServletResponseapply(InvocationContext<Pair<jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse>> runtimeContext, Throwable throwable)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
apply
public jakarta.servlet.http.HttpServletResponse apply(InvocationContext<Pair<jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse>> runtimeContext, Throwable throwable)
- Specified by:
applyin interfaceBiFunction<InvocationContext<Pair<jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse>>,Throwable,jakarta.servlet.http.HttpServletResponse>
-
-