Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
groovy
0001-Port-to-Servlet-API-3.1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Port-to-Servlet-API-3.1.patch of Package groovy
From fa96b88004ed4873b9538fa4d6d0203654d1d2a7 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski <mizdebsk@redhat.com> Date: Fri, 31 Oct 2014 12:48:44 +0100 Subject: [PATCH 1/6] Port to Servlet API 3.1 --- .../src/main/java/groovy/servlet/ServletBinding.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/subprojects/groovy-servlet/src/main/java/groovy/servlet/ServletBinding.java b/subprojects/groovy-servlet/src/main/java/groovy/servlet/ServletBinding.java index ad58122..df25990 100644 --- a/subprojects/groovy-servlet/src/main/java/groovy/servlet/ServletBinding.java +++ b/subprojects/groovy-servlet/src/main/java/groovy/servlet/ServletBinding.java @@ -152,6 +152,20 @@ public class ServletBinding extends Binding { public void write(byte[] b, int off, int len) throws IOException { getResponseStream().write(b, off, len); } + public boolean isReady() { + try { + return getResponseStream().isReady(); + } catch (IOException e) { + throw new RuntimeException(e); + } + } + public void setWriteListener(javax.servlet.WriteListener writeListener) { + try { + getResponseStream().setWriteListener(writeListener); + } catch (IOException e) { + throw new RuntimeException(e); + } + } }; } private PrintWriter getResponseWriter() { -- 2.9.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor