Class HttpHeader


  • public class HttpHeader
    extends com.azure.android.core.util.Header
    A single header within a HTTP request or response. If multiple header values are added to a HTTP request or response with the same name (case-insensitive), then the values will be appended to the end of the same Header with commas separating them.
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpHeader​(java.lang.String name, java.lang.String value)
      Create a HttpHeader instance using the provided name and value.
    • Method Summary

      • Methods inherited from class com.azure.android.core.util.Header

        addValue, getName, getValue, getValues, toString
      • Methods inherited from class java.lang.Object

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

      • HttpHeader

        public HttpHeader​(java.lang.String name,
                          java.lang.String value)
        Create a HttpHeader instance using the provided name and value.
        Parameters:
        name - the name
        value - the value