Class Jetty400Repro
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
Jetty400Repro
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class Jetty400Repro
- extends HttpServlet
Repro a jetty problem.
- Author:
- hughw
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jetty400Repro
public Jetty400Repro()
main
public static void main(String[] args)
throws Exception
- Jetty 7.0.1 returns 400 on the second POST, when you send both Connection: Keep-Alive and
Expect: 100-Continue headers in the request.
- Parameters:
args
-
- Throws:
Exception
doPost
protected void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.