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, waitgetBytesReceived, getContentLength, getFileName, getMimeTypepublic 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.StreamingErrorEventgetException in interface StreamVariable.StreamingErrorEventpublic final String getFileName()
StreamVariable.StreamingEventgetFileName in interface StreamVariable.StreamingEventpublic final String getMimeType()
StreamVariable.StreamingEventgetMimeType in interface StreamVariable.StreamingEventpublic final long getContentLength()
StreamVariable.StreamingEventgetContentLength in interface StreamVariable.StreamingEventpublic final long getBytesReceived()
StreamVariable.StreamingEventgetBytesReceived in interface StreamVariable.StreamingEventCopyright © 2025. All rights reserved.