public interface HttpResponse
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
flushBuffer()
Flushes the output buffer to the client.
|
java.lang.String |
getContentType()
Gets the content type that will be sent to the browser.
|
void |
setContentType(java.lang.String type)
Sets the content type to be sent back to the browser.
|
void |
setStatusMessage(java.lang.String responseString)
Sets the response string to be sent to the browser
|
java.lang.String getContentType()
void setContentType(java.lang.String type)
type
- the type to be sent to the browser (i.e. "text/html")void setStatusMessage(java.lang.String responseString)
responseString
- the response stringvoid flushBuffer() throws java.io.IOException
java.io.IOException