@Immutable public interface SdkHttpResponse extends SdkHttpHeaders
SdkHttpFullResponse
should be used when access to a
response body stream is required.Modifier and Type | Method and Description |
---|---|
int |
statusCode()
Returns the HTTP status code (eg.
|
Optional<String> |
statusText()
Returns the HTTP status text returned by the service.
|
firstMatchingHeader, headers
Optional<String> statusText()
If this was not provided by the service, empty will be returned.
int statusCode()
This will always be positive.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.