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:
parent
b5f1426c48
commit
d12ff9dbf7
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue