public interface ResponseDecoder
| Modifier and Type | Method and Description |
|---|---|
default void |
abort()
Called when the request failed while streaming content.
|
void |
complete()
Called when the client has finished reading response content.
|
void |
content(ByteBuffer content)
Called when content is available.
|
void content(ByteBuffer content)
content - The new contentvoid complete()
The decoder should decode the content it received prior to this call and invoke the callback.
default void abort()
The decoder should discard any resources it had open before returning.
Copyright © 2018. All rights reserved.