java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.Header

public class Header extends Object
A name-value pair representing a header (for example, an HTTP header).
  • Constructor Details

    • Header

      public Header(@Nonnull String name, @Nullable String value)
  • Method Details

    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • getName

      @Nonnull public String getName()
    • getValue

      @Nullable public String getValue()