Class AndRequestMatcher

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(javax.servlet.http.HttpServletRequest request)
      Decides whether the rule implemented by the strategy matches the supplied request.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AndRequestMatcher

        public AndRequestMatcher​(java.util.List<RequestMatcher> requestMatchers)
        Creates a new instance
        Parameters:
        requestMatchers - the RequestMatcher instances to try
      • AndRequestMatcher

        public AndRequestMatcher​(RequestMatcher... requestMatchers)
        Creates a new instance
        Parameters:
        requestMatchers - the RequestMatcher instances to try
    • Method Detail

      • matches

        public boolean matches​(javax.servlet.http.HttpServletRequest request)
        Description copied from interface: RequestMatcher
        Decides whether the rule implemented by the strategy matches the supplied request.
        Specified by:
        matches in interface RequestMatcher
        Parameters:
        request - the request to check for a match
        Returns:
        true if the request matches, false otherwise
      • toString

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