Example usage for javax.servlet GenericServlet subclass-usage

List of usage examples for javax.servlet GenericServlet subclass-usage

Introduction

In this page you can find the example usage for javax.servlet GenericServlet subclass-usage.

Usage

From source file GetInitParams.java

public class GetInitParams extends GenericServlet {

    public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {
        res.setContentType("text/plain");
        PrintWriter out = res.getWriter();

From source file GetKey.java

public class GetKey extends GenericServlet {
    public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {
        res.setContentType("text/plain");
        PrintWriter out = res.getWriter();

        String key = getInitParameter("key");

From source file ServerSnoop.java

public class ServerSnoop extends GenericServlet {

    public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {
        res.setContentType("text/plain");
        PrintWriter out = res.getWriter();

From source file org.echocat.nodoodle.server.ServiceServlet.java

public class ServiceServlet extends GenericServlet {

    private static final Logger LOG = LoggerFactory.getLogger(ServiceServlet.class);

    public static final String SERVICE_PARAM = "service";

From source file org.sonar.wsclient.MetricServlet.java

public class MetricServlet extends GenericServlet {
    @Override
    public void service(ServletRequest request, ServletResponse response) throws ServletException, IOException {
        PrintWriter out = response.getWriter();

        String json = IOUtils.toString(MetricServlet.class.getResourceAsStream("/metrics/many_metrics.json"));

From source file org.sonar.ide.test.MetricServlet.java

/**
 * @author Evgeny Mandrikov
 */
public class MetricServlet extends GenericServlet {
    @Override
    public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {

From source file org.sonar.ide.test.RuleServlet.java

/**
 * @author Jrmie Lagarde
 * @since 0.3
 */
public class RuleServlet extends GenericServlet {

From source file net.sourceforge.ajaxtags.servlets.SourceLoader.java

/**
 * This class loads the frameworks, javascript files and css files from the jar file. Changes to the
 * javascript or css files can only be done by repacking the ajaxtags-resources.jar file.
 *
 * @author Jens Kapitza
 * @since 1.5

From source file com.iflytek.edu.cloud.frame.web.servlet.PrintProjectVersionServlet.java

/**
 * ??
 * 
 * @author libinsong1204@gmail.com
 * @date 2012-3-1 ?1:20:50
 */

From source file org.sonar.ide.test.TestServlet.java

/**
 * @author Evgeny Mandrikov
 */
public abstract class TestServlet extends GenericServlet {

    private static final String DEFAULT_PACKAGE_NAME = "[default]";