Class CompletionHandler<E>
- java.lang.Object
-
- org.glassfish.jersey.jdk.connector.internal.CompletionHandler<E>
-
abstract class CompletionHandler<E> extends java.lang.Object
A callback to notify about asynchronous I/O operations status updates.
-
-
Constructor Summary
Constructors Constructor Description CompletionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
completed(E result)
The operation has completed.void
failed(java.lang.Throwable throwable)
The operation has failed.
-
-
-
Method Detail
-
failed
public void failed(java.lang.Throwable throwable)
The operation has failed.- Parameters:
throwable
- error, which occurred during operation execution.
-
completed
public void completed(E result)
The operation has completed.- Parameters:
result
- the operation result.
-
-