Interface ODataRequestResult
- All Known Implementing Classes:
ODataRequestResultGeneric
,ODataRequestResultMultipartGeneric
public interface ODataRequestResult
Generic type of an OData request result.
-
Method Summary
Modifier and TypeMethodDescriptionGet all HTTP header values, grouped by the name (case insensitive) of the HTTP header.Get the iterable list of HTTP response header names.getHeaderValues
(String headerName) Get the iterable HTTP header values for a specific header name.org.apache.http.HttpResponse
Get the original ODataHttpResponse
instance, which holds the HttpEntity and header information.Get the originalODataRequestExecutable
instance that was used for running the OData request.
-
Method Details
-
getODataRequest
Get the originalODataRequestExecutable
instance that was used for running the OData request.- Returns:
- The original
ODataRequestExecutable
instance.
-
getHttpResponse
@Nonnull org.apache.http.HttpResponse getHttpResponse()Get the original ODataHttpResponse
instance, which holds the HttpEntity and header information.- Returns:
- The HttpResponse.
-
getHeaderNames
Get the iterable list of HTTP response header names.- Returns:
- An iterable set of header names.
-
getHeaderValues
Get the iterable HTTP header values for a specific header name. The lookup happens case-insensitively.- Parameters:
headerName
- The header name to look for.- Returns:
- An iterable set of header values.
-
getAllHeaderValues
Get all HTTP header values, grouped by the name (case insensitive) of the HTTP header.- Returns:
- A case insensitive map of HTTP header names, where each entry is an iterable set of values for the specific header name.
-