java.lang.Object
com.acme.gui.presObjs.StreamPO
- All Implemented Interfaces:
- com.lutris.appserver.server.httpPresentation.HttpPresentation
- public class StreamPO
- extends java.lang.Object
- implements com.lutris.appserver.server.httpPresentation.HttpPresentation
Field Summary |
private static boolean |
stop
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stop
private static boolean stop
StreamPO
public StreamPO()
getParam
private java.lang.String getParam(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms,
java.lang.String name)
throws com.lutris.appserver.server.httpPresentation.HttpPresentationException
wasteTime
private void wasteTime(int factor)
updateFrameText
private void updateFrameText(com.lutris.appserver.server.httpPresentation.HttpPresentationOutputStream out,
java.lang.String frame,
java.lang.String text)
throws java.io.IOException
run
public void run(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
throws java.lang.Exception
- Description copied from interface:
com.lutris.appserver.server.httpPresentation.HttpPresentation
- Run the Presentation Object passing it an HTTP request to handle.
Presentation objects differ from Servlets in that they are only
called to handle a single request at a time. No concurrency
control is required. The presentation should be coded in such
a way that it can handle multiple, non-concurrent requests or
have a lifetime of a single request.
- Specified by:
run
in interface com.lutris.appserver.server.httpPresentation.HttpPresentation