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

cn.xishan.oftenporter.demo.bridge.http.MyHServerServlet Maven / Gradle / Ivy

package cn.xishan.oftenporter.demo.bridge.http;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

import cn.xishan.oftenporter.porter.core.bridge.BridgeLinker;
import cn.xishan.oftenporter.servlet.OftenServlet;

@WebServlet(urlPatterns = "/RemoteBridge/*", loadOnStartup = 10,
        initParams = {@WebInitParam(name = "pname", value = "HServer"),
                @WebInitParam(name = "responseWhenException", value = "true")})
public class MyHServerServlet extends OftenServlet
{

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    //public static Delivery delivery;
    public static BridgeLinker bridgeLinker;

    public MyHServerServlet()
    {

    }

    @Override
    public void init() throws ServletException
    {
        super.init();
    }

    @Override
    public BridgeLinker getBridgeLinker()
    {
        return bridgeLinker;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy