Class RequestCycleUtils


  • public class RequestCycleUtils
    extends Object
    Utility class for RequestCycle
    Author:
    Sebastien Briquet - sebfz1
    • Method Detail

      • getAjaxIndicatorUrl

        public static CharSequence getAjaxIndicatorUrl()
        Gets the AbstractDefaultAjaxBehavior#INDICATOR url
        Returns:
        the AbstractDefaultAjaxBehavior#INDICATOR url
      • hasQueryParameter

        public static boolean hasQueryParameter​(String name)
        Indicates whether the query contains the specified parameter
        Parameters:
        name - the name of the query parameter
        Returns:
        true if the parameter is found
      • getQueryParameterValue

        public static StringValue getQueryParameterValue​(String name)
        Gets the value of a query parameter
        Parameters:
        name - the name of the query parameter
        Returns:
        a StringValue
      • getQueryParameterValues

        public static List<StringValue> getQueryParameterValues​(String name)
        Gets the values of a query parameter
        Parameters:
        name - the name of the query parameter
        Returns:
        a List of StringValue
      • getPostParameterValue

        public static StringValue getPostParameterValue​(String name)
        Gets the value of a post parameter
        Parameters:
        name - the name of the post parameter
        Returns:
        a StringValue
      • getPostParameterValues

        public static List<StringValue> getPostParameterValues​(String name)
        Gets the values of a post parameter
        Parameters:
        name - the name of the post parameter
        Returns:
        a List of StringValue
      • getRequestParameterValue

        public static StringValue getRequestParameterValue​(String name)
        Gets the value of a request parameter
        Parameters:
        name - the name of the parameter
        Returns:
        a StringValue
      • getRequestParameterValues

        public static List<StringValue> getRequestParameterValues​(String name)
        Gets the values of a request parameter
        Parameters:
        name - the name of the parameter
        Returns:
        a List of StringValue