Package io.netty.handler.codec.http2
Interface Http2HeadersEncoder.SensitivityDetector
-
- Enclosing interface:
- Http2HeadersEncoder
public static interface Http2HeadersEncoder.SensitivityDetectorDetermine if a header name/value pair is treated as sensitive. If the object can be dynamically modified and shared across multiple connections it may need to be thread safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSensitive(java.lang.CharSequence name, java.lang.CharSequence value)
-
-
-
Method Detail
-
isSensitive
boolean isSensitive(java.lang.CharSequence name, java.lang.CharSequence value)- Parameters:
name- The name for the header.value- The value of the header.- Returns:
trueif a headername/valuepair should be treated as sensitive.falseotherwise.
-
-