public interface ItsNatServletResponse extends ItsNatUserData
javax.servlet.ServletResponse
object.Modifier and Type | Method and Description |
---|---|
void |
addCodeToSend(java.lang.Object code)
Add JavaScript code to send to the client as return of this request.
|
ItsNatDocument |
getItsNatDocument()
Returns the ItsNat document associated to this response.
|
ItsNatServlet |
getItsNatServlet()
Returns the ItsNat servlet associated to this response.
|
ItsNatSession |
getItsNatSession()
Returns the ItsNat session associated to this response.
|
javax.servlet.ServletResponse |
getServletResponse()
Returns the wrapped
javax.servlet.ServletResponse object. |
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
javax.servlet.ServletResponse getServletResponse()
javax.servlet.ServletResponse
object.ItsNatServlet getItsNatServlet()
ItsNatSession getItsNatSession()
ItsNatDocument getItsNatDocument()
void addCodeToSend(java.lang.Object code)
If this request is a document load request, the code is added to the JavaScript initialization code, otherwise is an event based request and the code is added to the JavaScript event response.
Use this method exceptionally if you need to send custom code in this circumstance,
otherwise use ItsNatDocument.addCodeToSend(Object)
or ClientDocument.addCodeToSend(Object)
.
code
- the code to send, Object.toString()
is called to convert to string.ScriptUtil
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.