Module io.netty.codec.http2
Package io.netty5.handler.codec.http2
Interface Http2HeadersEncoder.SensitivityDetector
-
- Enclosing interface:
- Http2HeadersEncoder
public static interface Http2HeadersEncoder.SensitivityDetector
Determine 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 boolean
isSensitive(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:
true
if a headername
/value
pair should be treated as sensitive.false
otherwise.
-
-