Class MvcRequestMatcher.Builder

    • Constructor Summary

      Constructors 
      Constructor Description
      Builder​(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
      Construct a new instance of this builder
    • Constructor Detail

      • Builder

        public Builder​(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
        Construct a new instance of this builder
    • Method Detail

      • pattern

        public MvcRequestMatcher pattern​(org.springframework.http.HttpMethod method,
                                         java.lang.String pattern)
        Creates an MvcRequestMatcher that uses the provided pattern and HTTP method to match
        Parameters:
        method - the HttpMethod, can be null
        pattern - the patterns used to match
        Returns:
        the generated MvcRequestMatcher