Class EncodeFailedFuture
java.lang.Object
org.eclipse.jetty.ee10.websocket.jakarta.common.encoders.EncodeFailedFuture
A
Future<Void>
that is already failed as a result of an Encode error-
Constructor Summary
ConstructorDescriptionEncodeFailedFuture
(Object data, jakarta.websocket.Encoder encoder, Class<?> encoderType, Throwable cause) -
Method Summary
-
Constructor Details
-
EncodeFailedFuture
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
get
- Specified by:
get
in interfaceFuture<Void>
- Throws:
InterruptedException
ExecutionException
-
get
public Void get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
get
in interfaceFuture<Void>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceFuture<Void>
-
isDone
public boolean isDone()
-