|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Adapter
Adapter. This represents the extention point to any customized http container, like Servlet, static resource, etc.
Method Summary | |
---|---|
void |
afterService(Request req,
Response res)
Finish the response and dedide if the Request /Response
object must be recycled. |
void |
service(Request req,
Response res)
Invoke the service method. |
Method Detail |
---|
void service(Request req, Response res) throws Exception
Request
and preparing the Response
.
req
- The Request
res
- The Response
Exception
- if an error happens during handling of
the request. Common errors are:
void afterService(Request req, Response res) throws Exception
Request
/Response
object must be recycled.
req
- The Request
res
- The Response
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |