io.netty.handler.codec.http.HttpResponseEncoder which forces the usage of direct buffers for max performance.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | acceptOutboundMessage(Object msg)
Overrides io. Returns |
| protected void | encodeHeaders(HttpHeaders headers, ByteBuf buf)
Overrides io. Encode the |
| public void | handlerAdded(ChannelHandlerContext ctx)
Overrides io. Implements io. Gets called after the |
| protected boolean | isContentAlwaysEmpty(HttpResponse
the message to test msg)Overrides io. Determine whether a message has a content or not. |
| VertxHttpResponseEncoder | back to summary |
|---|---|
| pack-priv VertxHttpResponseEncoder() | |
| acceptOutboundMessage | back to summary |
|---|---|
| public boolean acceptOutboundMessage(Object msg) throws Exception Overrides io. Doc from io. Returns
| |
| encodeHeaders | back to summary |
|---|---|
| protected void encodeHeaders(HttpHeaders headers, ByteBuf buf) Overrides io. Doc from io. Encode the
| |
| handlerAdded | back to summary |
|---|---|
| public void handlerAdded(ChannelHandlerContext ctx) throws Exception Overrides io. Implements io. Doc from io. Gets called after the
| |
| isContentAlwaysEmpty | back to summary |
|---|---|
| protected boolean isContentAlwaysEmpty(HttpResponse msg) Overrides io. Doc from io. Determine whether a message has a content or not. Some message may have headers indicating a content without having an actual content, e.g the response to an HEAD or CONNECT request.
| |