Interface MatchingChecker

  • All Known Implementing Classes:
    DefaultMatchingChecker
    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 MatchingChecker
    The way to check requests matching.
    Since:
    1.8.1
    Author:
    Jerome Leleu
    • Method Detail

      • matches

        boolean matches​(WebContext context,
                        SessionStore sessionStore,
                        java.lang.String matcherNames,
                        java.util.Map<java.lang.String,​Matcher> matchersMap,
                        java.util.List<Client> clients)
        Check if the web context matches.
        Parameters:
        context - the web context
        sessionStore - the session store
        matcherNames - the matchers
        matchersMap - the map of matchers
        clients - the clients
        Returns:
        whether the web context matches