org.deegree.services
Interface RequestController

All Known Implementing Classes:
WFSRequestController

public interface RequestController

the interface describes the administration of requests that are in progress by the WFS/WCS/WMS/CS (Dispatcher)

------------------------------------------------------------------------

Version:
$Revision: 1.4 $ $Date: 2004/02/09 07:57:02 $
Author:
Andreas Poth

Method Summary
 void addRequestPart(java.lang.Object obj)
          Adds a part of the whole request to the controller.
 void addResponse(OGCWebServiceResponse response)
          adds a response to the request controlled by this class or a part of it.
 OGCWebServiceRequest getRequest()
          return the request handled by the class
 OGCWebServiceResponse getResponse()
          creates a resonse object merging all independed responses that has been resulted from perfoming the request
 boolean requestFinished()
          returns true if all operations of the request are performed
 

Method Detail

addRequestPart

public void addRequestPart(java.lang.Object obj)
Adds a part of the whole request to the controller. The parameter identifies the listener that's responsible for performing this part of the request.


getRequest

public OGCWebServiceRequest getRequest()
return the request handled by the class


requestFinished

public boolean requestFinished()
returns true if all operations of the request are performed


addResponse

public void addResponse(OGCWebServiceResponse response)
adds a response to the request controlled by this class or a part of it.


getResponse

public OGCWebServiceResponse getResponse()
                                  throws java.lang.Exception
creates a resonse object merging all independed responses that has been resulted from perfoming the request

Throws:
java.lang.Exception