Module org.apache.wicket.core
Class AbstractResourceReferenceMapper
java.lang.Object
org.apache.wicket.request.mapper.AbstractMapper
org.apache.wicket.core.request.mapper.AbstractComponentMapper
org.apache.wicket.core.request.mapper.AbstractResourceReferenceMapper
- All Implemented Interfaces:
IRequestMapper
- Direct Known Subclasses:
BasicResourceReferenceMapper
Base class for encoding and decoding
ResourceReference
s- Author:
- Matej Knopp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
removeMetaParameter
(Url urlCopy) The newIRequestMapper
s use the first query parameter to hold meta information about the request like page version, component version, locale, ...Methods inherited from class org.apache.wicket.core.request.mapper.AbstractComponentMapper
cleanClassName, encodePageComponentInfo, getContext, getPageClass, getPageComponentInfo
Methods inherited from class org.apache.wicket.request.mapper.AbstractMapper
encodePageParameters, extractPageParameters, getMountSegments, getOptionalPlaceholder, getPlaceholder, getPlaceholder, resolveLocale, safeSegmentGetter, urlStartsWith
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.request.IRequestMapper
getCompatibilityScore, mapHandler, mapRequest
-
Constructor Details
-
AbstractResourceReferenceMapper
public AbstractResourceReferenceMapper()
-
-
Method Details
-
removeMetaParameter
The newIRequestMapper
s use the first query parameter to hold meta information about the request like page version, component version, locale, ... The actualIRequestMapper
implementation can decide whether the this parameter should be removed before creatingPageParameters
from the currentquery parameters
Removes the first query parameter only ifPageComponentInfo.parse(String)
returns non-null instance Remove the first parameter because it brings meta information like locale- Overrides:
removeMetaParameter
in classAbstractComponentMapper
- Parameters:
urlCopy
- theUrl
that first query parameter has no value
-