Class DefaultRequestRejectedHandler
- java.lang.Object
-
- org.springframework.security.web.firewall.DefaultRequestRejectedHandler
-
- All Implemented Interfaces:
RequestRejectedHandler
public class DefaultRequestRejectedHandler extends java.lang.Object implements RequestRejectedHandler
Default implementation ofRequestRejectedHandler
that simply rethrows the exception.- Since:
- 5.4
-
-
Constructor Summary
Constructors Constructor Description DefaultRequestRejectedHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, RequestRejectedException requestRejectedException)
Handles an request rejected failure.
-
-
-
Method Detail
-
handle
public void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, RequestRejectedException requestRejectedException) throws java.io.IOException, javax.servlet.ServletException
Description copied from interface:RequestRejectedHandler
Handles an request rejected failure.- Specified by:
handle
in interfaceRequestRejectedHandler
- Parameters:
request
- that resulted in anRequestRejectedException
response
- so that the user agent can be advised of the failurerequestRejectedException
- that caused the invocation- Throws:
java.io.IOException
- in the event of an IOExceptionjavax.servlet.ServletException
- in the event of a ServletException
-
-