Class AddressParser.ParameterMap

All Implemented Interfaces:
Serializable, Cloneable, Iterable<String>, Map<String,String>, SequencedMap<String,String>
Enclosing class:
AddressParser

private class AddressParser.ParameterMap extends KeyMap<String>
The ParameterMap is uses to store the parameters that are to be encoded in to the address. This will append all of the parameters to the end of the path. These can later be extracted by parsing the address.
  • Constructor Details

    • ParameterMap

      private ParameterMap()
  • Method Details

    • encode

      private String encode()
      This will return the parameters encoded in such a way that it can be appended to the end of the path. These parameters can be added to the address such that they do not form a query parameter. Values such as session identifiers are often added as the path parameters to the address.
      Returns:
      this returns the representation of the parameters
    • toString

      public String toString()
      This will return the parameters encoded in such a way that it can be appended to the end of the path. These parameters can be added to the address such that they do not form a query parameter. Values such as session identifiers are often added as the path parameters to the address.
      Overrides:
      toString in class AbstractMap<String,String>
      Returns:
      this returns the representation of the parameters