public class MockServerResponseEncoder extends io.netty.handler.codec.MessageToMessageEncoder<HttpResponse>
Constructor and Description |
---|
MockServerResponseEncoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
HttpResponse response,
List<Object> out) |
io.netty.handler.codec.http.DefaultFullHttpResponse |
encode(HttpResponse response) |
acceptOutboundMessage, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
protected void encode(io.netty.channel.ChannelHandlerContext ctx, HttpResponse response, List<Object> out)
encode
in class io.netty.handler.codec.MessageToMessageEncoder<HttpResponse>
public io.netty.handler.codec.http.DefaultFullHttpResponse encode(HttpResponse response)
Copyright © 2018. All rights reserved.