Class HomePageMapper

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

    public class HomePageMapper
    extends MountedMapper
    A mapper that is used when a request to the home page ("/") is made
    • Constructor Detail

      • HomePageMapper

        public HomePageMapper​(java.lang.Class<? extends IRequestablePage> pageClass)
        Construct.
        Parameters:
        pageClass - the class of the page which should handle requests to "/"
      • HomePageMapper

        public HomePageMapper​(java.util.function.Supplier<java.lang.Class<? extends IRequestablePage>> pageClassProvider)
        Construct.
        Parameters:
        pageClassProvider - the class of the page which should handle requests to "/"
      • HomePageMapper

        public HomePageMapper​(java.lang.Class<? extends IRequestablePage> pageClass,
                              org.apache.wicket.request.mapper.parameter.IPageParametersEncoder pageParametersEncoder)
        Construct.
        Parameters:
        pageClass - the class of the page which should handle requests to "/"
        pageParametersEncoder - the encoder that will be used to encode/decode the page parameters