org.deegree_impl.services.wcts
Class WCTService

java.lang.Object
  extended byorg.deegree_impl.services.OGCWebService_Impl
      extended byorg.deegree_impl.services.wcts.WCTService
All Implemented Interfaces:
OGCWebService, OGCWebServiceClient

public class WCTService
extends OGCWebService_Impl
implements OGCWebServiceClient

This is the web coordinate transformation server class within the deegree framework. A WCTService_Impl extends the WCTService interface to act like a OGC web service. This means that a WCTS is callable through the doService-method inherited from OGCWebService.

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

Version:
2002-08-07
Author:
Andreas Poth

Field Summary
private  HttpServletResponse response
           
 
Fields inherited from class org.deegree_impl.services.OGCWebService_Impl
capabilities
 
Constructor Summary
(package private) WCTService()
          default constructor
  WCTService(HttpServletRequest request, HttpServletResponse response)
          constructor
 
Method Summary
 void doService(OGCWebServiceEvent request)
          implements the doService method inherited from the OGCWebService interface via WCTService.
 OGCWebServiceResponse doService(OGCWebServiceRequest request)
          the method performs the handling of the passed OGCWebServiceEvent directly and returns the result to the calling class/method
private  java.lang.String getPostContent(HttpServletRequest request)
          returns the content of the http post request without its header
 void write(java.lang.Object result)
          gets the response (result) and informs the servlet
 
Methods inherited from class org.deegree_impl.services.OGCWebService_Impl
getCapabilities
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

response

private HttpServletResponse response
Constructor Detail

WCTService

WCTService()
default constructor


WCTService

public WCTService(HttpServletRequest request,
                  HttpServletResponse response)
constructor

Method Detail

getPostContent

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

Throws:
java.lang.Exception

doService

public void doService(OGCWebServiceEvent request)
               throws WebServiceException
implements the doService method inherited from the OGCWebService interface via WCTService. The method analyses the request and calls the 4 ProtocolHandlers for performing it.

Specified by:
doService in interface OGCWebService
Parameters:
request - request (WMS, WCS, WFS, WCAS, WCTS, WTS, Gazetter) to perform
Throws:
WebServiceException

doService

public OGCWebServiceResponse doService(OGCWebServiceRequest request)
                                throws WebServiceException
the method performs the handling of the passed OGCWebServiceEvent directly and returns the result to the calling class/method

Specified by:
doService in interface OGCWebService
Parameters:
request - request (WMS, WCS, WFS, WCAS, WCTS, WTS, Gazetter) to perform
Throws:
WebServiceException

write

public void write(java.lang.Object result)
gets the response (result) and informs the servlet

Specified by:
write in interface OGCWebServiceClient