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

org.neogroup.warp.WarpServlet Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version

package org.neogroup.warp;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

import static org.neogroup.warp.Warp.handleRequest;

public class WarpServlet extends HttpServlet {

    public WarpServlet() {
    }

    @Override
    public void init(ServletConfig config) throws ServletException {
    }

    @Override
    protected void service(HttpServletRequest servletRequest, HttpServletResponse servletResponse) throws ServletException, IOException {
        handleRequest(servletRequest, servletResponse);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy