Class ExceptionHandlerFilter
java.lang.Object
org.bardframework.commons.web.filter.ExceptionHandlerFilter
- All Implemented Interfaces:
jakarta.servlet.Filter
-
Constructor Summary
ConstructorsConstructorDescriptionExceptionHandlerFilter(T exceptionControllerAdvice, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.Filter
destroy, init
-
Constructor Details
-
ExceptionHandlerFilter
public ExceptionHandlerFilter(T exceptionControllerAdvice, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, jakarta.servlet.FilterChain chain) throws IOException - Specified by:
doFilterin interfacejakarta.servlet.Filter- Throws:
IOException
-
handle
-