|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.locomotive.loco.handler.DefaultHandler
A sample default handler. This is the handler that is invoked when a handler is not specified on the url. It is autoloaded at server boot, but can be overridden in the HandlerRoutingTable.
| Constructor Summary | |
DefaultHandler()
|
|
| Method Summary | |
void |
handleRequest(HandlerData hd_in)
This is the entry point for the server upon receipt of a new request. |
boolean |
init(Log initlog)
Called during Handler initiation. |
boolean |
shutdown(Log initlog)
Called during handler shutdown. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public DefaultHandler()
| Method Detail |
public void handleRequest(HandlerData hd_in)
hd_in - a HandlerData object, containing request specific
informationpublic boolean init(Log initlog)
initlog - - a Log instance used to log details of initiationpublic boolean shutdown(Log initlog)
initlog - - a Log instance used to log details of initiation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||