org.apache.coyote

Interface Adapter

public interface Adapter

Adapter. This represents the entry point in a coyote-based servlet container.

Author: Remy Maucherat

See Also: ProtocolHandler

Method Summary
booleanevent(Request req, Response res, SocketStatus status)
voidservice(Request req, Response res)
Call the service method, and notify all listeners

Method Detail

event

public boolean event(Request req, Response res, SocketStatus status)

service

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

Throws: Exception if an error happens during handling of the request. Common errors are:

Tomcat should be able to handle and log any other exception ( including runtime exceptions )

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.