private Response wrapHeaders(Http2Headers headers, int streamId, boolean eos) { if (eos) { return new FullHttp2Response(headers, streamId); } else { return new SegmentedHttp2Response(headers, streamId); } }
private Response wrapHeaders(Http2Headers headers, int streamId, boolean eos) { if (eos) { return new FullHttp2Response(headers, streamId); } else { return new SegmentedHttp2Response(headers, streamId); } }