Class UrlParameterItem


  • public class UrlParameterItem
    extends java.lang.Object
    This class provides utility methods to manipulate an url parameter
    • Constructor Summary

      Constructors 
      Constructor Description
      UrlParameterItem​(java.lang.String strName, int nValue)
      Constructs a UrlParameterItem.
      UrlParameterItem​(java.lang.String strName, java.lang.String strValue)
      Constructs a UrlParameterItem.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode​(boolean bFirst)
      Return the string to insert the parameter in the url.
      java.lang.String getCodeEntity​(boolean bFirst)
      Return the string to insert the parameter in the url.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UrlParameterItem

        public UrlParameterItem​(java.lang.String strName,
                                java.lang.String strValue)
        Constructs a UrlParameterItem.
        Parameters:
        strName - The name of the parameter.
        strValue - The value of the parameter.
      • UrlParameterItem

        public UrlParameterItem​(java.lang.String strName,
                                int nValue)
        Constructs a UrlParameterItem.
        Parameters:
        strName - The name of the parameter.
        nValue - The value of the parameter.
    • Method Detail

      • getCode

        public java.lang.String getCode​(boolean bFirst)
        Return the string to insert the parameter in the url.
        Parameters:
        bFirst - True if this is the first url parameter.
        Returns:
        String The string to insert in the url.
      • getCodeEntity

        public java.lang.String getCodeEntity​(boolean bFirst)
        Return the string to insert the parameter in the url.
        Parameters:
        bFirst - True if this is the first url parameter.
        Returns:
        String The string to insert in the url.