public class RegexWebRequestCodingStrategy
extends org.apache.wicket.protocol.http.request.WebRequestCodingStrategy
WebRequestCodingStrategy checks if the IRequestTargetUrlCodingStrategy mount path starts with the current Request relative Path.RegexQueryStringUrlCodingStrategy, this will fail due to the limitation.WebRequestCodingStrategy that uses regular expressions for comparison rather than String.startsWith(String).http://apache-wicket.1842946.n4.nabble.com/WildCard-URL-strategy-for-E-Commerce-Products-td4664984.html,
RegexQueryStringUrlCodingStrategy| Constructor and Description |
|---|
RegexWebRequestCodingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy |
urlCodingStrategyForPath(String path)
Checks if the specified path matches any mount, and if so returns the coding strategy for
that mount.
|
addBookmarkablePageParameters, addIgnoreMountPath, addInterfaceParameters, addInterfaceParameters, addResourceParameters, decode, decodePageMapName, doEncode, encode, encode, encode, encode, encode, encode, encode, encodePageMapName, getMountEncoder, getRequestPath, listMounts, mount, pathForTarget, rewriteStaticRelativeUrl, targetForRequest, unmountpublic org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy urlCodingStrategyForPath(String path)
urlCodingStrategyForPath in interface org.apache.wicket.request.IRequestTargetMounterurlCodingStrategyForPath in class org.apache.wicket.protocol.http.request.WebRequestCodingStrategypath - non-null url pathCopyright © 2018. All rights reserved.