TransferEncoding
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ParsingResult | parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer input)
Implements org. Parse HTTP packet payload, represented by |
| public void | prepareSerialize(FilterChainContext ctx, HttpHeader httpHeader, HttpContent httpContent)
Implements org. This method will be called by |
| public Buffer | serializePacket(FilterChainContext ctx, HttpContent httpContent)
Implements org. Serialize HTTP packet payload, represented by |
| public boolean | wantDecode(HttpHeader httpPacket)
Implements org. Return true if this encoding should be used to parse the content of the passed |
| public boolean | wantEncode(HttpHeader httpPacket)
Implements org. Return true if this encoding should be used to serialize the content of the passed |
| FixedLengthTransferEncoding | back to summary |
|---|---|
| public FixedLengthTransferEncoding() | |
| parsePacket | back to summary |
|---|---|
| public ParsingResult parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer input) Implements org. Doc from org. Parse HTTP packet payload, represented by
| |
| prepareSerialize | back to summary |
|---|---|
| public void prepareSerialize(FilterChainContext ctx, HttpHeader httpHeader, HttpContent httpContent) Implements org. Doc from org. This method will be called by
| |
| serializePacket | back to summary |
|---|---|
| public Buffer serializePacket(FilterChainContext ctx, HttpContent httpContent) Implements org. Doc from org. Serialize HTTP packet payload, represented by
| |
| wantDecode | back to summary |
|---|---|
| public boolean wantDecode(HttpHeader httpPacket) Implements org. Doc from org. Return true if this encoding should be used to parse the content of the passed
| |
| wantEncode | back to summary |
|---|---|
| public boolean wantEncode(HttpHeader httpPacket) Implements org. Doc from org. Return true if this encoding should be used to serialize the content of the passed
| |