Class HttpRequestor.Header

  • Enclosing class:
    HttpRequestor

    public static final class HttpRequestor.Header
    extends java.lang.Object
    A simple structure holding an HTTP header, which is key/value pair. Used with HttpRequestor.
    • Constructor Summary

      Constructors 
      Constructor Description
      Header​(java.lang.String key, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      Returns header name.
      java.lang.String getValue()
      Returns header value.
      • Methods inherited from class java.lang.Object

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

      • Header

        public Header​(java.lang.String key,
                      java.lang.String value)
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Returns header name.
        Returns:
        header name
      • getValue

        public java.lang.String getValue()
        Returns header value.
        Returns:
        header value