59d29287d2
OBS-URL: https://build.opensuse.org/request/show/694146 OBS-URL: https://build.opensuse.org/package/show/Java:packages/groovy18?expand=0&rev=1
35 lines
1.4 KiB
Diff
35 lines
1.4 KiB
Diff
diff --git a/src/main/groovy/servlet/ServletBinding.java b/src/main/groovy/servlet/ServletBinding.java
|
|
index 127d343..9d37592 100644
|
|
--- a/src/main/groovy/servlet/ServletBinding.java
|
|
+++ b/src/main/groovy/servlet/ServletBinding.java
|
|
@@ -24,6 +24,7 @@ import javax.servlet.ServletException;
|
|
import javax.servlet.ServletOutputStream;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
+import javax.servlet.WriteListener;
|
|
|
|
import org.codehaus.groovy.GroovyBugError;
|
|
import org.codehaus.groovy.runtime.MethodClosure;
|
|
@@ -150,6 +151,13 @@ public class ServletBinding extends Binding {
|
|
public void write(byte[] b, int off, int len) throws IOException {
|
|
getResponseStream().write(b, off, len);
|
|
}
|
|
+ public void setWriteListener(WriteListener writeListener) {
|
|
+ throw new UnsupportedOperationException("not implemented");
|
|
+ }
|
|
+
|
|
+ public boolean isReady() {
|
|
+ throw new UnsupportedOperationException("not implemented");
|
|
+ }
|
|
};
|
|
}
|
|
private PrintWriter getResponseWriter() {
|
|
@@ -359,6 +367,6 @@ public class ServletBinding extends Binding {
|
|
public void redirect(String location) throws IOException {
|
|
HttpServletResponse response = (HttpServletResponse) super.getVariable("response");
|
|
response.sendRedirect(location);
|
|
- }
|
|
+ }
|
|
}
|
|
|