Uses of Interface
io.netty5.handler.codec.Headers
-
Packages that use Headers Package Description io.netty5.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.netty5.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames. -
-
Uses of Headers in io.netty5.handler.codec
Classes in io.netty5.handler.codec with type parameters of type Headers Modifier and Type Class Description class
DefaultHeaders<K,V,T extends Headers<K,V,T>>
Default implementation ofHeaders
;class
EmptyHeaders<K,V,T extends Headers<K,V,T>>
interface
Headers<K,V,T extends Headers<K,V,T>>
Common interface forHeaders
which represents a mapping of key to value.Classes in io.netty5.handler.codec that implement Headers Modifier and Type Class Description class
DefaultHeaders<K,V,T extends Headers<K,V,T>>
Default implementation ofHeaders
;class
DefaultHeadersImpl<K,V>
A concrete implementation ofDefaultHeaders
that allows for direct instantiation.class
EmptyHeaders<K,V,T extends Headers<K,V,T>>
Methods in io.netty5.handler.codec with parameters of type Headers Modifier and Type Method Description T
DefaultHeaders. add(Headers<? extends K,? extends V,?> headers)
T
EmptyHeaders. add(Headers<? extends K,? extends V,?> headers)
T
Headers. add(Headers<? extends K,? extends V,?> headers)
Adds all header names and values ofheaders
to this object.protected void
DefaultHeaders. addImpl(Headers<? extends K,? extends V,?> headers)
boolean
DefaultHeaders. equals(Headers<K,V,?> h2, HashingStrategy<V> valueHashingStrategy)
Test this object for equality againsth2
.static <K,V>
List<String>HeadersUtils. getAllAsString(Headers<K,V,?> headers, K name)
static <K,V>
StringHeadersUtils. getAsString(Headers<K,V,?> headers, K name)
get(Object)
and convert the result to aString
.static Set<String>
HeadersUtils. namesAsString(Headers<CharSequence,CharSequence,?> headers)
T
DefaultHeaders. set(Headers<? extends K,? extends V,?> headers)
T
EmptyHeaders. set(Headers<? extends K,? extends V,?> headers)
T
Headers. set(Headers<? extends K,? extends V,?> headers)
Clears the current header entries and copies all header entries of the specifiedheaders
.T
DefaultHeaders. setAll(Headers<? extends K,? extends V,?> headers)
T
EmptyHeaders. setAll(Headers<? extends K,? extends V,?> headers)
T
Headers. setAll(Headers<? extends K,? extends V,?> headers)
Retains all current headers but calls#set(K, V)
for each entry inheaders
. -
Uses of Headers in io.netty5.handler.codec.http2
Subinterfaces of Headers in io.netty5.handler.codec.http2 Modifier and Type Interface Description interface
Http2Headers
A collection of headers sent or received via HTTP/2.Classes in io.netty5.handler.codec.http2 that implement Headers Modifier and Type Class Description class
CharSequenceMap<V>
Internal use only!class
DefaultHttp2Headers
class
EmptyHttp2Headers
class
ReadOnlyHttp2Headers
A variant ofHttp2Headers
which only supports read-only methods.Methods in io.netty5.handler.codec.http2 with parameters of type Headers Modifier and Type Method Description Http2Headers
ReadOnlyHttp2Headers. add(Headers<? extends CharSequence,? extends CharSequence,?> headers)
Http2Headers
ReadOnlyHttp2Headers. set(Headers<? extends CharSequence,? extends CharSequence,?> headers)
Http2Headers
ReadOnlyHttp2Headers. setAll(Headers<? extends CharSequence,? extends CharSequence,?> headers)
-