Interface ODataRequestResultResource.Executable
- All Superinterfaces:
ODataRequestExecutable
- Enclosing class:
- ODataRequestResultResource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ODataRequestResultResource.Executable
extends ODataRequestExecutable
Interface for executing OData requests that return a resource which must be closed.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(org.apache.http.client.HttpClient httpClient) Execute the OData request with the provided HttpClient reference.
-
Method Details
-
execute
Description copied from interface:ODataRequestExecutableExecute the OData request with the provided HttpClient reference.- Specified by:
executein interfaceODataRequestExecutable- Parameters:
httpClient- The HttpClient.- Returns:
- An OData request result.
-