|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
public interface ZXTMServletResponse
The ZXTMServletResponse interface extends the base ServletResponse to give access to ZXTM functionality. In particular, this interface allows a Servlet to modify a response that has already been generated by a server, instead of the Servlet being responsible for the original reply.
| Method Summary | |
|---|---|
void |
dropConnection()
Tell ZXTM to completely drop this connection, without replying to the user |
int |
getContentLength()
Read the content length of the response. |
String |
getContentType()
Returns the Content-Type of the response. |
ServletInputStream |
getInputStream()
Retrieves the body of the response as binary data using a ServletInputStream. |
BufferedReader |
getReader()
Retrieves the body of the response as character data using a BufferedReader. |
boolean |
isResponseRule()
Is the Servlet running as a response rule? |
void |
retryConnection()
Tell ZXTM to retry this request. |
void |
setCharacterEncoding(String enc)
Overrides the name of the character encoding used in the body of this response. |
| Methods inherited from interface javax.servlet.ServletResponse |
|---|
flushBuffer, getBufferSize, getCharacterEncoding, getLocale, getOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentLength, setContentType, setLocale |
| Method Detail |
|---|
void dropConnection()
throws IOException
IOException - if an error occurs when communicating with ZXTMint getContentLength()
String getContentType()
ServletInputStream getInputStream()
throws IOException
IOException - if an error occurs when communicating with ZXTM
BufferedReader getReader()
throws IOException
IOException - if an error occurs when communicating with ZXTMboolean isResponseRule()
void retryConnection()
throws IOException
IOException - if an error occurs when communicating with ZXTMvoid setCharacterEncoding(String enc)
enc - A String containing the name of the character encoding
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||