use of com.webpieces.http2parser.api.dto.lib.Http2Frame in project webpieces by deanhiller.
the class HpackParserImpl method createPushPromiseData.
private DataWrapper createPushPromiseData(MarshalStateImpl state, Http2Push p) {
long maxFrameSize = state.getMaxRemoteFrameSize();
Encoder encoder = state.getEncoder();
List<Http2Frame> headerFrames = encoding.translateToFrames(maxFrameSize, encoder, p);
return translate(headerFrames);
}
Aggregations