Package org.eclipse.jetty.client
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 Callback
private final ContentDecoder
private ByteBuffer
private final HttpExchange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
decode()
private boolean
decode
(ByteBuffer encoded, Callback callback) private HttpReceiver.DecodeResult
void
destroy()
private void
resume()
-
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:
destroy
in interfaceDestroyable
-