EAF 7.6 Implementation

com.lutris.appserver.server.httpPresentation
Class HttpPresentationComms

java.lang.Object
  extended by com.lutris.appserver.server.httpPresentation.HttpPresentationComms

public class HttpPresentationComms
extends java.lang.Object

Object passed to presentation objects that contains HTTP and Presentation Manager access and control objects.


Field Summary
 com.lutris.appserver.server.Application application
          Application object that this presentation is associated with.
 java.lang.Throwable exception
          If an exception/error occured, this field is set to the exception object.
 org.enhydra.util.jivan.JivanFactory jivanFactory
          Reference to the Jivan DocumentFactory object contained in the application.
 com.lutris.appserver.server.httpPresentation.HttpPresentationRequest request
          Object used to access HTTP request data.
 com.lutris.appserver.server.httpPresentation.HttpPresentationResponse response
          Object used to generate HTTP responses.
 com.lutris.appserver.server.session.Session session
          Session object that this presentation is associated with.
 SessionData sessionData
          Session data object.
 org.enhydra.xml.xmlc.XMLCFactory xmlcFactory
          Reference to the XMLC factory object contained in the application.
 
Constructor Summary
protected HttpPresentationComms(com.lutris.appserver.server.httpPresentation.HttpPresentationRequest request, com.lutris.appserver.server.httpPresentation.HttpPresentationResponse response, com.lutris.appserver.server.Application application)
          Construct an object, setting all of its fields.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

public final com.lutris.appserver.server.httpPresentation.HttpPresentationRequest request
Object used to access HTTP request data.


response

public final com.lutris.appserver.server.httpPresentation.HttpPresentationResponse response
Object used to generate HTTP responses.


application

public final com.lutris.appserver.server.Application application
Application object that this presentation is associated with. If null, no application is associated.


session

public com.lutris.appserver.server.session.Session session
Session object that this presentation is associated with. If null, no session has been associated by the application.


sessionData

public SessionData sessionData
Session data object. This is a handy reference to session.getSessionData()


exception

public java.lang.Throwable exception
If an exception/error occured, this field is set to the exception object. This is only set for and used by `ErrorHandler' presentations.


xmlcFactory

public org.enhydra.xml.xmlc.XMLCFactory xmlcFactory
Reference to the XMLC factory object contained in the application.


jivanFactory

public org.enhydra.util.jivan.JivanFactory jivanFactory
Reference to the Jivan DocumentFactory object contained in the application.

Constructor Detail

HttpPresentationComms

protected HttpPresentationComms(com.lutris.appserver.server.httpPresentation.HttpPresentationRequest request,
                                com.lutris.appserver.server.httpPresentation.HttpPresentationResponse response,
                                com.lutris.appserver.server.Application application)
Construct an object, setting all of its fields.

Parameters:
request - Object used to access HTTP request data.
response - Object used to generate HTTP responses.
application - Application object that this presentation is associated with or null if no application is associated.

EAF 7.6 Implementation