|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy
org.apache.wicket.request.target.coding.HybridUrlCodingStrategy
org.apache.wicket.request.target.coding.IndexedHybridUrlCodingStrategy
public class IndexedHybridUrlCodingStrategy
HybridUrlCodingStrategy
subclass that encodes the parameters in an indexed way like
IndexedParamUrlCodingStrategy
does.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.wicket.request.target.coding.HybridUrlCodingStrategy |
---|
HybridUrlCodingStrategy.HybridBookmarkablePageRequestTarget, HybridUrlCodingStrategy.PageInfo, HybridUrlCodingStrategy.PageInfoExtraction |
Field Summary |
---|
Fields inherited from class org.apache.wicket.request.target.coding.HybridUrlCodingStrategy |
---|
PAGE_PARAMETERS_META_DATA_KEY, pageClassRef |
Constructor Summary | |
---|---|
IndexedHybridUrlCodingStrategy(java.lang.String mountPath,
java.lang.Class pageClass)
Construct. |
Method Summary | |
---|---|
protected void |
appendParameters(AppendingStringBuffer url,
java.util.Map parameters)
Encodes Map into a url fragment and append that to the provided url buffer. |
protected ValueMap |
decodeParameters(java.lang.String urlFragment,
java.util.Map urlParameters)
Decodes parameters object from the provided url fragment |
Methods inherited from class org.apache.wicket.request.target.coding.HybridUrlCodingStrategy |
---|
addPageInfo, alwaysRedirectWhenPageMapIsSpecified, decode, encode, extractPageInfo, getBeginSeparator, getEndSeparator, getInitialPagePageParameters, handleExpiredPage, isRedirectOnBookmarkableRequest, matches, matches, setInitialPageParameters, toString |
Methods inherited from class org.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy |
---|
getMountPath, urlDecode, urlDecodePathComponent, urlDecodeQueryComponent, urlEncode, urlEncodePathComponent, urlEncodeQueryComponent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndexedHybridUrlCodingStrategy(java.lang.String mountPath, java.lang.Class pageClass)
mountPath
- pageClass
- Method Detail |
---|
protected void appendParameters(AppendingStringBuffer url, java.util.Map parameters)
AbstractRequestTargetUrlCodingStrategy
appendParameters
in class AbstractRequestTargetUrlCodingStrategy
url
- url so farparameters
- Map object to be encodedprotected ValueMap decodeParameters(java.lang.String urlFragment, java.util.Map urlParameters)
AbstractRequestTargetUrlCodingStrategy
decodeParameters
in class AbstractRequestTargetUrlCodingStrategy
urlFragment
- fragment of the url after the decoded path and before the query stringurlParameters
- query string parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |