|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceResponse
Represents current service response.
| Method Summary | |
|---|---|
javax.servlet.http.HttpServletResponse |
getResponse()
Current direct (wrapped) HTTP response. |
Document |
getResponseDocument()
Returns the current response XML document that plugins should append to. |
boolean |
isDocumentMode()
Once a plugin in the chain calls getResponseDocument, the response switches to the document mode and any consecutive call to output stream will cause an exception. |
void |
setDocumentMode(boolean mode)
Used when a plug-in needs to force direct mode after another plug-in in the chain has triggered document mode by setting a response document. |
void |
setResponseDocument(Document doc)
(Re)set the response document. |
| Method Detail |
|---|
javax.servlet.http.HttpServletResponse getResponse()
Document getResponseDocument()
void setResponseDocument(Document doc)
doc - boolean isDocumentMode()
void setDocumentMode(boolean mode)
mode - isDocumentMode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||