Class RemoteOperationReturn
java.lang.Object
org.apache.juneau.rest.client.remote.RemoteOperationReturn
Represents the metadata about the returned object of a method on a remote proxy interface.
See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns schema information about the HTTP part.Returns the class type of the method return.Specifies whether the return value is the body of the request or the HTTP status.boolean
Returnstrue if the return is wrapped in aCompletableFuture
.boolean
isFuture()
Returnstrue if the return is wrapped in aFuture
.
-
Method Details
-
getResponseBeanMeta
Returns schema information about the HTTP part.- Returns:
- Schema information about the HTTP part, or
null if not found.
-
getReturnType
Returns the class type of the method return.- Returns:
- The class type of the method return.
-
isFuture
Returnstrue if the return is wrapped in aFuture
.- Returns:
true if the return is wrapped in aFuture
.
-
isCompletableFuture
Returnstrue if the return is wrapped in aCompletableFuture
.- Returns:
true if the return is wrapped in aCompletableFuture
.
-
getReturnValue
Specifies whether the return value is the body of the request or the HTTP status.- Returns:
- The type of value returned.
-