Module org.apache.wicket.core
Class ResourceReferenceMapper
java.lang.Object
org.apache.wicket.request.mapper.ParentPathReferenceRewriter
org.apache.wicket.core.request.mapper.ResourceReferenceMapper
- All Implemented Interfaces:
IRequestMapper
,IRequestMapperDelegate
Generic
ResourceReference
encoder that encodes and decodes non-mounted
ResourceReference
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
ConstructorDescriptionResourceReferenceMapper
(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 Details
-
ResourceReferenceMapper
public ResourceReferenceMapper(IPageParametersEncoder pageParametersEncoder, Supplier<String> parentPathPartEscapeSequence, Supplier<IResourceCachingStrategy> cachingStrategy) Construct.- Parameters:
pageParametersEncoder
-parentPathPartEscapeSequence
-cachingStrategy
-
-