|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Responder
An interface that custom Responders must implement.
A Responder is responsible for generating a Response based on a Request. For any given request, a Responder will be instantiated to respond to that request alone, then thrown to the garbage colletor. Therefor, instance variable are only useful for handling one request.
There are a few build-in Responders but, for interesting behavior, you will have to implement and register some custom Responders of your own.
Make sure your custom Responders have a default constructor. This will be used to instantiate them.
ResponderFactory| Method Summary | |
|---|---|
Response |
makeResponse(Server server,
Request request)
|
| Method Detail |
|---|
Response makeResponse(Server server,
Request request)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||