ProtocolHandler
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | checkRecycled(Request
Request req, Response Response res)Assert that request and response have been recycled. |
| public String | Returns: The MBean domain nameProvide the name of the domain to use to register MBeans for components associated with the connector. |
| public void | |
| public boolean | |
| public void |
| asyncDispatch | back to summary |
|---|---|
| public boolean asyncDispatch(Request req, Response res, SocketEvent status) throws Exception | |
| checkRecycled | back to summary |
|---|---|
| public void checkRecycled(Request req, Response res) Assert that request and response have been recycled. If they have not then log a warning and force a recycle. This method is called as a safety check when a processor is being recycled and may be returned to a pool for reuse. | |
| getDomain | back to summary |
|---|---|
| public String getDomain() Provide the name of the domain to use to register MBeans for components associated with the connector.
| |
| log | back to summary |
|---|---|
| public void log(Request req, Response res, long time) | |
| prepare | back to summary |
|---|---|
| public boolean prepare(Request req, Response res) throws Exception Prepare the given request/response for processing. This method requires that the request object has been populated with the information available from the HTTP headers. | |
| service | back to summary |
|---|---|
| public void service(Request req, Response res) throws Exception Call the service method, and notify all listeners
| |