Class HttpDataSource.InvalidResponseCodeException

    • Field Detail

      • responseCode

        public final int responseCode
        The response code that was outside of the 2xx range.
      • responseMessage

        @Nullable
        public final String responseMessage
        The http status message.
      • headerFields

        public final Map<String,​List<String>> headerFields
        An unmodifiable map of the response header fields and values.
      • responseBody

        public final byte[] responseBody
        The response body.
    • Constructor Detail

      • InvalidResponseCodeException

        public InvalidResponseCodeException​(int responseCode,
                                            @Nullable
                                            String responseMessage,
                                            @Nullable
                                            IOException cause,
                                            Map<String,​List<String>> headerFields,
                                            DataSpec dataSpec,
                                            byte[] responseBody)