Class Header

    • Constructor Detail

      • Header

        public Header()
        Deprecated.
        Default constructor.
      • Header

        public Header​(java.lang.String name,
                      java.lang.String value)
        Deprecated.
        Constructor with name and value
        Parameters:
        name - the header name
        value - the header value
      • Header

        public Header​(java.lang.String name,
                      java.lang.String value,
                      boolean isAutogenerated)
        Deprecated.
        Constructor with name and value
        Parameters:
        name - the header name
        value - the header value
        isAutogenerated - true if the header is autogenerated, false otherwise.
        Since:
        3.0
    • Method Detail

      • toExternalForm

        public java.lang.String toExternalForm()
        Deprecated.
        Returns a String representation of the header.
        Returns:
        stringHEAD
      • toString

        public java.lang.String toString()
        Deprecated.
        Returns a String representation of the header.
        Overrides:
        toString in class NameValuePair
        Returns:
        stringHEAD
      • isAutogenerated

        public boolean isAutogenerated()
        Deprecated.
        Returns the value of the auto-generated header flag.
        Returns:
        true if the header is autogenerated, false otherwise.
        Since:
        3.0