Annotation Interface RequestFilter


Method annotation for a request filter. A request filter is called before the request is sent out. Possible parameter types are: The return value may be:
  • void or null to immediately continue execution, without changing the request or response
  • An updated HttpRequest
  • A HttpResponse to skip execution of the request
  • A Publisher (or other reactive type) that produces any of these return types, to delay further execution
Since:
4.0.0
Author:
Jonas Konrad
  • Field Details

  • Element Details

    • value

      String[] value
      Returns:
      The patterns this filter should match
      Default:
      {}
    • patternStyle

      FilterPatternStyle patternStyle
      Returns:
      The style of pattern this filter uses
      Default:
      ANT
    • patterns

      @AliasFor(member="value") String[] patterns
      Same as value().
      Returns:
      The patterns
      Default:
      {}
    • methods

      HttpMethod[] methods
      Returns:
      The methods to match. Defaults to all
      Default:
      {}