Class HttpReceiver.Decoder
java.lang.Object
org.eclipse.jetty.client.HttpReceiver.Decoder
- All Implemented Interfaces:
Destroyable
- Enclosing class:
HttpReceiver
Implements the decoding of content, producing decoded buffers only if there is demand for content.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Callbackprivate final ContentDecoderprivate ByteBufferprivate final HttpExchange -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleandecode()private booleandecode(ByteBuffer encoded, Callback callback) private HttpReceiver.DecodeResultvoiddestroy()private voidresume()
-
Field Details
-
exchange
-
decoder
-
encoded
-
callback
-
-
Constructor Details
-
Decoder
-
-
Method Details
-
decode
-
decode
private boolean decode() -
decodeChunk
-
resume
private void resume() -
destroy
public void destroy()- Specified by:
destroyin interfaceDestroyable
-