public final class StreamingStartEventImpl extends Object implements StreamVariable.StreamingStartEvent
StreamVariable.StreamingStartEvent.| Constructor and Description |
|---|
StreamingStartEventImpl(String filename,
String type,
long contentLength)
Streaming start event constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disposeStreamVariable()
The owner of the StreamVariable can call this method to inform the
implementation that this StreamVariable will not be used to accept
more post.
|
long |
getBytesReceived()
Get the number of bytes streamed.
|
long |
getContentLength()
Get the content length.
|
String |
getFileName()
Get the file name for the stream.
|
String |
getMimeType()
Get the mime type for the stream.
|
boolean |
isDisposed()
Get if stream resource should be unregistered.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBytesReceived, getContentLength, getFileName, getMimeTypepublic void disposeStreamVariable()
StreamVariable.StreamingStartEventdisposeStreamVariable in interface StreamVariable.StreamingStartEventpublic boolean isDisposed()
public 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.