MessageToMessageCodec that takes care of adding the right SpdyHttpHeaders.Names#STREAM_ID to the
HttpMessage if one is not present. This makes it possible to just re-use plan handlers current used
for HTTP.
| Modifier and Type | Field and Description |
|---|---|
| private final Queue | |
| private static final Integer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | acceptInboundMessage(Object
the message msg)Overrides io. true if and only if the specified message can be decoded by this codec.
|
| protected void | decode(ChannelHandlerContext ctx, Object msg, List<Object> out)
Implements abstract io. |
| protected void | encode(ChannelHandlerContext ctx, HttpMessage msg, List<Object> out)
Implements abstract io. |
| ids | back to summary |
|---|---|
| private final Queue<Integer> ids | |
| NO_ID | back to summary |
|---|---|
| private static final Integer NO_ID | |
| SpdyHttpResponseStreamIdHandler | back to summary |
|---|---|
| public SpdyHttpResponseStreamIdHandler() | |
| acceptInboundMessage | back to summary |
|---|---|
| public boolean acceptInboundMessage(Object msg) throws Exception Overrides io. Doc from io. Returns | |
| decode | back to summary |
|---|---|
| protected void decode(ChannelHandlerContext ctx, Object msg, List<Object> out) throws Exception Implements abstract io.
| |
| encode | back to summary |
|---|---|
| protected void encode(ChannelHandlerContext ctx, HttpMessage msg, List<Object> out) throws Exception Implements abstract io.
| |