Class RemoteOperationReturn

java.lang.Object
org.apache.juneau.rest.client.remote.RemoteOperationReturn

public final class RemoteOperationReturn extends Object
Represents the metadata about the returned object of a method on a remote proxy interface.
See Also:
  • Method Details

    • getResponseBeanMeta

      Returns schema information about the HTTP part.
      Returns:
      Schema information about the HTTP part, or null if not found.
    • getReturnType

      public Type getReturnType()
      Returns the class type of the method return.
      Returns:
      The class type of the method return.
    • isFuture

      public boolean isFuture()
      Returns true if the return is wrapped in a Future.
      Returns:
      true if the return is wrapped in a Future.
    • isCompletableFuture

      public boolean isCompletableFuture()
      Returns true if the return is wrapped in a CompletableFuture.
      Returns:
      true if the return is wrapped in a CompletableFuture.
    • getReturnValue

      Specifies whether the return value is the body of the request or the HTTP status.
      Returns:
      The type of value returned.