blob: 6a7844abd0627a2a3e8fa04ef215bc2b627a0f8c (
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
|
/*
@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);
}
public void disposeStreamVariable() {
disposed = true;
}
boolean isDisposed() {
return disposed;
}
}
|