FileDocCategorySizeDatePackage
Adapter.javaAPI DocApache Tomcat 6.0.142008Fri Jul 20 04:20:36 BST 2007org.apache.coyote

Adapter

public interface Adapter
Adapter. This represents the entry point in a coyote-based servlet container.
author
Remy Maucherat
see
ProtocolHandler

Fields Summary
Constructors Summary
Methods Summary
public booleanevent(Request req, Response res, org.apache.tomcat.util.net.SocketStatus status)

public voidservice(Request req, Response res)
Call the service method, and notify all listeners

exception
Exception if an error happens during handling of the request. Common errors are:
  • IOException if an input/output error occurs and we are processing an included servlet (otherwise it is swallowed and handled by the top level error handler mechanism)
  • ServletException if a servlet throws an exception and we are processing an included servlet (otherwise it is swallowed and handled by the top level error handler mechanism)
Tomcat should be able to handle and log any other exception ( including runtime exceptions )