Class WSParameter


  • public class WSParameter
    extends java.lang.Object
    A Web Service parameter consists of a Parameter name and a Value. As the Web Service Request can possibly contain several parameters with the same name (e.g. Google Translate), a Map cannot be used to store the values.
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      booleanisURIPathParameter
      The flag if this parameter is used in the URI path.
      java.lang.StringparamName
      The parameter name.
      java.lang.Stringvalue
      The Value.
    • Constructor Summary

      Constructors 
      ConstructorDescription
      WSParameter​(java.lang.String paramName, java.lang.String value, boolean isURIPathParameter)
      Constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • paramName

        public java.lang.String paramName
        The parameter name.
      • value

        public java.lang.String value
        The Value.
      • isURIPathParameter

        public final boolean isURIPathParameter
        The flag if this parameter is used in the URI path.
    • Constructor Detail

      • WSParameter

        public WSParameter​(java.lang.String paramName,
                           java.lang.String value,
                           boolean isURIPathParameter)
        Constructor.
        Parameters:
        paramName - Name of parameter.
        value - The parameter value.
        isURIPathParameter - Flag if this parameter is used in the URI path.