|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.enterprise.control.ajax.ResponseHandler
public class ResponseHandler
| Constructor Summary | |
|---|---|
ResponseHandler(javax.servlet.http.HttpServletResponse response)
|
|
| Method Summary | |
|---|---|
javax.servlet.http.HttpServletResponse |
getHttpServletResponse()
|
void |
setContentLength(int length)
sets content length |
void |
setContentType(java.lang.String contentType)
sets content type |
void |
setLocale(java.util.Locale locale)
sets locale/character encoding |
(package private) void |
setXSLT(XSLTDocument xslt)
sets an xslt script that will be used if a XML document will be written; - writeAndClose(XMLFragment) |
void |
writeAndClose(boolean emitClassName,
java.lang.Object value)
'text/plain; charset=utf-8' will be used as default if no content-type has been set. |
void |
writeAndClose(java.lang.String value)
write a string result back to the client and closes the output stream. |
void |
writeAndClose(XMLFragment value)
write a XML result back to the client (if a xslt script has been set the document will be transformed first) and closes the output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ResponseHandler(javax.servlet.http.HttpServletResponse response)
response - | Method Detail |
|---|
public void setContentType(java.lang.String contentType)
contentType - public void setLocale(java.util.Locale locale)
locale - public void setContentLength(int length)
length - void setXSLT(XSLTDocument xslt)
writeAndClose(XMLFragment)
xslt -
public void writeAndClose(java.lang.String value)
throws java.io.IOException
value -
java.io.IOException
public void writeAndClose(XMLFragment value)
throws java.io.IOException
value -
java.io.IOException
public void writeAndClose(boolean emitClassName,
java.lang.Object value)
throws java.io.IOException
emitClassName - value -
java.io.IOExceptionpublic javax.servlet.http.HttpServletResponse getHttpServletResponse()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org