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 StringA value representing all and any fragments.static final StringA value representing all and any hosts.static final org.springframework.http.HttpMethodA value representing all and any queries.static final StringA value representing all and any paths.static final intA value representing all and any ports.static final StringA value representing all and any queries.static final StringA value representing all and any realms.static final StringA value representing all and any schemes. -
Method Summary
Modifier and TypeMethodDescriptionstatic MatchInfofromAuthScope(org.apache.http.auth.AuthScope authscope) Create an info object from an authscope object.static MatchInfoCreate an info object from a uri and the http method object.getHost()getPath()intgetPort()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
-