Class HttpMethodMatcher

  • All Implemented Interfaces:
    Matcher

    public class HttpMethodMatcher
    extends java.lang.Object
    implements Matcher
    Matching on HTTP methods.
    Since:
    1.9.3
    Author:
    Jerome Leleu
    • Constructor Detail

      • HttpMethodMatcher

        public HttpMethodMatcher()
    • Method Detail

      • matches

        public boolean matches​(WebContext context,
                               SessionStore sessionStore)
        Description copied from interface: Matcher
        Check if the web context matches.
        Specified by:
        matches in interface Matcher
        Parameters:
        context - the web context
        sessionStore - the session store
        Returns:
        whether the web context matches
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object