Skip to content

Instantly share code, notes, and snippets.

@lfryc
Created September 29, 2011 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfryc/1251512 to your computer and use it in GitHub Desktop.
Save lfryc/1251512 to your computer and use it in GitHub Desktop.
public ServletOutputStream getOutputStream()
throws IOException {
if (usingWriter)
throw new IllegalStateException
(sm.getString("coyoteResponse.getOutputStream.ise"));
usingOutputStream = true;
if (outputStream == null) {
outputStream = new CoyoteOutputStream(outputBuffer);
}
return outputStream;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment