|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.dwrp.BaseCallMarshaller
org.directwebremoting.dwrp.PlainCallMarshaller
public class PlainCallMarshaller
A Marshaller that outputs plain Javascript.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.directwebremoting.dwrp.BaseCallMarshaller |
|---|
BaseCallMarshaller.CallScriptConduit |
| Field Summary |
|---|
| Fields inherited from class org.directwebremoting.dwrp.BaseCallMarshaller |
|---|
accessControl, ATTRIBUTE_BATCH, ATTRIBUTE_CONDUIT, ATTRIBUTE_REQUEST, converterManager, creatorManager, crossDomainSessionSecurity, log, pageNormalizer, sessionCookieName |
| Constructor Summary | |
|---|---|
PlainCallMarshaller()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getOutboundMimeType()
What mime type should we send to the browser for this data? |
protected void |
sendOutboundScriptPrefix(java.io.PrintWriter out,
java.lang.String batchId)
iframe mode starts as HTML, so get into script mode |
protected void |
sendOutboundScriptSuffix(java.io.PrintWriter out,
java.lang.String batchId)
iframe mode needs to get out of script mode |
protected void |
sendScript(java.io.PrintWriter out,
java.lang.String script)
Send a script to the browser |
void |
setAllowScriptTagRemoting(boolean allowScriptTagRemoting)
Do we allow ScriptTag remoting? |
void |
setScriptTagProtection(java.lang.String scriptTagProtection)
What is the string we use for script tag hack protection |
| Methods inherited from class org.directwebremoting.dwrp.BaseCallMarshaller |
|---|
isConvertable, marshallException, marshallInbound, marshallOutbound, setAccessControl, setAllowGetForSafariButMakeForgeryEasier, setConverterManager, setCreatorManager, setCrossDomainSessionSecurity, setPageNormalizer, setSessionCookieName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlainCallMarshaller()
| Method Detail |
|---|
protected java.lang.String getOutboundMimeType()
BaseCallMarshaller
getOutboundMimeType in class BaseCallMarshaller
protected void sendOutboundScriptPrefix(java.io.PrintWriter out,
java.lang.String batchId)
throws java.io.IOException
BaseCallMarshaller
sendOutboundScriptPrefix in class BaseCallMarshallerout - The stream to write tobatchId - The batch identifier so we can prepare the environment
java.io.IOException - If the write fails
protected void sendOutboundScriptSuffix(java.io.PrintWriter out,
java.lang.String batchId)
throws java.io.IOException
BaseCallMarshaller
sendOutboundScriptSuffix in class BaseCallMarshallerout - The stream to write tobatchId - The batch identifier so we can prepare the environment
java.io.IOException - If the write fails
protected void sendScript(java.io.PrintWriter out,
java.lang.String script)
throws java.io.IOException
BaseCallMarshaller
sendScript in class BaseCallMarshallerout - The stream to write toscript - The script to send
java.io.IOException - If the write failspublic void setAllowScriptTagRemoting(boolean allowScriptTagRemoting)
allowScriptTagRemoting - The new value to setpublic void setScriptTagProtection(java.lang.String scriptTagProtection)
scriptTagProtection - the scriptTagProtection to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||