
public class StateAwareResponseDelegate extends Object implements ResponseDelegate
| Constructor and Description |
|---|
StateAwareResponseDelegate() |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream()
Returns the output stream.
|
PrintWriter |
getPrintWriter()
Returns the print writer.
|
Writer |
getWriter()
Returns the writer.
|
boolean |
isResponseCommitted()
Checks if the response is committed.
|
void |
setContentType(String contentType)
Sets the content type of the response.
|
public OutputStream getOutputStream()
ResponseDelegategetOutputStream in interface ResponseDelegatepublic PrintWriter getPrintWriter()
ResponseDelegategetPrintWriter in interface ResponseDelegatepublic Writer getWriter()
ResponseDelegategetWriter in interface ResponseDelegatepublic boolean isResponseCommitted()
ResponseDelegateisResponseCommitted in interface ResponseDelegatetrue if the response is committed.public void setContentType(String contentType)
ResponseDelegatesetContentType in interface ResponseDelegatecontentType - The content type.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.