org.deegree_impl.services
Class OGCWebServiceRequest_Impl

java.lang.Object
  extended byorg.deegree_impl.services.OGCWebServiceRequest_Impl
All Implemented Interfaces:
OGCWebServiceRequest
Direct Known Subclasses:
CASDescribeRecordTypeRequest_Impl, CASGetCapabilitiesRequest_Impl, CASGetRecordRequest_Impl, CASRegisterServiceRequest_Impl, CASTransactionRequest_Impl, DescribeTransformationRequest_Impl, GetCapabilitiesRequest_Impl, IsTransformableRequest_Impl, TransformRequest_Impl, WCSGetCapabilitiesRequest_Impl, WCSGetCoverageRequest_Impl, WFSBasicRequest_Impl, WMSDescribeLayerRequest_Impl, WMSGetCapabilitiesRequest_Impl, WMSGetFeatureInfoRequest_Impl, WMSGetLegendGraphicRequest_Impl, WMSGetMapRequest_Impl, WMSGetScaleBarRequest_Impl, WMSGetStylesRequest_Impl, WMSPutStylesRequest_Impl, WTSGetCapabilitiesRequest_Impl, WTSGetViewRequest_Impl

public class OGCWebServiceRequest_Impl
extends java.lang.Object
implements OGCWebServiceRequest

This is the base interface for all request on OGC Web Services (OWS). Each class that capsulates a request against an OWS has to implements this interface.

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

Version:
2002-02-28
Author:
Katharina Lupp

Field Summary
protected  java.lang.String id
           
protected  java.lang.String request
           
protected  java.lang.String service
           
protected  java.util.HashMap vendorSpecificParameter
           
protected  java.lang.String version
           
 
Constructor Summary
OGCWebServiceRequest_Impl(java.lang.String request, java.lang.String service, java.lang.String version, java.lang.String id, java.util.HashMap vendorSpecificParameter)
          constructor initializing the class with the
 
Method Summary
 java.lang.String getId()
          returns the ID of a request
 java.lang.String getRequest()
          The REQUEST parameter indicates which service operation is being invoked.
 java.lang.String getRequestParameter()
          returns the URI of a HTTP GET request.
 java.lang.String getService()
          The required SERVICE parameter indicates which of the available service types at a particular service instance is being invoked.
 java.lang.String getVendorSpecificParameter(java.lang.String name)
          Finally, the requests allow for optional vendor-specific parameters (VSPs) that will enhance the results of a request.
 java.util.HashMap getVendorSpecificParameters()
          Finally, the requests allow for optional vendor-specific parameters (VSPs) that will enhance the results of a request.
 java.lang.String getVersion()
          returns the requested service version
 void putVendorSpecificParameter(java.lang.String paramName, java.lang.String paramValue)
          adds the vendorSpecificParameter
 void setId(java.lang.String id)
          sets the ID of a request
 void setRequest(java.lang.String request)
          sets the REQUEST parameter indicating which service operation is being invoked.
 void setService(java.lang.String service)
          sets the required SERVICE parameter indicating which of the available service types at a particular service instance is being invoked.
 void setVendorSpecificParameter(java.util.HashMap vendorSpecificParameter)
          sets the vendorSpecificParameter
 void setVersion(java.lang.String version)
          sets the requested service version
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vendorSpecificParameter

protected java.util.HashMap vendorSpecificParameter

id

protected java.lang.String id

request

protected java.lang.String request

service

protected java.lang.String service

version

protected java.lang.String version
Constructor Detail

OGCWebServiceRequest_Impl

public OGCWebServiceRequest_Impl(java.lang.String request,
                                 java.lang.String service,
                                 java.lang.String version,
                                 java.lang.String id,
                                 java.util.HashMap vendorSpecificParameter)
constructor initializing the class with the

Method Detail

getRequest

public java.lang.String getRequest()
The REQUEST parameter indicates which service operation is being invoked. The value shall be the name of one of the operations offered by the OGC Web Service Instance.

Specified by:
getRequest in interface OGCWebServiceRequest

setRequest

public void setRequest(java.lang.String request)
sets the REQUEST parameter indicating which service operation is being invoked. The value shall be the name of one of the operations offered by the OGC Web Service Instance.


getService

public java.lang.String getService()
The required SERVICE parameter indicates which of the available service types at a particular service instance is being invoked.

Specified by:
getService in interface OGCWebServiceRequest

setService

public void setService(java.lang.String service)
sets the required SERVICE parameter indicating which of the available service types at a particular service instance is being invoked.


getVendorSpecificParameters

public java.util.HashMap getVendorSpecificParameters()
Finally, the requests allow for optional vendor-specific parameters (VSPs) that will enhance the results of a request. Typically, these are used for private testing of non-standard functionality prior to possible standardization. A generic client is not required or expected to make use of these VSPs.

Specified by:
getVendorSpecificParameters in interface OGCWebServiceRequest

getVendorSpecificParameter

public java.lang.String getVendorSpecificParameter(java.lang.String name)
Finally, the requests allow for optional vendor-specific parameters (VSPs) that will enhance the results of a request. Typically, these are used for private testing of non-standard functionality prior to possible standardization. A generic client is not required or expected to make use of these VSPs.

Specified by:
getVendorSpecificParameter in interface OGCWebServiceRequest

putVendorSpecificParameter

public void putVendorSpecificParameter(java.lang.String paramName,
                                       java.lang.String paramValue)
adds the vendorSpecificParameter


setVendorSpecificParameter

public void setVendorSpecificParameter(java.util.HashMap vendorSpecificParameter)
sets the vendorSpecificParameter


getId

public java.lang.String getId()
returns the ID of a request

Specified by:
getId in interface OGCWebServiceRequest

setId

public void setId(java.lang.String id)
sets the ID of a request


getVersion

public java.lang.String getVersion()
returns the requested service version

Specified by:
getVersion in interface OGCWebServiceRequest

setVersion

public void setVersion(java.lang.String version)
sets the requested service version


getRequestParameter

public java.lang.String getRequestParameter()
                                     throws WebServiceException
returns the URI of a HTTP GET request. If the request doesn't support HTTP GET a WebServiceException will be thrown

Specified by:
getRequestParameter in interface OGCWebServiceRequest
Throws:
WebServiceException

toString

public java.lang.String toString()
Returns: