public class AsyncRequestWrapperImpl.AsyncResponseWrapperImpl extends Object implements 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 |
|---|---|
AsyncResponseWrapper<ODataDeleteResponse> |
asyncDelete()
A client can request that the DELETE should be executed asynchronously.
|
ODataDeleteResponse |
delete()
DeleteA DELETE request sent to the status monitor resource requests that the asynchronous processing be canceled.
|
AsyncResponseWrapper<R> |
forceNextMonitorCheck(URI uri)
Specifies the location for the next monitor check.
|
R |
getODataResponse()
Gets the real response.
|
boolean |
isDone()
Checks if asynchronous processing has been terminated.
|
boolean |
isPreferenceApplied()
Checks for preference applied.
|
protected URI location
protected R extends ODataResponse response
protected int retryAfter
protected boolean preferenceApplied
public AsyncResponseWrapperImpl()
public AsyncResponseWrapperImpl(org.apache.http.HttpResponse res)
res - HTTP response.public boolean isPreferenceApplied()
AsyncResponseWrapperisPreferenceApplied in interface AsyncResponseWrapper<R extends ODataResponse>public boolean isDone()
AsyncResponseWrapperisDone in interface AsyncResponseWrapper<R extends ODataResponse>public R getODataResponse()
AsyncResponseWrappergetODataResponse in interface AsyncResponseWrapper<R extends ODataResponse>public ODataDeleteResponse delete()
AsyncResponseWrapperdelete in interface AsyncResponseWrapper<R extends ODataResponse>public AsyncResponseWrapper<ODataDeleteResponse> asyncDelete()
AsyncResponseWrapperasyncDelete in interface AsyncResponseWrapper<R extends ODataResponse>public AsyncResponseWrapper<R> forceNextMonitorCheck(URI uri)
AsyncResponseWrapperforceNextMonitorCheck in interface AsyncResponseWrapper<R extends ODataResponse>uri - monitor location.Copyright © 2023. All rights reserved.