public interface ServiceResponse
Modifier and Type | Method and Description |
---|---|
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.
|
javax.servlet.http.HttpServletResponse getResponse()
Document getResponseDocument()
void setResponseDocument(Document doc)
doc
- boolean isDocumentMode()
void setDocumentMode(boolean mode)
mode
- isDocumentMode
Copyright © 2008-2015 Index Data. All Rights Reserved.