T
- type of object that the response body is converted topublic interface HttpResponse<T>
Modifier and Type | Method and Description |
---|---|
List<String> |
getHeaderNames()
Retrieves a list of HTTP response header names.
|
List<String> |
getHeaderValues(String name)
Retrieves a list of HTTP response header values for the given header name.
|
int |
getHttpStatusCode()
Retrieves the HTTP status code.
|
T |
getResponseBody()
Retrieves the HTTP response body.
|
int getHttpStatusCode()
List<String> getHeaderNames()
List<String> getHeaderValues(String name)
name
- name of header to get values for. Cannot be null or empty.T getResponseBody()
Copyright © Veeva Systems 2017–2019. All rights reserved.