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, wait
getBytesReceived, getContentLength, getFileName, getMimeType
public void disposeStreamVariable()
StreamVariable.StreamingStartEvent
disposeStreamVariable
in interface StreamVariable.StreamingStartEvent
public boolean isDisposed()
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 © 2019. All rights reserved.