org.deegree_impl.enterprise
Class WFSGServlet.WFSG

java.lang.Object
  extended byorg.deegree_impl.enterprise.WFSGServlet.WFSG
All Implemented Interfaces:
OGCWebServiceClient
Enclosing class:
WFSGServlet

private class WFSGServlet.WFSG
extends java.lang.Object
implements OGCWebServiceClient

private inner class that represents the web feature service.


Field Summary
private  java.lang.String request
           
private  OGCWebService service
           
private  HttpServletResponse servletResponse
           
 
Constructor Summary
(package private) WFSGServlet.WFSG(HttpServletRequest servletRequest, HttpServletResponse servletResponse)
          constructor
 
Method Summary
private  java.lang.String getPostContent(HttpServletRequest request)
          returns the content of the http post request without its header
protected  void perform()
          performs the request by calling the doService method of a WFSGService instance.
 void write(java.lang.Object result)
          The method implements the OGCWebServiceClient interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletResponse

private HttpServletResponse servletResponse

service

private OGCWebService service

request

private java.lang.String request
Constructor Detail

WFSGServlet.WFSG

WFSGServlet.WFSG(HttpServletRequest servletRequest,
                 HttpServletResponse servletResponse)
           throws java.lang.Exception
constructor

Parameters:
servletRequest -
servletResponse -
Throws:
java.lang.Exception
Method Detail

getPostContent

private java.lang.String getPostContent(HttpServletRequest request)
                                 throws java.lang.IllegalArgumentException,
                                        java.io.IOException
returns the content of the http post request without its header

Parameters:
request -
Returns:
Throws:
java.lang.IllegalArgumentException
java.io.IOException

perform

protected void perform()
performs the request by calling the doService method of a WFSGService instance.


write

public void write(java.lang.Object result)
Description copied from interface: OGCWebServiceClient
The method implements the OGCWebServiceClient interface. So a deegree OWS implementation accessed by this class is able to return the result of a request by calling the write-method.

It is hardly suggested that the submitted object shall be an instance of OGCWebServiceEvent. But it don't have to be.

Specified by:
write in interface OGCWebServiceClient
Parameters:
result -