I am trying to write a forward proxy in Jetty using Servlet 3.0.
I\'ve a simple code-
public class testServlet
@Override
protected void service(HttpServletRequest arg0, HttpServletResponse arg1)
throws ServletException, IOException {
// TODO Auto-generated method stub
super.service(arg0, arg1);
}
@Override
public void service(ServletRequest arg0, ServletResponse arg1)
throws ServletException, IOException {
// TODO Auto-generated method stub
super.service(arg0, arg1);
}
You can compare the similarities and differences between these two methods. But these two methods are all subclasses of method parameters are different
Can't speak English really good pain... Hehe I need to use translation tools to answer your question