@Immutable public class SdkHttpMetadata extends Object
| Modifier and Type | Method and Description | 
|---|---|
static SdkHttpMetadata | 
from(HttpResponse httpResponse)
Static factory to create an  
SdkHttpMetadata from the details in a HttpResponse. | 
Map<String,List<String>> | 
getAllHttpHeaders()
Returns all the headers sent in a response. 
 | 
Map<String,String> | 
getHttpHeaders()
Deprecated. 
 
 | 
int | 
getHttpStatusCode()  | 
public Map<String,String> getHttpHeaders()
getAllHttpHeaders()public Map<String,List<String>> getAllHttpHeaders()
getHttpHeaders(), this returns all the values given for a
 field-name, rather than the last seen value.public int getHttpStatusCode()
public static SdkHttpMetadata from(HttpResponse httpResponse)
SdkHttpMetadata from the details in a HttpResponse.Copyright © 2021. All rights reserved.