Class ExactMatchMountedMapper

  • All Implemented Interfaces:
    org.apache.wicket.request.IRequestMapper

    public class ExactMatchMountedMapper
    extends org.apache.wicket.core.request.mapper.MountedMapper
    Created by lazyman on 09/03/2017.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper

        org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.MountPathSegment, org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.UrlInfo
    • Field Summary

      • Fields inherited from class org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper

        mountSegments, pageParametersEncoder, pathSegments
    • Constructor Summary

      Constructors 
      Constructor Description
      ExactMatchMountedMapper​(String mountPath, Class<? extends org.apache.wicket.request.component.IRequestablePage> pageClass, org.apache.wicket.request.mapper.parameter.IPageParametersEncoder pageParametersEncoder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean urlStartsWithMountedSegments​(org.apache.wicket.request.Url url)
      We want to fully match url path.
      • Methods inherited from class org.apache.wicket.core.request.mapper.MountedMapper

        buildUrl, checkPageClass, mapHandler, pageMustHaveBeenCreatedBookmarkable, parseRequest, redirectFromHomePage, toString
      • Methods inherited from class org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper

        checkPageInstance, extractPageParameters, getCompatibilityScore, getMatchedSegmentSizes, getPageInfo, getPathSegments, isCaseSensitiveMatch, isFixedSegment, mapRequest, newPageParameters, processBookmarkable, processHybrid, processListener, resolveUserLocale, segmentsMatch, setCaseSensitiveMatch, setPlaceholders
      • Methods inherited from class org.apache.wicket.core.request.mapper.AbstractComponentMapper

        cleanClassName, encodePageComponentInfo, getContext, getPageClass, getPageComponentInfo, removeMetaParameter
      • Methods inherited from class org.apache.wicket.request.mapper.AbstractMapper

        encodePageParameters, extractPageParameters, getMountSegments, getOptionalPlaceholder, getPlaceholder, getPlaceholder, resolveLocale, safeSegmentGetter, urlStartsWith
    • Constructor Detail

      • ExactMatchMountedMapper

        public ExactMatchMountedMapper​(String mountPath,
                                       Class<? extends org.apache.wicket.request.component.IRequestablePage> pageClass,
                                       org.apache.wicket.request.mapper.parameter.IPageParametersEncoder pageParametersEncoder)
    • Method Detail

      • urlStartsWithMountedSegments

        protected boolean urlStartsWithMountedSegments​(org.apache.wicket.request.Url url)
        We want to fully match url path. Parent class is OK with partial match and then marking other path element as page parameters.
        Overrides:
        urlStartsWithMountedSegments in class org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper
        Parameters:
        url -
        Returns: