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

com.opensymphony.webwork.views.velocity.components.PushDirective Maven / Gradle / Ivy

package com.opensymphony.webwork.views.velocity.components;

import com.opensymphony.webwork.components.Component;
import com.opensymphony.webwork.components.Push;
import com.opensymphony.xwork.util.OgnlValueStack;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @see Push
 */
public class PushDirective extends AbstractDirective {
    public String getBeanName() {
        return "push";
    }

    protected Component getBean(OgnlValueStack stack, HttpServletRequest req, HttpServletResponse res) {
        return new Push(stack);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy