Class MatchInfo

java.lang.Object
org.mapfish.print.processor.http.matcher.MatchInfo

public final class MatchInfo extends Object
Information required for performing a request match.
  • Field Details

    • ANY_SCHEME

      public static final String ANY_SCHEME
      A value representing all and any schemes.
    • ANY_HOST

      public static final String ANY_HOST
      A value representing all and any hosts.
    • ANY_REALM

      public static final String ANY_REALM
      A value representing all and any realms.
    • ANY_PATH

      public static final String ANY_PATH
      A value representing all and any paths.
    • ANY_FRAGMENT

      public static final String ANY_FRAGMENT
      A value representing all and any fragments.
    • ANY_QUERY

      public static final String ANY_QUERY
      A value representing all and any queries.
    • ANY_METHOD

      public static final org.springframework.http.HttpMethod ANY_METHOD
      A value representing all and any queries.
    • ANY_PORT

      public static final int ANY_PORT
      A value representing all and any ports.
      See Also:
  • Method Details

    • fromUri

      public static MatchInfo fromUri(URI uri, org.springframework.http.HttpMethod method)
      Create an info object from a uri and the http method object.
      Parameters:
      uri - the uri
      method - the method
    • fromAuthScope

      public static MatchInfo fromAuthScope(org.apache.http.auth.AuthScope authscope)
      Create an info object from an authscope object.
      Parameters:
      authscope - the authscope
    • getScheme

      public String getScheme()
    • getHost

      public String getHost()
    • getPort

      public int getPort()
    • getPath

      public String getPath()
    • getFragment

      public String getFragment()
    • getQuery

      public String getQuery()
    • getRealm

      public String getRealm()
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      A string