Package com.webpieces.hpack.api
Interface HpackParser
-
- All Known Implementing Classes:
HpackParserImpl
public interface HpackParser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.webpieces.data.api.DataWrappermarshal(MarshalState state, com.webpieces.http2.api.dto.lowlevel.lib.Http2Msg frame)java.lang.StringmarshalSettingsPayload(java.util.List<com.webpieces.http2.api.dto.lowlevel.lib.Http2Setting> settings)Base 64 of the 'payload' of the SettingsFrame only, excluding the frame pieceMarshalStateprepareToMarshal(int maxHeaderTableSize, long remoteMaxFrameSize)UnmarshalStateprepareToUnmarshal(java.lang.String logId, int maxHeaderSize, int maxHeaderTableSize, long localMaxFrameSize)UnmarshalStateunmarshal(UnmarshalState state, org.webpieces.data.api.DataWrapper newData)java.util.List<com.webpieces.http2.api.dto.lowlevel.lib.Http2Setting>unmarshalSettingsPayload(java.lang.String base64SettingsPayload)Unfortunately, in the http1.1 request to a server, the base64 http/2 upgrade settings header ONLY contains the 'payload' of a SettingFrame, so we must have a method to just parse the payload of a settings frame so this is a one-off function that I don't like exposing but need to.
-
-
-
Method Detail
-
prepareToUnmarshal
UnmarshalState prepareToUnmarshal(java.lang.String logId, int maxHeaderSize, int maxHeaderTableSize, long localMaxFrameSize)
-
unmarshal
UnmarshalState unmarshal(UnmarshalState state, org.webpieces.data.api.DataWrapper newData)
-
prepareToMarshal
MarshalState prepareToMarshal(int maxHeaderTableSize, long remoteMaxFrameSize)
-
marshal
org.webpieces.data.api.DataWrapper marshal(MarshalState state, com.webpieces.http2.api.dto.lowlevel.lib.Http2Msg frame)
-
unmarshalSettingsPayload
java.util.List<com.webpieces.http2.api.dto.lowlevel.lib.Http2Setting> unmarshalSettingsPayload(java.lang.String base64SettingsPayload)
Unfortunately, in the http1.1 request to a server, the base64 http/2 upgrade settings header ONLY contains the 'payload' of a SettingFrame, so we must have a method to just parse the payload of a settings frame so this is a one-off function that I don't like exposing but need to.
-
marshalSettingsPayload
java.lang.String marshalSettingsPayload(java.util.List<com.webpieces.http2.api.dto.lowlevel.lib.Http2Setting> settings)
Base 64 of the 'payload' of the SettingsFrame only, excluding the frame piece
-
-