public interface OperationHandler
Modifier and Type | Method and Description |
---|---|
default void |
onException(CrtRuntimeException e)
Invoked when there is an exception (IO or processing) sending or receiving data for
the operation.
|
default void |
onFinished()
Invoked when the transfer has completed normally
|
default void |
onResponseHeaders(int statusCode,
HttpHeader[] headers)
HttpHeaders seen in the response can be handled via looking for them here.
|
default void onResponseHeaders(int statusCode, HttpHeader[] headers)
statusCode
- intheaders
- HttpHeadersdefault void onException(CrtRuntimeException e)
default void onFinished()
Copyright © 2021. All rights reserved.