Interface Matcher

All Known Implementing Classes:
CacheControlMatcher, CorsMatcher, CsrfTokenGeneratorMatcher, HeaderMatcher, HttpMethodMatcher, PathMatcher, StrictTransportSecurityMatcher, XContentTypeOptionsMatcher, XFrameOptionsMatcher, XSSProtectionMatcher
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 Matcher
To match requests.
Since:
1.8.1
Author:
Jerome Leleu
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if the context matches.
  • Method Details

    • matches

      boolean matches(CallContext ctx)
      Check if the context matches.
      Parameters:
      ctx - the context
      Returns:
      whether the context matches