T
- OData response type corresponding to the request implementation.public interface ODataBasicRequest<T extends ODataResponse> extends ODataRequest
Modifier and Type | Method and Description |
---|---|
Future<T> |
asyncExecute()
Async request execute.
|
T |
execute()
Request execute.
|
void |
setFormat(ContentType contentType)
Override configured request Content-Type.
|
addCustomHeader, getAccept, getContentType, getHeader, getHeaderNames, getIfMatch, getIfNoneMatch, getMethod, getPrefer, getURI, rawExecute, setAccept, setContentType, setIfMatch, setIfNoneMatch, setPrefer, setURI, setXHTTPMethod, toByteArray
T execute()
Future<T> asyncExecute()
Future<ODataResponse>
about the executed request.void setFormat(ContentType contentType)
contentType
- request Content-Type.Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.