|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Adapter
Adapter. This represents the entry point to a coyote-based servlet container.
| Field Summary | |
|---|---|
static String |
CONNECTION_PROCESSING_COMPLETED
|
static String |
CONNECTION_PROCESSING_STARTED
|
static String |
REQUEST_PROCESSING_COMPLETED
|
static String |
REQUEST_PROCESSING_STARTED
|
| Method Summary | |
|---|---|
void |
afterService(Request req,
Response res)
Finish the response and recycle the request/response tokens. |
void |
fireAdapterEvent(String type,
Object data)
Notify all container event listeners that a particular event has occurred for this Adapter. |
void |
service(Request req,
Response res)
Call the service method, and notify all listeners |
| Field Detail |
|---|
static final String CONNECTION_PROCESSING_STARTED
static final String CONNECTION_PROCESSING_COMPLETED
static final String REQUEST_PROCESSING_STARTED
static final String REQUEST_PROCESSING_COMPLETED
| Method Detail |
|---|
void service(Request req,
Response res)
throws Exception
Exception - if an error happens during handling of
the request. Common errors are:
void afterService(Request req,
Response res)
throws Exception
Exception
void fireAdapterEvent(String type,
Object data)
type - Event typedata - Event data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||