Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lutris.appserver.server.httpPresentation
Interface HttpPresentation  view HttpPresentation download HttpPresentation.java

All Known Implementing Classes:
CachedFilePresentation, CopyFilePresentation

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.