All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.directwebremoting.webwork.DefaultAjaxDataResult Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 3.0.2-RELEASE
Show newest version
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