Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Auge2016-05-17 15:59:03 +0000
committerRaymond Auge2016-05-17 15:59:03 +0000
commit67c577429b9dbf698a4d0b59071ab602afe339d7 (patch)
tree75888e0543683c341144c6e3d7601d66f9ede81d /bundles/org.eclipse.equinox.http.servlet/src
parent455f9cefc23966584335cfe679a09e45ecf3a93d (diff)
downloadrt.equinox.bundles-67c577429b9dbf698a4d0b59071ab602afe339d7.tar.gz
rt.equinox.bundles-67c577429b9dbf698a4d0b59071ab602afe339d7.tar.xz
rt.equinox.bundles-67c577429b9dbf698a4d0b59071ab602afe339d7.zip
Bug 493583 - [http] HttpServletResponseWrapperImpl.InternalOutputStream does not forward flush() to originalOutputStreamI20160517-2000
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.http.servlet/src')
-rw-r--r--bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpServletResponseWrapperImpl.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpServletResponseWrapperImpl.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpServletResponseWrapperImpl.java
index 0b7518d0a..a7c5f5f17 100644
--- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpServletResponseWrapperImpl.java
+++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpServletResponseWrapperImpl.java
@@ -99,6 +99,16 @@ public class HttpServletResponseWrapperImpl extends HttpServletResponseWrapper {
}
@Override
+ public void close() throws IOException {
+ originalOutputStream.close();
+ }
+
+ @Override
+ public void flush() throws IOException {
+ originalOutputStream.flush();
+ }
+
+ @Override
public boolean isReady() {
return originalOutputStream.isReady();
}

Back to the top