Class ResourceReferenceMapper
- java.lang.Object
-
- org.apache.wicket.request.mapper.ParentPathReferenceRewriter
-
- org.apache.wicket.core.request.mapper.ResourceReferenceMapper
-
- All Implemented Interfaces:
IRequestMapper
,IRequestMapperDelegate
public class ResourceReferenceMapper extends ParentPathReferenceRewriter
GenericResourceReference
encoder that encodes and decodes non-mountedResourceReference
s.Decodes and encodes the following URLs:
/wicket/resource/org.apache.wicket.ResourceScope/name /wicket/resource/org.apache.wicket.ResourceScope/name?en /wicket/resource/org.apache.wicket.ResourceScope/name?-style /wicket/resource/org.apache.wicket.ResourceScope/resource/name.xyz?en_EN-style
- Author:
- igor.vaynberg
-
-
Constructor Summary
Constructors Constructor Description ResourceReferenceMapper(IPageParametersEncoder pageParametersEncoder, Supplier<String> parentPathPartEscapeSequence, Supplier<IResourceCachingStrategy> cachingStrategy)
Construct.
-
Method Summary
-
Methods inherited from class org.apache.wicket.request.mapper.ParentPathReferenceRewriter
getCompatibilityScore, getDelegateMapper, mapHandler, mapRequest
-
-
-
-
Constructor Detail
-
ResourceReferenceMapper
public ResourceReferenceMapper(IPageParametersEncoder pageParametersEncoder, Supplier<String> parentPathPartEscapeSequence, Supplier<IResourceCachingStrategy> cachingStrategy)
Construct.- Parameters:
pageParametersEncoder
-parentPathPartEscapeSequence
-cachingStrategy
-
-
-