public class HomePageMapper extends MountedMapper
AbstractBookmarkableMapper.MountPathSegment, AbstractBookmarkableMapper.UrlInfo
mountSegments, pageParametersEncoder, pathSegments
Constructor and Description |
---|
HomePageMapper(Class<? extends IRequestablePage> pageClass)
Construct.
|
HomePageMapper(Class<? extends IRequestablePage> pageClass,
IPageParametersEncoder pageParametersEncoder)
Construct.
|
HomePageMapper(Supplier<Class<? extends IRequestablePage>> pageClassProvider)
Construct.
|
Modifier and Type | Method and Description |
---|---|
int |
getCompatibilityScore(Request request)
Use this mapper as a last option.
|
protected AbstractBookmarkableMapper.UrlInfo |
parseRequest(Request request)
Matches only when there are no segments/indexed parameters
|
buildUrl, checkPageClass, mapHandler, pageMustHaveBeenCreatedBookmarkable, redirectFromHomePage, toString
checkPageInstance, extractPageParameters, getMatchedSegmentSizes, getPageInfo, getPathSegments, isCaseSensitiveMatch, isFixedSegment, mapRequest, newPageParameters, processBookmarkable, processHybrid, processListener, resolveUserLocale, segmentsMatch, setCaseSensitiveMatch, setPlaceholders, urlStartsWithMountedSegments
cleanClassName, encodePageComponentInfo, getContext, getPageClass, getPageComponentInfo, removeMetaParameter
encodePageParameters, extractPageParameters, getMountSegments, getOptionalPlaceholder, getPlaceholder, getPlaceholder, resolveLocale, safeSegmentGetter, urlStartsWith
public HomePageMapper(Class<? extends IRequestablePage> pageClass)
pageClass
- the class of the page which should handle requests to "/"public HomePageMapper(Supplier<Class<? extends IRequestablePage>> pageClassProvider)
pageClassProvider
- the class of the page which should handle requests to "/"public HomePageMapper(Class<? extends IRequestablePage> pageClass, IPageParametersEncoder pageParametersEncoder)
pageClass
- the class of the page which should handle requests to "/"pageParametersEncoder
- the encoder that will be used to encode/decode the page parametersprotected AbstractBookmarkableMapper.UrlInfo parseRequest(Request request)
parseRequest
in class MountedMapper
null
if this encoder can not handle the requestAbstractBookmarkableMapper.parseRequest(org.apache.wicket.request.Request)
public int getCompatibilityScore(Request request)
getCompatibilityScore
in interface IRequestMapper
getCompatibilityScore
in class AbstractBookmarkableMapper
AbstractBookmarkableMapper.getCompatibilityScore(org.apache.wicket.request.Request)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.