public static interface Http2HeadersEncoder.SensitivityDetector
限定符和类型 | 方法和说明 |
---|---|
boolean |
isSensitive(java.lang.CharSequence name,
java.lang.CharSequence value)
|
boolean isSensitive(java.lang.CharSequence name, java.lang.CharSequence value)
name
- The name for the header.value
- The value of the header.true
if a header name
/value
pair should be treated as
sensitive.
false
otherwise.