Module io.netty.codec.http2
Package io.netty5.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(CharSequence name, CharSequence value)
-
-
-
Method Detail
-
isSensitive
boolean isSensitive(CharSequence name, 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.
-
-