Interface HttpHeader

All Known Implementing Classes:
Accept, AcceptCharset, AcceptEncoding, AcceptLanguage, AcceptRanges, Age, Allow, Authorization, CacheControl, ClientVersion, Connection, ContentDisposition, ContentEncoding, ContentLanguage, ContentLength, ContentLocation, ContentRange, ContentSecurityPolicy, ContentType, Date, Debug, ETag, Expect, Expires, Forwarded, From, Host, HttpBooleanHeader, HttpCsvHeader, HttpDateHeader, HttpEntityTagHeader, HttpEntityTagsHeader, HttpHeaderBean, HttpIntegerHeader, HttpLongHeader, HttpMediaRangesHeader, HttpMediaTypeHeader, HttpStringHeader, HttpStringRangesHeader, HttpUriHeader, IfMatch, IfModifiedSince, IfNoneMatch, IfRange, IfUnmodifiedSince, LastModified, Location, MaxForwards, NoTrace, Origin, Pragma, ProxyAuthenticate, ProxyAuthorization, Range, Referer, RequestHeader, RetryAfter, Server, TE, Thrown, Trailer, TransferEncoding, Upgrade, UserAgent, Vary, Via, Warning, WwwAuthenticate

public interface HttpHeader
An HTTP header field: a name/value pair that appears in request or response messages.
See Also:
Since:
9.2.1
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the header name.
    Returns the header value, or null if the header has no value.
  • Method Details

    • getName

      Returns the header name.
      Returns:
      The header name. Never null.
    • getValue

      Returns the header value, or null if the header has no value.
      Returns:
      The header value, possibly null.