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 TypeMethodDescriptionbooleanReturnstrueif the header should be considered sensitive.Methods inherited from interface org.apache.hc.core5.http.NameValuePair
getName, getValue
-
Method Details
-
isSensitive
boolean isSensitive()Returnstrueif the header should be considered sensitive.Some encoding schemes such as HPACK impose restrictions on encoded representation of sensitive headers.
- Returns:
trueif the header should be considered sensitive.- Since:
- 5.0
-