Interface Header

All Known Subinterfaces:
Headers.Accept, Headers.AcceptLanguage, Headers.Authorization, Headers.ContentDisposition, Headers.ContentType, Headers.Cookie, Headers.SetCookie, Headers.SimpleHeader

public interface Header

Base HTTP header interface defining common HTTP header.

Since:
1.0
Author:
Jeremy Kuhn
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the header's name.
    Returns header's raw value.
  • Method Details

    • getHeaderName

      String getHeaderName()

      Returns the header's name.

      A header name is always in lower case.

      Returns:
      a header name
    • getHeaderValue

      String getHeaderValue()

      Returns header's raw value.

      Returns:
      a raw header value