
org.directwebremoting.servlet.GeneratedJavaScriptHandler 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.servlet;
import org.directwebremoting.extend.Remoter;
import org.directwebremoting.util.LocalUtil;
/**
* A base class for all generated JavaScript files
* @author Mike Wilson [mikewse at hotmail dot com]
*/
public abstract class GeneratedJavaScriptHandler extends JavaScriptHandler
{
/* (non-Javadoc)
* @see org.directwebremoting.servlet.CachingHandler#getLastModifiedTime()
*/
@Override
protected long getLastModifiedTime()
{
return LocalUtil.getSystemClassloadTime();
}
/**
* Setter for the remoter
* @param remoter The new remoter
*/
public void setRemoter(Remoter remoter)
{
this.remoter = remoter;
}
/**
* The bean to execute remote requests and generate interfaces
*/
protected Remoter remoter = null;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy