Uses of Class
com.microsoft.rest.ServiceResponse
-
Packages that use ServiceResponse Package Description com.microsoft.rest The package contains the runtime classes required for AutoRest generated clients to compile and function.com.microsoft.rest.protocol The package contains classes that interfaces defining the behaviors of the necessary components of a Rest Client. -
-
Uses of ServiceResponse in com.microsoft.rest
Subclasses of ServiceResponse in com.microsoft.rest Modifier and Type Class Description classServiceResponseWithHeaders<TBody,THeader>An instance of this class holds a response object and a raw REST response.Methods in com.microsoft.rest that return ServiceResponse Modifier and Type Method Description ServiceResponse<T>ServiceResponseBuilder. build(retrofit2.Response<okhttp3.ResponseBody> response)ServiceResponse<T>ServiceResponseBuilder. buildEmpty(retrofit2.Response<Void> response)ServiceResponse<T>ServiceResponse. withBody(T body)Sets the response object.Method parameters in com.microsoft.rest with type arguments of type ServiceResponse Modifier and Type Method Description static <T> ServiceFuture<T>ServiceFuture. fromResponse(rx.Observable<ServiceResponse<T>> observable)Creates a ServiceCall from an observable object.static <T> ServiceFuture<T>ServiceFuture. fromResponse(rx.Observable<ServiceResponse<T>> observable, ServiceCallback<T> callback)Creates a ServiceCall from an observable object and a callback. -
Uses of ServiceResponse in com.microsoft.rest.protocol
Methods in com.microsoft.rest.protocol that return ServiceResponse Modifier and Type Method Description ServiceResponse<T>ResponseBuilder. build(retrofit2.Response<okhttp3.ResponseBody> response)Build a ServiceResponse instance from a REST call response and a possible error.ServiceResponse<T>ResponseBuilder. buildEmpty(retrofit2.Response<Void> response)Build a ServiceResponse instance from a REST call response and a possible error, which does not have a response body.
-