/** * Encodes the {@link Map} of header values into header frames to be sent as trailer headers. * * @param streamId the stream associated with this request * @param toList the target {@link List}, to which the frames will be serialized. * @param trailerHeaders a {@link MimeHeaders} of headers to be transmitted as trailers. * * @return the HTTP2 header frames sequence * * @throws IOException if an error occurs encoding the header */ protected List<Http2Frame> encodeTrailersAsHeaderFrames(final int streamId, final List<Http2Frame> toList, final MimeHeaders trailerHeaders, final Map<String,String> capture) throws IOException { final Buffer compressedHeaders = EncoderUtils.encodeTrailerHeaders(this, trailerHeaders, capture); return bufferToHeaderFrames(streamId, compressedHeaders, true, toList); }
/** * Encodes the {@link Map} of header values into header frames to be sent as trailer headers. * * @param streamId the stream associated with this request * @param toList the target {@link List}, to which the frames will be serialized. * @param trailerHeaders a {@link MimeHeaders} of headers to be transmitted as trailers. * * @return the HTTP2 header frames sequence * * @throws IOException if an error occurs encoding the header */ protected List<Http2Frame> encodeTrailersAsHeaderFrames(final int streamId, final List<Http2Frame> toList, final MimeHeaders trailerHeaders, final Map<String,String> capture) throws IOException { final Buffer compressedHeaders = EncoderUtils.encodeTrailerHeaders(this, trailerHeaders, capture); return bufferToHeaderFrames(streamId, compressedHeaders, true, toList); }
/** * Encodes the {@link Map} of header values into header frames to be sent as trailer headers. * * @param streamId the stream associated with this request * @param toList the target {@link List}, to which the frames will be serialized. * @param trailerHeaders a {@link MimeHeaders} of headers to be transmitted as trailers. * * @return the HTTP2 header frames sequence * * @throws IOException if an error occurs encoding the header */ protected List<Http2Frame> encodeTrailersAsHeaderFrames(final int streamId, final List<Http2Frame> toList, final MimeHeaders trailerHeaders, final Map<String,String> capture) throws IOException { final Buffer compressedHeaders = EncoderUtils.encodeTrailerHeaders(this, trailerHeaders, capture); return bufferToHeaderFrames(streamId, compressedHeaders, true, toList); }
/** * Encodes the {@link Map} of header values into header frames to be sent as trailer headers. * * @param streamId the stream associated with this request * @param toList the target {@link List}, to which the frames will be serialized. * @param trailerHeaders a {@link MimeHeaders} of headers to be transmitted as trailers. * * @return the HTTP2 header frames sequence * * @throws IOException if an error occurs encoding the header */ protected List<Http2Frame> encodeTrailersAsHeaderFrames(final int streamId, final List<Http2Frame> toList, final MimeHeaders trailerHeaders, final Map<String,String> capture) throws IOException { final Buffer compressedHeaders = EncoderUtils.encodeTrailerHeaders(this, trailerHeaders, capture); return bufferToHeaderFrames(streamId, compressedHeaders, true, toList); }
/** * Encodes the {@link Map} of header values into header frames to be sent as trailer headers. * * @param streamId the stream associated with this request * @param toList the target {@link List}, to which the frames will be serialized. * @param trailerHeaders a {@link MimeHeaders} of headers to be transmitted as trailers. * * @return the HTTP2 header frames sequence * * @throws IOException if an error occurs encoding the header */ protected List<Http2Frame> encodeTrailersAsHeaderFrames(final int streamId, final List<Http2Frame> toList, final MimeHeaders trailerHeaders, final Map<String,String> capture) throws IOException { final Buffer compressedHeaders = EncoderUtils.encodeTrailerHeaders(this, trailerHeaders, capture); return bufferToHeaderFrames(streamId, compressedHeaders, true, toList); }
/** * Encodes the {@link Map} of header values into header frames to be sent as trailer headers. * * @param streamId the stream associated with this request * @param toList the target {@link List}, to which the frames will be serialized. * @param trailerHeaders a {@link MimeHeaders} of headers to be transmitted as trailers. * * @return the HTTP2 header frames sequence * * @throws IOException if an error occurs encoding the header */ protected List<Http2Frame> encodeTrailersAsHeaderFrames(final int streamId, final List<Http2Frame> toList, final MimeHeaders trailerHeaders, final Map<String,String> capture) throws IOException { final Buffer compressedHeaders = EncoderUtils.encodeTrailerHeaders(this, trailerHeaders, capture); return bufferToHeaderFrames(streamId, compressedHeaders, true, toList); }
/** * Encodes the {@link Map} of header values into header frames to be sent as trailer headers. * * @param streamId the stream associated with this request * @param toList the target {@link List}, to which the frames will be serialized. * @param trailerHeaders a {@link MimeHeaders} of headers to be transmitted as trailers. * * @return the HTTP2 header frames sequence * * @throws IOException if an error occurs encoding the header */ protected List<Http2Frame> encodeTrailersAsHeaderFrames(final int streamId, final List<Http2Frame> toList, final MimeHeaders trailerHeaders, final Map<String,String> capture) throws IOException { final Buffer compressedHeaders = EncoderUtils.encodeTrailerHeaders(this, trailerHeaders, capture); return bufferToHeaderFrames(streamId, compressedHeaders, true, toList); }
/** * Encodes the {@link Map} of header values into header frames to be sent as trailer headers. * * @param streamId the stream associated with this request * @param toList the target {@link List}, to which the frames will be serialized. * @param trailerHeaders a {@link MimeHeaders} of headers to be transmitted as trailers. * * @return the HTTP2 header frames sequence * * @throws IOException if an error occurs encoding the header */ protected List<Http2Frame> encodeTrailersAsHeaderFrames(final int streamId, final List<Http2Frame> toList, final MimeHeaders trailerHeaders, final Map<String,String> capture) throws IOException { final Buffer compressedHeaders = EncoderUtils.encodeTrailerHeaders(this, trailerHeaders, capture); return bufferToHeaderFrames(streamId, compressedHeaders, true, toList); }
/** * Encodes the {@link Map} of header values into header frames to be sent as trailer headers. * * @param streamId the stream associated with this request * @param toList the target {@link List}, to which the frames will be serialized. * @param trailerHeaders a {@link MimeHeaders} of headers to be transmitted as trailers. * * @return the HTTP2 header frames sequence * * @throws IOException if an error occurs encoding the header */ protected List<Http2Frame> encodeTrailersAsHeaderFrames(final int streamId, final List<Http2Frame> toList, final MimeHeaders trailerHeaders, final Map<String,String> capture) throws IOException { final Buffer compressedHeaders = EncoderUtils.encodeTrailerHeaders(this, trailerHeaders, capture); return bufferToHeaderFrames(streamId, compressedHeaders, true, toList); }
bufferToHeaderFrames(streamId, compressedHeaders, isLast, toList);
bufferToHeaderFrames(streamId, compressedHeaders, isLast, toList);
bufferToHeaderFrames(streamId, compressedHeaders, isLast, toList);
bufferToHeaderFrames(streamId, compressedHeaders, isLast, toList);
bufferToHeaderFrames(streamId, compressedHeaders, isLast, toList);
bufferToHeaderFrames(streamId, compressedHeaders, isLast, toList);
bufferToHeaderFrames(streamId, compressedHeaders, isLast, toList);
bufferToHeaderFrames(streamId, compressedHeaders, isLast, toList);
bufferToHeaderFrames(streamId, compressedHeaders, isLast, toList);