|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy
public class BookmarkablePageRequestTargetUrlCodingStrategy
Encodes and decodes mounts for a single bookmarkable page class.
Field Summary | |
---|---|
protected java.lang.ref.WeakReference |
bookmarkablePageClassRef
bookmarkable page class. |
Constructor Summary | |
---|---|
BookmarkablePageRequestTargetUrlCodingStrategy(java.lang.String mountPath,
java.lang.Class bookmarkablePageClass,
java.lang.String pageMapName)
Construct. |
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. |
boolean |
matches(IRequestTarget requestTarget)
Gets whether this mounter is applicable for the provided request target. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy |
---|
appendParameters, decodeParameters, getMountPath, matches, urlDecode, urlDecodePathComponent, urlDecodeQueryComponent, urlEncode, urlEncodePathComponent, urlEncodeQueryComponent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final java.lang.ref.WeakReference bookmarkablePageClassRef
Constructor Detail |
---|
public BookmarkablePageRequestTargetUrlCodingStrategy(java.lang.String mountPath, java.lang.Class bookmarkablePageClass, java.lang.String pageMapName)
mountPath
- the mount pathbookmarkablePageClass
- the class of the bookmarkable pagepageMapName
- the page map name if anyMethod Detail |
---|
public IRequestTarget decode(RequestParameters requestParameters)
IRequestTargetUrlCodingStrategy
requestParameters
- the request parameters
IRequestTargetUrlCodingStrategy.decode(org.apache.wicket.request.RequestParameters)
public final java.lang.CharSequence encode(IRequestTarget requestTarget)
IRequestTargetUrlCodingStrategy
requestTarget
- the request target to encode
IRequestTargetUrlCodingStrategy.encode(org.apache.wicket.IRequestTarget)
public boolean matches(IRequestTarget requestTarget)
IRequestTargetUrlCodingStrategy
requestTarget
- the request target
IRequestTargetUrlCodingStrategy.matches(org.apache.wicket.IRequestTarget)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |