public final class StreamingErrorEventImpl extends Object implements StreamVariable.StreamingErrorEvent
StreamVariable.StreamingErrorEvent
.Constructor and Description |
---|
StreamingErrorEventImpl(String filename,
String type,
long contentLength,
long bytesReceived,
Exception exception)
Streaming error event constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getBytesReceived()
Get the number of bytes streamed.
|
long |
getContentLength()
Get the content length.
|
Exception |
getException()
Get the exception that failed the stream.
|
String |
getFileName()
Get the file name for the stream.
|
String |
getMimeType()
Get the mime type for the stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBytesReceived, getContentLength, getFileName, getMimeType
public StreamingErrorEventImpl(String filename, String type, long contentLength, long bytesReceived, Exception exception)
filename
- filenametype
- file typecontentLength
- content lengthbytesReceived
- amount of bytes receivedexception
- exception for stream failurepublic Exception getException()
StreamVariable.StreamingErrorEvent
getException
in interface StreamVariable.StreamingErrorEvent
public final String getFileName()
StreamVariable.StreamingEvent
getFileName
in interface StreamVariable.StreamingEvent
public final String getMimeType()
StreamVariable.StreamingEvent
getMimeType
in interface StreamVariable.StreamingEvent
public final long getContentLength()
StreamVariable.StreamingEvent
getContentLength
in interface StreamVariable.StreamingEvent
public final long getBytesReceived()
StreamVariable.StreamingEvent
getBytesReceived
in interface StreamVariable.StreamingEvent
Copyright © 2018. All rights reserved.