Java io.netty.handler.codec.http2 Http2Headers fields, constructors, methods, implement or subclass

Example usage for Java io.netty.handler.codec.http2 Http2Headers fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.handler.codec.http2 Http2Headers.

The text is from its open source code.

Implementation

io.netty.handler.codec.http2.Http2Headers has the following implementations.
Click this link to see all its implementation.

Method

Tadd(K name, V value)
Adds a new header with the specified name and value .
TaddInt(K name, int value)
Adds a new header.
TaddObject(K name, Object value)
Adds a new header.
CharSequenceauthority()
Gets the PseudoHeaderName#AUTHORITY header or null if there is no such header
Http2Headersauthority(CharSequence value)
Sets the PseudoHeaderName#AUTHORITY header or null if there is no such header
booleancontains(K name)
Returns true if a header with the name exists, false otherwise.
booleancontains(K name, V value)
Returns true if a header with the name and value exists, false otherwise.
Vget(K name)
Returns the value of a header with the specified name.
ListgetAll(K name)
Returns all values for the header with the specified name.
ListgetAllAndRemove(K name)
Returns all values for the header with the specified name and removes them from this object.
VgetAndRemove(K name)
Returns the value of a header with the specified name and removes it from this object.
IntegergetInt(K name)
Returns the int value of a header with the specified name.
longgetLong(K name, long defaultValue)
Returns the long value of a header with the specified name.
CharSequencemethod()
Gets the PseudoHeaderName#METHOD header or null if there is no such header
Http2Headersmethod(CharSequence value)
Sets the PseudoHeaderName#METHOD header
CharSequencepath()
Gets the PseudoHeaderName#PATH header or null if there is no such header
Http2Headerspath(CharSequence value)
Sets the PseudoHeaderName#PATH header or null if there is no such header
booleanremove(K name)
Removes all headers with the specified name .
CharSequencescheme()
Gets the PseudoHeaderName#SCHEME header or null if there is no such header
Http2Headersscheme(CharSequence value)
Sets the PseudoHeaderName#SCHEME header if there is no such header
Tset(Headers headers)
Clears the current header entries and copies all header entries of the specified headers .
Tset(K name, V value)
Sets a header with the specified name and value.
intsize()
Returns the number of headers in this object.
CharSequencestatus()
Gets the PseudoHeaderName#STATUS header or null if there is no such header
Http2Headersstatus(CharSequence value)
Sets the PseudoHeaderName#STATUS header or null if there is no such header