Class CompositeRequestRejectedHandler
java.lang.Object
org.springframework.security.web.firewall.CompositeRequestRejectedHandler
- All Implemented Interfaces:
 RequestRejectedHandler
A 
RequestRejectedHandler that delegates to several other
 RequestRejectedHandlers.- Since:
 - 5.7
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCompositeRequestRejectedHandler(RequestRejectedHandler... requestRejectedhandlers) Creates a new instance. - 
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, RequestRejectedException requestRejectedException) Handles an request rejected failure. 
- 
Constructor Details
- 
CompositeRequestRejectedHandler
Creates a new instance.- Parameters:
 requestRejectedhandlers- theRequestRejectedHandlerinstances to handleRequestRejectedException
 
 - 
 - 
Method Details
- 
handle
public void handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, RequestRejectedException requestRejectedException) throws IOException, jakarta.servlet.ServletException Description copied from interface:RequestRejectedHandlerHandles an request rejected failure.- Specified by:
 handlein interfaceRequestRejectedHandler- Parameters:
 request- that resulted in anRequestRejectedExceptionresponse- so that the user agent can be advised of the failurerequestRejectedException- that caused the invocation- Throws:
 IOException- in the event of an IOExceptionjakarta.servlet.ServletException- in the event of a ServletException
 
 -