Package io.grpc.netty
Class GrpcHttp2HeadersUtils.GrpcHttp2ResponseHeaders
java.lang.Object
io.grpc.netty.AbstractHttp2Headers
io.grpc.netty.GrpcHttp2HeadersUtils.GrpcHttp2InboundHeaders
io.grpc.netty.GrpcHttp2HeadersUtils.GrpcHttp2ResponseHeaders
- All Implemented Interfaces:
io.netty.handler.codec.Headers<CharSequence,
,CharSequence, io.netty.handler.codec.http2.Http2Headers> io.netty.handler.codec.http2.Http2Headers
,Iterable<Map.Entry<CharSequence,
CharSequence>>
- Enclosing class:
GrpcHttp2HeadersUtils
static final class GrpcHttp2HeadersUtils.GrpcHttp2ResponseHeaders
extends GrpcHttp2HeadersUtils.GrpcHttp2InboundHeaders
This class only implements the methods used by
NettyClientHandler
and tests. All
other methods throw an UnsupportedOperationException
.
Unlike in GrpcHttp2HeadersUtils.GrpcHttp2ResponseHeaders
the :status
pseudo-header is not treated
special and is part of GrpcHttp2HeadersUtils.GrpcHttp2InboundHeaders.namesAndValues
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.handler.codec.http2.Http2Headers
io.netty.handler.codec.http2.Http2Headers.PseudoHeaderName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.handler.codec.http2.Http2Headers
add
(CharSequence csName, CharSequence csValue) get
(CharSequence csName) toString()
Methods inherited from class io.grpc.netty.GrpcHttp2HeadersUtils.GrpcHttp2InboundHeaders
add, appendNameAndValue, bytes, contains, equals, equals, equals, get, getAll, isPseudoHeader, iterator, namesAndValues, namesAndValuesToString, numHeaders, remove, requireAsciiString, set, setLong, size, status, validateName
Methods inherited from class io.grpc.netty.AbstractHttp2Headers
add, add, add, addBoolean, addByte, addChar, addDouble, addFloat, addInt, addLong, addObject, addObject, addObject, addShort, addTimeMillis, authority, authority, clear, contains, contains, containsBoolean, containsByte, containsChar, containsDouble, containsFloat, containsInt, containsLong, containsObject, containsShort, containsTimeMillis, get, getAllAndRemove, getAndRemove, getAndRemove, getBoolean, getBoolean, getBooleanAndRemove, getBooleanAndRemove, getByte, getByte, getByteAndRemove, getByteAndRemove, getChar, getChar, getCharAndRemove, getCharAndRemove, getDouble, getDouble, getDoubleAndRemove, getDoubleAndRemove, getFloat, getFloat, getFloatAndRemove, getFloatAndRemove, getInt, getInt, getIntAndRemove, getIntAndRemove, getLong, getLong, getLongAndRemove, getLongAndRemove, getShort, getShort, getShortAndRemove, getShortAndRemove, getTimeMillis, getTimeMillis, getTimeMillisAndRemove, getTimeMillisAndRemove, isEmpty, method, method, names, path, path, scheme, scheme, set, set, set, setAll, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setObject, setObject, setObject, setShort, setTimeMillis, status, valueIterator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
GrpcHttp2ResponseHeaders
GrpcHttp2ResponseHeaders(int numHeadersGuess)
-
-
Method Details
-
add
- Specified by:
add
in interfaceio.netty.handler.codec.Headers<CharSequence,
CharSequence, io.netty.handler.codec.http2.Http2Headers> - Overrides:
add
in classAbstractHttp2Headers
-
get
- Specified by:
get
in interfaceio.netty.handler.codec.Headers<CharSequence,
CharSequence, io.netty.handler.codec.http2.Http2Headers> - Overrides:
get
in classAbstractHttp2Headers
-
toString
-