
org.directwebremoting.dwrp.HtmlCallHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dwr Show documentation
Show all versions of dwr Show documentation
DWR is easy Ajax for Java. It makes it simple to call Java code directly from Javascript.
It gets rid of almost all the boilerplate code between the web browser and your Java code.
This version 4.0.2 works with Jakarta Servlet 4.0.2.
The newest version!
package org.directwebremoting.dwrp;
import java.io.PrintWriter;
import org.directwebremoting.extend.ScriptConduit;
/**
* A Handler standard DWR calls whose replies are HTML wrapped.
* @author Joe Walker [joe at getahead dot ltd dot uk]
*/
public class HtmlCallHandler extends BaseCallHandler
{
/* (non-Javadoc)
* @see org.directwebremoting.dwrp.BaseCallHandler#createScriptConduit(java.io.PrintWriter, java.lang.String, java.lang.String, java.lang.String)
*/
@Override
protected ScriptConduit createScriptConduit(PrintWriter out, String instanceId, String batchId, String documentDomain)
{
return new HtmlScriptConduit(out, instanceId, batchId, documentDomain);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy