com.ooyala.android.player.exoplayer.upstream.OoyalaDrmHttpDataSource.OoyalaInvalidResponseCodeException Class Reference

Thrown when an attempt to open a connection results in a response code not in the 2xx range. More...

Inheritance diagram for com.ooyala.android.player.exoplayer.upstream.OoyalaDrmHttpDataSource.OoyalaInvalidResponseCodeException:
HttpDataSourceException

Public Member Functions

 OoyalaInvalidResponseCodeException (int responseCode, JSONObject responseBody, Map< String, List< String >> headerFields, DataSpec dataSpec)
 

Public Attributes

final int responseCode
 The response code that was outside of the 2xx range. More...
 
final Map< String, List< String > > headerFields
 An unmodifiable map of the response header fields and values. More...
 
final JSONObject responseBody
 

Detailed Description

Thrown when an attempt to open a connection results in a response code not in the 2xx range.

Constructor & Destructor Documentation

com.ooyala.android.player.exoplayer.upstream.OoyalaDrmHttpDataSource.OoyalaInvalidResponseCodeException.OoyalaInvalidResponseCodeException ( int  responseCode,
JSONObject  responseBody,
Map< String, List< String >>  headerFields,
DataSpec  dataSpec 
)

Member Data Documentation

final Map<String, List<String> > com.ooyala.android.player.exoplayer.upstream.OoyalaDrmHttpDataSource.OoyalaInvalidResponseCodeException.headerFields

An unmodifiable map of the response header fields and values.

final JSONObject com.ooyala.android.player.exoplayer.upstream.OoyalaDrmHttpDataSource.OoyalaInvalidResponseCodeException.responseBody
final int com.ooyala.android.player.exoplayer.upstream.OoyalaDrmHttpDataSource.OoyalaInvalidResponseCodeException.responseCode

The response code that was outside of the 2xx range.