com.lutris.appserver.server.httpPresentation
Interface HttpPresentation
public interface HttpPresentation
Presentation Object interface. All presentation objects implement this
interface.
Method Summary |
void |
run(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
Run the Presentation Object passing it an HTTP request to handle. |
run
void run(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
throws java.lang.Exception
- 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.
- Parameters:
comms
- HTTP communications object. Contains objects and interfaces to read
the request and send a response.
- Throws:
java.lang.Exception
- Any exception may be thrown.- See Also:
HttpPresentationComms