public abstract class AbstractResourceReferenceMapper extends AbstractComponentMapper
ResourceReference
sConstructor and Description |
---|
AbstractResourceReferenceMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
removeMetaParameter(Url urlCopy)
The new
IRequestMapper s use the first query parameter to hold meta information about
the request like page version, component version, locale, ... |
cleanClassName, encodePageComponentInfo, getContext, getPageClass, getPageComponentInfo
encodePageParameters, extractPageParameters, getMountSegments, getOptionalPlaceholder, getPlaceholder, getPlaceholder, resolveLocale, safeSegmentGetter, urlStartsWith
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCompatibilityScore, mapHandler, mapRequest
protected void removeMetaParameter(Url urlCopy)
IRequestMapper
s use the first query parameter to hold meta information about
the request like page version, component version, locale, ... The actual
IRequestMapper
implementation can decide whether the this parameter should be removed
before creating PageParameters
from the current query
parameters
Removes the first query parameter only if PageComponentInfo.parse(String)
returns
non-null instance
Remove the first parameter because it brings meta information like localeremoveMetaParameter
in class AbstractComponentMapper
urlCopy
- the Url
that first query parameter has no valueCopyright © 2006–2022 Apache Software Foundation. All rights reserved.