FixedLengthTransferEncoding, ChunkedTransferEncoding
| Modifier and Type | Method and Description |
|---|---|
| public ParsingResult | Returns: ParsingResultHttpHeader with parsed headers.Buffer HTTP message payload.Parse HTTP packet payload, represented by |
| public void | prepareSerialize(FilterChainContext ctx, HttpHeader
HTTP packet headers. httpHeader, HttpContent ready HTTP content (might be null). content)This method will be called by |
| public Buffer | Returns: serializedBufferHttpContent with parsed HttpContent#getHttpHeader().Serialize HTTP packet payload, represented by |
| public boolean | Returns: true if this encoding should be used to parse the content of the passedHttpHeader, or
false otherwise.Return true if this encoding should be used to parse the content of the passed |
| public boolean | Returns: true if this encoding should be used to serialize the content of the passedHttpHeader, or
false otherwise.Return true if this encoding should be used to serialize the content of the passed |
| parsePacket | back to summary |
|---|---|
| public ParsingResult parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer buffer) Parse HTTP packet payload, represented by
| |
| prepareSerialize | back to summary |
|---|---|
| public void prepareSerialize(FilterChainContext ctx, HttpHeader httpHeader, HttpContent content) This method will be called by
| |
| serializePacket | back to summary |
|---|---|
| public Buffer serializePacket(FilterChainContext ctx, HttpContent httpContent) Serialize HTTP packet payload, represented by
| |
| wantDecode | back to summary |
|---|---|
| public boolean wantDecode(HttpHeader httpPacket) Return true if this encoding should be used to parse the content of the passed
| |
| wantEncode | back to summary |
|---|---|
| public boolean wantEncode(HttpHeader httpPacket) Return true if this encoding should be used to serialize the content of the passed
| |