Package io.grpc.netty
Class SendResponseHeadersCommand
java.lang.Object
io.grpc.netty.WriteQueue.AbstractQueuedCommand
io.grpc.netty.SendResponseHeadersCommand
- All Implemented Interfaces:
WriteQueue.QueuedCommand
Command sent from the transport to the Netty channel to send response headers to the client.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final io.netty.handler.codec.http2.Http2Headersprivate final Statusprivate final StreamIdHolder -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSendResponseHeadersCommand(StreamIdHolder stream, io.netty.handler.codec.http2.Http2Headers headers, Status status) -
Method Summary
Modifier and TypeMethodDescription(package private) static SendResponseHeadersCommandcreateHeaders(StreamIdHolder stream, io.netty.handler.codec.http2.Http2Headers headers) (package private) static SendResponseHeadersCommandcreateTrailers(StreamIdHolder stream, io.netty.handler.codec.http2.Http2Headers headers, Status status) (package private) booleanbooleaninthashCode()(package private) io.netty.handler.codec.http2.Http2Headersheaders()(package private) Statusstatus()(package private) StreamIdHolderstream()toString()Methods inherited from class io.grpc.netty.WriteQueue.AbstractQueuedCommand
getLink, promise, promise, run
-
Field Details
-
stream
-
headers
private final io.netty.handler.codec.http2.Http2Headers headers -
status
-
-
Constructor Details
-
SendResponseHeadersCommand
private SendResponseHeadersCommand(StreamIdHolder stream, io.netty.handler.codec.http2.Http2Headers headers, Status status)
-
-
Method Details
-
createHeaders
static SendResponseHeadersCommand createHeaders(StreamIdHolder stream, io.netty.handler.codec.http2.Http2Headers headers) -
createTrailers
static SendResponseHeadersCommand createTrailers(StreamIdHolder stream, io.netty.handler.codec.http2.Http2Headers headers, Status status) -
stream
StreamIdHolder stream() -
headers
io.netty.handler.codec.http2.Http2Headers headers() -
endOfStream
boolean endOfStream() -
status
Status status() -
equals
-
toString
-
hashCode
public int hashCode()
-