Class TyrusFuture<T>

java.lang.Object
java.util.concurrent.CompletableFuture<T>
org.glassfish.tyrus.core.TyrusFuture<T>
All Implemented Interfaces:
CompletionStage<T>, Future<T>

public class TyrusFuture<T> extends CompletableFuture<T>
Tyrus Future implementation.
  • Constructor Details

    • TyrusFuture

      public TyrusFuture()
  • Method Details

    • setResult

      public void setResult(T result)
      Sets the result of the message writing process.
      Parameters:
      result - result
    • setFailure

      public void setFailure(Throwable throwable)
      Sets the failure result of message writing process.
      Parameters:
      throwable - throwable.