public class AsyncRequestWrapperImpl.AsyncResponseWrapperImpl extends Object implements org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<R>
| Modifier and Type | Field and Description |
|---|---|
protected URI |
location |
protected boolean |
preferenceApplied |
protected R |
response |
protected int |
retryAfter |
| Constructor and Description |
|---|
AsyncResponseWrapperImpl() |
AsyncResponseWrapperImpl(org.apache.http.HttpResponse res)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<org.apache.olingo.client.api.communication.response.ODataDeleteResponse> |
asyncDelete() |
org.apache.olingo.client.api.communication.response.ODataDeleteResponse |
delete() |
org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<R> |
forceNextMonitorCheck(URI uri) |
R |
getODataResponse() |
boolean |
isDone() |
boolean |
isPreferenceApplied() |
protected URI location
protected R extends org.apache.olingo.client.api.communication.response.ODataResponse response
protected int retryAfter
protected boolean preferenceApplied
public AsyncResponseWrapperImpl()
public AsyncResponseWrapperImpl(org.apache.http.HttpResponse res)
res - HTTP response.public boolean isPreferenceApplied()
isPreferenceApplied in interface org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<R extends org.apache.olingo.client.api.communication.response.ODataResponse>public boolean isDone()
isDone in interface org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<R extends org.apache.olingo.client.api.communication.response.ODataResponse>public R getODataResponse()
getODataResponse in interface org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<R extends org.apache.olingo.client.api.communication.response.ODataResponse>public org.apache.olingo.client.api.communication.response.ODataDeleteResponse delete()
delete in interface org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<R extends org.apache.olingo.client.api.communication.response.ODataResponse>public org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<org.apache.olingo.client.api.communication.response.ODataDeleteResponse> asyncDelete()
asyncDelete in interface org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<R extends org.apache.olingo.client.api.communication.response.ODataResponse>public org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<R> forceNextMonitorCheck(URI uri)
forceNextMonitorCheck in interface org.apache.olingo.client.api.communication.response.AsyncResponseWrapper<R extends org.apache.olingo.client.api.communication.response.ODataResponse>Copyright © 2013–2017 The Apache Software Foundation. All rights reserved.