程序包 | 说明 |
---|---|
io.netty.handler.codec |
Benchmarks for
io.netty.handler.codec . |
io.netty.handler.codec.http |
Benchmarks for
io.netty.handler.codec.http . |
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
限定符和类型 | 字段和说明 |
---|---|
static DefaultHeaders.NameValidator |
DefaultHeaders.NameValidator.NOT_NULL |
限定符和类型 | 方法和说明 |
---|---|
protected DefaultHeaders.NameValidator<K> |
DefaultHeaders.nameValidator() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
DefaultHeaders.validateName(DefaultHeaders.NameValidator<K> validator,
boolean forAdd,
K name)
Call out to the given
DefaultHeaders.NameValidator to validate the given name. |
限定符和类型 | 方法和说明 |
---|---|
DefaultHeaders.NameValidator<java.lang.CharSequence> |
DefaultHttpHeadersFactory.getNameValidator()
Get the currently configured
DefaultHeaders.NameValidator . |
限定符和类型 | 方法和说明 |
---|---|
DefaultHttpHeadersFactory |
DefaultHttpHeadersFactory.withNameValidator(DefaultHeaders.NameValidator<java.lang.CharSequence> validator)
Create a new builder that with the given
DefaultHeaders.NameValidator . |
构造器和说明 |
---|
DefaultHttpHeaders(boolean validateValues,
DefaultHeaders.NameValidator<java.lang.CharSequence> nameValidator)
Create an HTTP headers object with the given name validator.
|
DefaultHttpHeaders(DefaultHeaders.NameValidator<java.lang.CharSequence> nameValidator,
DefaultHeaders.ValueValidator<java.lang.CharSequence> valueValidator)
Create an HTTP headers object with the given name and value validators.
|
DefaultHttpHeaders(DefaultHeaders.NameValidator<java.lang.CharSequence> nameValidator,
DefaultHeaders.ValueValidator<java.lang.CharSequence> valueValidator,
int sizeHint)
Create an HTTP headers object with the given name and value validators.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
DefaultHttp2Headers.validateName(DefaultHeaders.NameValidator<java.lang.CharSequence> validator,
boolean forAdd,
java.lang.CharSequence name) |