remove the SingleThreadModel implements

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@768 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jesse McConnell 2009-08-26 16:59:11 +00:00
parent b5f1426c48
commit d12ff9dbf7
2 changed files with 5 additions and 4 deletions

View File

@ -17,7 +17,6 @@ import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.SingleThreadModel;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@ -27,21 +26,24 @@ import javax.servlet.http.HttpServletResponse;
/** Dump Servlet Request.
*
*/
public class HelloWorld extends HttpServlet implements SingleThreadModel
public class HelloWorld extends HttpServlet
{
/* ------------------------------------------------------------ */
@Override
public void init(ServletConfig config) throws ServletException
{
super.init(config);
}
/* ------------------------------------------------------------ */
@Override
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
doGet(request, response);
}
/* ------------------------------------------------------------ */
@Override
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
response.setContentType("text/html");

View File

@ -20,7 +20,6 @@ import java.io.PrintStream;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.SingleThreadModel;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@ -30,7 +29,7 @@ import javax.servlet.http.HttpServletResponse;
/** Dump Servlet Request.
*
*/
public class SecureModeServlet extends HttpServlet implements SingleThreadModel
public class SecureModeServlet extends HttpServlet
{
/* ------------------------------------------------------------ */
@Override