Class ApiHeader


  • public final class ApiHeader
    extends java.lang.Object
    This class represents a header of an API request.
    • Constructor Summary

      Constructors 
      Constructor Description
      ApiHeader​(java.lang.String name, java.lang.String value)
      Constructs a new header.
    • Method Summary

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

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

      • ApiHeader

        public ApiHeader​(java.lang.String name,
                         java.lang.String value)
        Constructs a new header.
        Parameters:
        name - The name of the header.
        value - The value of the header.
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name of the header.
        Returns:
        The name of the header.
      • getValue

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