Interface ThrottledRequestResponseHandler

All Known Implementing Classes:
DefaultThrottledRequestResponseHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ThrottledRequestResponseHandler
Since:
6.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Default Bean name.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    Handle.
  • Field Details

  • Method Details

    • handle

      boolean handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Handle.
      Parameters:
      request - the request
      response - the response
      Returns:
      false to stop the request. true to proceed anyway.