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
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, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
DefaultExceptionHandler
public DefaultExceptionHandler()
-
-
Method Details
-
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>
-