Top Fields Constructors Methods
io.netty.handler.codec.http2

public final Class EmptyHttp2Headers

extends EmptyHeaders<CharSequence, CharSequence, Http2Headers>
implements Http2Headers
Class Inheritance
All Implemented Interfaces
io.netty.handler.codec.http2.Http2Headers, io.netty.handler.codec.Headers, java.lang.Iterable
Annotations
@UnstableApi
Imports
io.netty.handler.codec.EmptyHeaders, io.netty.util.internal.UnstableApi

Field Summary

Modifier and TypeField and Description
public static final EmptyHttp2Headers

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public EmptyHttp2Headers
public CharSequence
authority()

Implements io.netty.handler.codec.http2.Http2Headers.authority.

Gets the PseudoHeaderName#AUTHORITY header or null if there is no such header
public boolean
contains(CharSequence
the name of the header to find
name
,
CharSequence
the value of the header to find
value
,
boolean
true then a case insensitive compare is run to compare values. otherwise a case sensitive compare is run to compare values.
caseInsensitive
)

Implements io.netty.handler.codec.http2.Http2Headers.contains.

Returns true if a header with the name and value exists, false otherwise.
public EmptyHttp2Headers
public CharSequence
method()

Implements io.netty.handler.codec.http2.Http2Headers.method.

Gets the PseudoHeaderName#METHOD header or null if there is no such header
public EmptyHttp2Headers
public CharSequence
path()

Implements io.netty.handler.codec.http2.Http2Headers.path.

Gets the PseudoHeaderName#PATH header or null if there is no such header
public EmptyHttp2Headers
public CharSequence
scheme()

Implements io.netty.handler.codec.http2.Http2Headers.scheme.

Gets the PseudoHeaderName#SCHEME header or null if there is no such header
public EmptyHttp2Headers
public CharSequence
status()

Implements io.netty.handler.codec.http2.Http2Headers.status.

Gets the PseudoHeaderName#STATUS header or null if there is no such header
Inherited from io.netty.handler.codec.EmptyHeaders:
addaddaddaddaddBooleanaddByteaddCharaddDoubleaddFloataddIntaddLongaddObjectaddObjectaddObjectaddShortaddTimeMillisclearcontainscontainscontainsBooleancontainsBytecontainsCharcontainsDoublecontainsFloatcontainsIntcontainsLongcontainsObjectcontainsShortcontainsTimeMillisequalsgetgetgetAllgetAllAndRemovegetAndRemovegetAndRemovegetBooleangetBooleangetBooleanAndRemovegetBooleanAndRemovegetBytegetBytegetByteAndRemovegetByteAndRemovegetChargetChargetCharAndRemovegetCharAndRemovegetDoublegetDoublegetDoubleAndRemovegetDoubleAndRemovegetFloatgetFloatgetFloatAndRemovegetFloatAndRemovegetIntgetIntgetIntAndRemovegetIntAndRemovegetLonggetLonggetLongAndRemovegetLongAndRemovegetShortgetShortgetShortAndRemovegetShortAndRemovegetTimeMillisgetTimeMillisgetTimeMillisAndRemovegetTimeMillisAndRemovehashCodeisEmptyiteratornamesremovesetsetsetsetsetAllsetBooleansetBytesetCharsetDoublesetFloatsetIntsetLongsetObjectsetObjectsetObjectsetShortsetTimeMillissizetoStringvalueIterator

Field Detail

INSTANCEback to summary
public static final EmptyHttp2Headers INSTANCE

Constructor Detail

EmptyHttp2Headersback to summary
private EmptyHttp2Headers()

Method Detail

authorityback to summary
public EmptyHttp2Headers authority(CharSequence authority)

Implements io.netty.handler.codec.http2.Http2Headers.authority.

Doc from io.netty.handler.codec.http2.Http2Headers.authority.

Sets the PseudoHeaderName#AUTHORITY header

Annotations
@Override
authorityback to summary
public CharSequence authority()

Implements io.netty.handler.codec.http2.Http2Headers.authority.

Doc from io.netty.handler.codec.http2.Http2Headers.authority.

Gets the PseudoHeaderName#AUTHORITY header or null if there is no such header

Annotations
@Override
containsback to summary
public boolean contains(CharSequence name, CharSequence value, boolean caseInsensitive)

Implements io.netty.handler.codec.http2.Http2Headers.contains.

Doc from io.netty.handler.codec.http2.Http2Headers.contains.

Returns true if a header with the name and value exists, false otherwise.

If caseInsensitive is true then a case insensitive compare is done on the value.

Parameters
name:CharSequence

the name of the header to find

value:CharSequence

the value of the header to find

caseInsensitive:boolean

true then a case insensitive compare is run to compare values. otherwise a case sensitive compare is run to compare values.

Annotations
@Override
methodback to summary
public EmptyHttp2Headers method(CharSequence method)

Implements io.netty.handler.codec.http2.Http2Headers.method.

Doc from io.netty.handler.codec.http2.Http2Headers.method.

Sets the PseudoHeaderName#METHOD header

Annotations
@Override
methodback to summary
public CharSequence method()

Implements io.netty.handler.codec.http2.Http2Headers.method.

Doc from io.netty.handler.codec.http2.Http2Headers.method.

Gets the PseudoHeaderName#METHOD header or null if there is no such header

Annotations
@Override
pathback to summary
public EmptyHttp2Headers path(CharSequence path)

Implements io.netty.handler.codec.http2.Http2Headers.path.

Doc from io.netty.handler.codec.http2.Http2Headers.path.

Sets the PseudoHeaderName#PATH header

Annotations
@Override
pathback to summary
public CharSequence path()

Implements io.netty.handler.codec.http2.Http2Headers.path.

Doc from io.netty.handler.codec.http2.Http2Headers.path.

Gets the PseudoHeaderName#PATH header or null if there is no such header

Annotations
@Override
schemeback to summary
public EmptyHttp2Headers scheme(CharSequence status)

Implements io.netty.handler.codec.http2.Http2Headers.scheme.

Doc from io.netty.handler.codec.http2.Http2Headers.scheme.

Sets the PseudoHeaderName#SCHEME header

Annotations
@Override
schemeback to summary
public CharSequence scheme()

Implements io.netty.handler.codec.http2.Http2Headers.scheme.

Doc from io.netty.handler.codec.http2.Http2Headers.scheme.

Gets the PseudoHeaderName#SCHEME header or null if there is no such header

Annotations
@Override
statusback to summary
public EmptyHttp2Headers status(CharSequence status)

Implements io.netty.handler.codec.http2.Http2Headers.status.

Doc from io.netty.handler.codec.http2.Http2Headers.status.

Sets the PseudoHeaderName#STATUS header

Annotations
@Override
statusback to summary
public CharSequence status()

Implements io.netty.handler.codec.http2.Http2Headers.status.

Doc from io.netty.handler.codec.http2.Http2Headers.status.

Gets the PseudoHeaderName#STATUS header or null if there is no such header

Annotations
@Override