public abstract class ODataHttpResponseWrapper extends Object
| Constructor and Description |
|---|
ODataHttpResponseWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
getHeader(String name)
Returns the response header Name and List of values of the specified response header as Map
|
Enumeration<String> |
getHeaderNames()
Returns a collection of all the header names that the response contains.
|
Map<String,List<String>> |
getHeaders()
Returns a Map of all the headers that the response contains.
|
int |
getHttpStatusCode() |
void |
setResponse(org.apache.http.HttpResponse httpResponse) |
public void setResponse(org.apache.http.HttpResponse httpResponse)
public int getHttpStatusCode()
public Enumeration<String> getHeaderNames()
Enumeration object containing header namespublic Map<String,List<String>> getHeaders()
java.util.Map object containing headerspublic Map<String,List<String>> getHeader(String name)
name - A String containing the header namejava.util.Map containing header name and header value ListCopyright © 2020 SAP. All Rights Reserved.