Package | Description |
---|---|
io.netty.handler.codec |
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Field and Description |
---|---|
static DefaultHeaders.NameValidator |
DefaultHeaders.NameValidator.NOT_NULL |
Modifier and Type | Method and Description |
---|---|
protected DefaultHeaders.NameValidator<K> |
DefaultHeaders.nameValidator() |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultHeaders.validateName(DefaultHeaders.NameValidator<K> validator,
boolean forAdd,
K name)
Call out to the given
DefaultHeaders.NameValidator to validate the given name. |
Constructor and Description |
---|
DefaultHeaders(HashingStrategy<K> nameHashingStrategy,
ValueConverter<V> valueConverter,
DefaultHeaders.NameValidator<K> nameValidator) |
DefaultHeaders(HashingStrategy<K> nameHashingStrategy,
ValueConverter<V> valueConverter,
DefaultHeaders.NameValidator<K> nameValidator,
int arraySizeHint)
Create a new instance.
|
DefaultHeaders(HashingStrategy<K> nameHashingStrategy,
ValueConverter<V> valueConverter,
DefaultHeaders.NameValidator<K> nameValidator,
int arraySizeHint,
DefaultHeaders.ValueValidator<V> valueValidator)
Create a new instance.
|
DefaultHeaders(ValueConverter<V> valueConverter,
DefaultHeaders.NameValidator<K> nameValidator) |
DefaultHeadersImpl(HashingStrategy<K> nameHashingStrategy,
ValueConverter<V> valueConverter,
DefaultHeaders.NameValidator<K> nameValidator) |
DefaultHeadersImpl(HashingStrategy<K> nameHashingStrategy,
ValueConverter<V> valueConverter,
DefaultHeaders.NameValidator<K> nameValidator,
int arraySizeHint,
DefaultHeaders.ValueValidator<V> valueValidator) |
Modifier and Type | Method and Description |
---|---|
DefaultHeaders.NameValidator<CharSequence> |
DefaultHttpHeadersFactory.getNameValidator()
Get the currently configured
DefaultHeaders.NameValidator . |
Modifier and Type | Method and Description |
---|---|
DefaultHttpHeadersFactory |
DefaultHttpHeadersFactory.withNameValidator(DefaultHeaders.NameValidator<CharSequence> validator)
Create a new builder that with the given
DefaultHeaders.NameValidator . |
Constructor and Description |
---|
DefaultHttpHeaders(boolean validateValues,
DefaultHeaders.NameValidator<CharSequence> nameValidator)
Create an HTTP headers object with the given name validator.
|
DefaultHttpHeaders(DefaultHeaders.NameValidator<CharSequence> nameValidator,
DefaultHeaders.ValueValidator<CharSequence> valueValidator)
Create an HTTP headers object with the given name and value validators.
|
DefaultHttpHeaders(DefaultHeaders.NameValidator<CharSequence> nameValidator,
DefaultHeaders.ValueValidator<CharSequence> valueValidator,
int sizeHint)
Create an HTTP headers object with the given name and value validators.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultHttp2Headers.validateName(DefaultHeaders.NameValidator<CharSequence> validator,
boolean forAdd,
CharSequence name) |
Copyright © 2008–2024 The Netty Project. All rights reserved.