public final class CaptureResponseWrapper
extends HttpServletResponseWrapper
Constructor and Description |
---|
CaptureResponseWrapper(HttpServletResponse response)
Construct a new CaptureResponseWrapper.
|
Modifier and Type | Method and Description |
---|---|
void |
flushBuffer() |
java.lang.String |
getCapturedCharacterResponse() |
ServletOutputStream |
getOutputStream() |
java.io.PrintWriter |
getWriter() |
boolean |
isBinaryResponse()
Returns true if the response is binary.
|
public CaptureResponseWrapper(HttpServletResponse response)
response
- the response to wrappublic boolean isBinaryResponse()
public void flushBuffer() throws java.io.IOException
java.io.IOException
public ServletOutputStream getOutputStream() throws java.io.IOException
java.io.IOException
public java.io.PrintWriter getWriter() throws java.io.IOException
java.io.IOException
public java.lang.String getCapturedCharacterResponse() throws java.io.IOException
java.io.IOException
- if no character response data captured"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"