Created
September 29, 2011 18:26
-
-
Save lfryc/1251512 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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