Class ClientRequestContextImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​java.lang.String> headers  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addHeader​(java.lang.String name, java.lang.String value)
      Adds a header to the request.
      protected java.util.Map<java.lang.String,​java.lang.String> getHeaders()  
      • Methods inherited from class java.lang.Object

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

      • headers

        protected java.util.Map<java.lang.String,​java.lang.String> headers
    • Constructor Detail

      • ClientRequestContextImpl

        protected ClientRequestContextImpl()
    • Method Detail

      • addHeader

        public void addHeader​(java.lang.String name,
                              java.lang.String value)
        Description copied from interface: ClientRequestContext
        Adds a header to the request.
        Specified by:
        addHeader in interface ClientRequestContext
        Parameters:
        name - of the http header
        value - of the http header
      • getHeaders

        protected java.util.Map<java.lang.String,​java.lang.String> getHeaders()