Package org.apache.hc.core5.http
Interface Header
- All Superinterfaces:
NameValuePair
- All Known Subinterfaces:
FormattedHeader
- All Known Implementing Classes:
BasicHeader
,BufferedHeader
,HPackHeader
Represents an HTTP header field consisting of a field name and a field
value.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if the header should be considered sensitive.Methods inherited from interface org.apache.hc.core5.http.NameValuePair
getName, getValue
-
Method Details
-
isSensitive
boolean isSensitive()Returnstrue
if the header should be considered sensitive.Some encoding schemes such as HPACK impose restrictions on encoded representation of sensitive headers.
- Returns:
true
if the header should be considered sensitive.- Since:
- 5.0
-