Class OnePageParameterEncoder

  • All Implemented Interfaces:
    org.apache.wicket.request.mapper.parameter.IPageParametersEncoder

    public class OnePageParameterEncoder
    extends Object
    implements org.apache.wicket.request.mapper.parameter.IPageParametersEncoder
    This encoder with encode/decode PARAMETER to path and all other parameters as query parameters.

    Example: /mountPoint/pathParameterValue?param2=value2¶m3=value3

    Author:
    lazyman
    • Constructor Detail

      • OnePageParameterEncoder

        public OnePageParameterEncoder()
    • Method Detail

      • decodePageParameters

        public org.apache.wicket.request.mapper.parameter.PageParameters decodePageParameters​(org.apache.wicket.request.Url url)
        Specified by:
        decodePageParameters in interface org.apache.wicket.request.mapper.parameter.IPageParametersEncoder
      • encodePageParameters

        public org.apache.wicket.request.Url encodePageParameters​(org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
        Specified by:
        encodePageParameters in interface org.apache.wicket.request.mapper.parameter.IPageParametersEncoder
      • getParameter

        public static String getParameter​(@NotNull
                                          @NotNull org.apache.wicket.Page page)