public static final class HttpDataSource.InvalidResponseCodeException extends HttpDataSource.HttpDataSourceException
HttpDataSource.HttpDataSourceException.Type
Modifier and Type | Field and Description |
---|---|
Map<String,List<String>> |
headerFields
An unmodifiable map of the response header fields and values.
|
int |
responseCode
The response code that was outside of the 2xx range.
|
String |
responseMessage
The http status message.
|
dataSpec, type, TYPE_CLOSE, TYPE_OPEN, TYPE_READ
Constructor and Description |
---|
InvalidResponseCodeException(int responseCode,
Map<String,List<String>> headerFields,
DataSpec dataSpec)
Deprecated.
Use
#InvalidResponseCodeException(int, String, Map, DataSpec) . |
InvalidResponseCodeException(int responseCode,
String responseMessage,
Map<String,List<String>> headerFields,
DataSpec dataSpec) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public final int responseCode