From f89fbef5b698cc0afa18e9c26ecb0fdd912bc972 Mon Sep 17 00:00:00 2001 From: rezra3 Date: Sun, 4 Mar 2018 11:32:08 +0200 Subject: [PATCH] codeine-222 server is not using default values of command parameters if not given by API --- .../servlet/ServletResponseGZIPOutputStream.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/common/codeine/servlet/ServletResponseGZIPOutputStream.java b/src/common/codeine/servlet/ServletResponseGZIPOutputStream.java index 3f82f46b..7cddbe9c 100644 --- a/src/common/codeine/servlet/ServletResponseGZIPOutputStream.java +++ b/src/common/codeine/servlet/ServletResponseGZIPOutputStream.java @@ -6,6 +6,7 @@ import java.util.zip.GZIPOutputStream; import javax.servlet.ServletOutputStream; +import javax.servlet.WriteListener; public class ServletResponseGZIPOutputStream extends ServletOutputStream { @@ -51,4 +52,13 @@ public void write(int b) throws IOException { gzipStream.write(b); } + @Override + public boolean isReady() { + return true; + } + + @Override + public void setWriteListener(WriteListener writeListener) { + + } } \ No newline at end of file