Class EntityRequestOptions<T extends ODataEntityType>
- java.lang.Object
-
- com.github.davidmoten.odata.client.EntityRequestOptions<T>
-
- All Implemented Interfaces:
HttpRequestOptions,RequestOptions
public final class EntityRequestOptions<T extends ODataEntityType> extends Object implements RequestOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.davidmoten.odata.client.HttpRequestOptions
HttpRequestOptions.Builder
-
-
Field Summary
-
Fields inherited from interface com.github.davidmoten.odata.client.RequestOptions
EMPTY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getExpand()Map<String,String>getQueries()List<RequestHeader>getRequestHeaders()Optional<String>getSelect()Optional<String>getUrlOverride()Optional<Long>requestConnectTimeoutMs()If present returns the connect timeout for the request (after the SSL handshake).Optional<Long>requestReadTimeoutMs()If present returns the read timeout for the request (after the SSL handshake).booleanuseCaches()
-
-
-
Method Detail
-
useCaches
public boolean useCaches()
-
getRequestHeaders
public List<RequestHeader> getRequestHeaders()
- Specified by:
getRequestHeadersin interfaceRequestOptions
-
getQueries
public Map<String,String> getQueries()
- Specified by:
getQueriesin interfaceRequestOptions
-
getUrlOverride
public Optional<String> getUrlOverride()
- Specified by:
getUrlOverridein interfaceRequestOptions
-
requestConnectTimeoutMs
public Optional<Long> requestConnectTimeoutMs()
Description copied from interface:HttpRequestOptionsIf present returns the connect timeout for the request (after the SSL handshake).- Specified by:
requestConnectTimeoutMsin interfaceHttpRequestOptions- Returns:
- request connect timeout in ms
-
requestReadTimeoutMs
public Optional<Long> requestReadTimeoutMs()
Description copied from interface:HttpRequestOptionsIf present returns the read timeout for the request (after the SSL handshake).- Specified by:
requestReadTimeoutMsin interfaceHttpRequestOptions- Returns:
- request read timeout in ms
-
-