Class CompositeRequestRejectedHandler

java.lang.Object
org.springframework.security.web.firewall.CompositeRequestRejectedHandler
All Implemented Interfaces:
RequestRejectedHandler

public final class CompositeRequestRejectedHandler extends Object implements RequestRejectedHandler
A RequestRejectedHandler that delegates to several other RequestRejectedHandlers.
Since:
5.7
  • Constructor Details

  • 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: RequestRejectedHandler
      Handles an request rejected failure.
      Specified by:
      handle in interface RequestRejectedHandler
      Parameters:
      request - that resulted in an RequestRejectedException
      response - so that the user agent can be advised of the failure
      requestRejectedException - that caused the invocation
      Throws:
      IOException - in the event of an IOException
      jakarta.servlet.ServletException - in the event of a ServletException