Package com.commercetools.compat
Class CompatRequest<TResult>
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<CompatRequest<TResult>,TResult>
com.commercetools.compat.CompatRequest<TResult>
- All Implemented Interfaces:
ClientRequestCommand<TResult>
,CreateHttpRequestCommand
,RequestCommand<TResult>
public class CompatRequest<TResult>
extends ApiMethod<CompatRequest<TResult>,TResult>
implements ClientRequestCommand<TResult>, CreateHttpRequestCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,
V> -
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) int
hashCode()
static <TResult> CompatRequest<TResult>
of
(ApiHttpClient client, String projectKey, SphereRequest<?> request, Class<TResult> resultClass) int
toString()
Methods inherited from class io.vrap.rmf.base.client.ApiMethod
addHeader, addQueryParam, addQueryParams, contentType, createHttpRequest, execute, execute, execute, execute, execute, execute, execute, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriString, getQueryParamUriStrings, send, sendBlocking, sendBlocking, with, with, withHeader, withHeaders, withHttpRequest, withoutHeader, withoutQueryParam, withQueryParam, withQueryParams
Methods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlocking
Methods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequest
Methods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
-
Method Details
-
of
public static <TResult> CompatRequest<TResult> of(ApiHttpClient client, String projectKey, SphereRequest<?> request, Class<TResult> resultClass) -
executeBlocking
- Specified by:
executeBlocking
in interfaceClientRequestCommand<TResult>
- Specified by:
executeBlocking
in classApiMethod<CompatRequest<TResult>,
TResult>
-
execute
- Specified by:
execute
in interfaceClientRequestCommand<TResult>
- Specified by:
execute
in classApiMethod<CompatRequest<TResult>,
TResult>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-