docs/doc/reference/com/google/android/exoplayer2/upstream/HttpDataSource.CleartextNotPermittedException.html
Package com.google.android.exoplayer2.upstream
All Implemented Interfaces:SerializableEnclosing interface:HttpDataSource
public static final classHttpDataSource.CleartextNotPermittedExceptionextends[HttpDataSource.HttpDataSourceException](HttpDataSource.HttpDataSourceException.html "class in com.google.android.exoplayer2.upstream")
Thrown when cleartext HTTP traffic is not permitted. For more information including how to enable cleartext traffic, see the corresponding troubleshooting topic. See Also:Serialized Form
-
HttpDataSource.HttpDataSourceException.Type
-
dataSpec, type, TYPE_CLOSE, TYPE_OPEN, TYPE_READ
-
POSITION_OUT_OF_RANGE, reason
Constructors | Constructor | Description |
| --- | --- |
| CleartextNotPermittedException(IOException cause, DataSpec dataSpec) | |
-
createForIOException
-
isCausedByPositionOutOfRange
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
public CleartextNotPermittedException([IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")cause,[DataSpec](DataSpec.html "class in com.google.android.exoplayer2.upstream")dataSpec)