Class MatchInfo
java.lang.Object
org.mapfish.print.processor.http.matcher.MatchInfo
Information required for performing a request match.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
A value representing all and any fragments.static final String
A value representing all and any hosts.static final org.springframework.http.HttpMethod
A value representing all and any queries.static final String
A value representing all and any paths.static final int
A value representing all and any ports.static final String
A value representing all and any queries.static final String
A value representing all and any realms.static final String
A value representing all and any schemes. -
Method Summary
Modifier and TypeMethodDescriptionstatic MatchInfo
fromAuthScope
(org.apache.http.auth.AuthScope authscope) Create an info object from an authscope object.static MatchInfo
Create an info object from a uri and the http method object.getHost()
getPath()
int
getPort()
getQuery()
getRealm()
toString()
-
Field Details
-
ANY_SCHEME
A value representing all and any schemes. -
ANY_HOST
A value representing all and any hosts. -
ANY_REALM
A value representing all and any realms. -
ANY_PATH
A value representing all and any paths. -
ANY_FRAGMENT
A value representing all and any fragments. -
ANY_QUERY
A value representing all and any queries. -
ANY_METHOD
public static final org.springframework.http.HttpMethod ANY_METHODA value representing all and any queries. -
ANY_PORT
public static final int ANY_PORTA value representing all and any ports.- See Also:
-
-
Method Details
-
fromUri
Create an info object from a uri and the http method object.- Parameters:
uri
- the urimethod
- the method
-
fromAuthScope
Create an info object from an authscope object.- Parameters:
authscope
- the authscope
-
getScheme
-
getHost
-
getPort
public int getPort() -
getPath
-
getFragment
-
getQuery
-
getRealm
-
toString
-