|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.placelab.example.ServletExample
This sample creates a placelab object and installs a servlet in it.
| Constructor Summary | |
ServletExample()
|
|
| Method Summary | |
void |
estimateUpdated(Tracker t,
Estimate e,
Measurement m)
Implement this method to respond to updates from the Tracker(s) you are registered with. |
java.lang.String |
getName()
Servlets can have human readable names. |
java.util.Hashtable |
injectHeaders(HTTPRequest req)
lets a servlet inject headers into a request that's handled by anybody |
static void |
main(java.lang.String[] args)
|
HTTPResponse |
serviceRequest(HTTPRequest req)
A serlvet must reply to passed in http requests |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServletExample()
| Method Detail |
public static void main(java.lang.String[] args)
public void estimateUpdated(Tracker t,
Estimate e,
Measurement m)
EstimateListener
estimateUpdated in interface EstimateListenert - the Tracker producing the Estimatee - the Estimate produced by the Trackerm - the latest Measurement used by the Tracker to produce the Estimatepublic java.lang.String getName()
Servlet
getName in interface Servletpublic HTTPResponse serviceRequest(HTTPRequest req)
Servlet
serviceRequest in interface Servletpublic java.util.Hashtable injectHeaders(HTTPRequest req)
Servlet
injectHeaders in interface Servletreq -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||