aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractMedia.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-08-30 13:05:19 +0300
committerLeif Åstrand <leif@vaadin.com>2012-08-30 13:05:19 +0300
commit7411bd0456f6dca3f8c25a5050ea786f90c6af0f (patch)
treea94bee85aa9c8e4973dd93c1217fa7f58ffefcc2 /server/src/com/vaadin/ui/AbstractMedia.java
parent6d4c07fdd3bc6c7935047ea779d27707198abb6a (diff)
downloadvaadin-framework-7411bd0456f6dca3f8c25a5050ea786f90c6af0f.tar.gz
vaadin-framework-7411bd0456f6dca3f8c25a5050ea786f90c6af0f.zip
Refactor to enable implementing #7545 without changing the API
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractMedia.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractMedia.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/AbstractMedia.java b/server/src/com/vaadin/ui/AbstractMedia.java
index 940d85a8b9..3f59b070b7 100644
--- a/server/src/com/vaadin/ui/AbstractMedia.java
+++ b/server/src/com/vaadin/ui/AbstractMedia.java
@@ -97,7 +97,7 @@ public abstract class AbstractMedia extends AbstractComponent {
URLReference reference = sources.get(sourceIndex);
ConnectorResource resource = (ConnectorResource) ResourceReference
.getResource(reference);
- resource.getStream().writeTo(response);
+ resource.getStream().writeResponse(request, response);
return true;
} else {
return super.handleConnectorRequest(request, response, path);