Enhydra 5.1 API

com.lutris.appserver.server.httpPresentation
Interface HttpPresentation

All Known Implementing Classes:
JoltPage

public interface HttpPresentation

Presentation Object interface. All presentation objects implement this interface.


Method Summary
 void run(HttpPresentationComms comms)
          Run the Presentation Object passing it an HTTP request to handle.
 

Method Detail

run

public void run(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

Enhydra 5.1 API