public interface AsyncRequestWrapper<R extends ODataResponse>
Modifier and Type | Method and Description |
---|---|
AsyncRequestWrapper<R> |
callback(URI url)
The odata.callback preference MUST include the parameter url whose value is the URL of a callback endpoint to be
invoked by the OData service when data is available.
|
AsyncResponseWrapper<R> |
execute()
execute the request for the first time.
|
AsyncRequestWrapper<R> |
wait(int waitInSeconds)
Add wait http header.
|
AsyncRequestWrapper<R> wait(int waitInSeconds)
waitInSeconds
- wait time in seconds.AsyncRequestWrapper<R> callback(URI url)
url
- callback URLAsyncResponseWrapper<R> execute()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.