@Override public FullHttpResponse touch() { if (response instanceof FullHttpResponse) { return ((FullHttpResponse) response).touch(); } else { return this; } }
@Override public FullHttpResponse touch(Object o) { if (response instanceof FullHttpResponse) { return ((FullHttpResponse) response).touch(o); } else { return this; } }
@Override public ReferenceCounted touch(Object hint) { response.touch(hint); return this; }
@Override public ReferenceCounted touch() { response.touch(); return this; }
@Override public ReferenceCounted touch() { response.touch(); return this; }
@Override public ReferenceCounted touch() { response.touch(); return this; }
@Override public ReferenceCounted touch(Object hint) { response.touch(hint); return this; }
@Override public ReferenceCounted touch() { response.touch(); return this; }
@Override public ReferenceCounted touch(Object hint) { response.touch(hint); return this; }
@Override public FullHttpResponse touch() { if (response instanceof FullHttpResponse) { return ((FullHttpResponse) response).touch(); } else { return this; } }
@Override public FullHttpResponse touch(Object o) { if (response instanceof FullHttpResponse) { return ((FullHttpResponse) response).touch(o); } else { return this; } }
@Override public ReferenceCounted touch(Object hint) { response.touch(hint); return this; }
@Override protected void channelRead0(ChannelHandlerContext ctx, FullHttpResponse response) throws Exception { response.touch(); dispose(ctx.pipeline(), response); ByteBuf content = new ByteBufRef(response.content()); execution.onComplete(() -> { if (content.refCnt() > 0) { content.release(); } }); success(downstream, toReceivedResponse(response, content)); }