|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRequestTargetUrlCodingStrategy
Implementations of this interface know how to encode and decode request targets to/from a URL.
Method Summary | |
---|---|
IRequestTarget |
decode(RequestParameters requestParameters)
Gets the decoded request target. |
java.lang.CharSequence |
encode(IRequestTarget requestTarget)
Gets the encoded url for the provided request target. |
java.lang.String |
getMountPath()
Returns the path of the url where this request target is mounted on. |
boolean |
matches(IRequestTarget requestTarget)
Gets whether this mounter is applicable for the provided request target. |
boolean |
matches(java.lang.String path)
Returns true if this mounter is applicable for the URL path |
Method Detail |
---|
java.lang.String getMountPath()
java.lang.CharSequence encode(IRequestTarget requestTarget)
requestTarget
- the request target to encode
IRequestTarget decode(RequestParameters requestParameters)
requestParameters
- the request parameters
boolean matches(IRequestTarget requestTarget)
requestTarget
- the request target
boolean matches(java.lang.String path)
path
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |