
org.directwebremoting.webwork.DefaultAjaxDataResult 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 boiler plate code between the web browser and your Java code.
package org.directwebremoting.webwork;
/**
* Default implementation of AjaxDataResult
*
* @author Alexandru Popescu
*/
public class DefaultAjaxDataResult implements AjaxDataResult
{
private Object m_data;
/**
* Sole constructor.
*
* @param data the wrapped result object
*/
public DefaultAjaxDataResult(Object data)
{
m_data = data;
}
/**
* @see org.directwebremoting.webwork.AjaxDataResult#getData()
*/
public Object getData()
{
return m_data;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy