blob: 274d05e1116bd285b879d184c8997a05d0e690db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
@VaadinApache2LicenseForJavaFiles@
*/
package com.vaadin.terminal.gwt.server;
import com.vaadin.terminal.StreamVariable.StreamingStartEvent;
@SuppressWarnings("serial")
final class StreamingStartEventImpl extends AbstractStreamingEvent implements
StreamingStartEvent {
private boolean disposed;
public StreamingStartEventImpl(final String filename, final String type,
long contentLength) {
super(filename, type, contentLength, 0);
}
@Override
public void disposeStreamVariable() {
disposed = true;
}
boolean isDisposed() {
return disposed;
}
}
|