public interface Adapter
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_PROCESSING_COMPLETED |
static String |
CONNECTION_PROCESSING_STARTED |
static String |
REQUEST_PROCESSING_COMPLETED |
static String |
REQUEST_PROCESSING_STARTED |
| Modifier and Type | Method and Description |
|---|---|
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
|
static final String CONNECTION_PROCESSING_STARTED
static final String CONNECTION_PROCESSING_COMPLETED
static final String REQUEST_PROCESSING_STARTED
static final String REQUEST_PROCESSING_COMPLETED
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
ExceptionCopyright © 2005–2017 Oracle Corporation. All rights reserved.