|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.controller.AbstractOGCServiceController org.deegree.services.csw.CSWController
public class CSWController
Implementation of the OpenGIS Catalogue Service server protocol.
Supported CSW protocol versions:
CSWService
,
AbstractOGCServiceController
,
OGCFrontController
Field Summary |
---|
Fields inherited from class org.deegree.services.controller.AbstractOGCServiceController |
---|
mainControllerConf, mainMetadataConf, offeredVersions |
Constructor Summary | |
---|---|
CSWController()
|
Method Summary | |
---|---|
void |
destroy()
Called by the OGCFrontController to indicate to this OWS that it is being taken out of service. |
void |
doKVP(java.util.Map<java.lang.String,java.lang.String> normalizedKVPParams,
javax.servlet.http.HttpServletRequest request,
HttpResponseBuffer response,
java.util.List<org.apache.commons.fileupload.FileItem> multiParts)
Called by the OGCFrontController to allow this OWS to handle an OGC-KVP request. |
void |
doSOAP(org.apache.axiom.soap.SOAPEnvelope soapDoc,
javax.servlet.http.HttpServletRequest request,
HttpResponseBuffer response,
java.util.List<org.apache.commons.fileupload.FileItem> multiParts,
org.apache.axiom.soap.SOAPFactory factory)
Called by the OGCFrontController to allow this AbstractOGCServiceController to handle a SOAP
request. |
void |
doXML(javax.xml.stream.XMLStreamReader xmlStream,
javax.servlet.http.HttpServletRequest request,
HttpResponseBuffer response,
java.util.List<org.apache.commons.fileupload.FileItem> multiParts)
Called by the OGCFrontController to allow this OWS to handle an OGC-XML request. |
org.deegree.commons.utils.Pair<XMLExceptionSerializer<OWSException>,java.lang.String> |
getExceptionSerializer(org.deegree.commons.tom.ows.Version requestVersion)
Returns the ExceptionSerializer and mime-type suitable for the given request version. |
void |
init(org.deegree.commons.xml.XMLAdapter controllerConf,
DeegreeServicesMetadataType serviceMetadata,
DeegreeServiceControllerType mainConf)
Called by the OGCFrontController to indicate to this OWS that it is being taken into service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSWController()
Method Detail |
---|
public void init(org.deegree.commons.xml.XMLAdapter controllerConf, DeegreeServicesMetadataType serviceMetadata, DeegreeServiceControllerType mainConf) throws ControllerInitException
OWS
OGCFrontController
to indicate to this OWS
that it is being taken into service.
controllerConf
- provides access to the (always xml-based) configuration of the controllerserviceMetadata
- services metadata from the main service configuration for all servicesmainConf
- from the main.xml
ControllerInitException
- indicates that the initialization failedpublic void doKVP(java.util.Map<java.lang.String,java.lang.String> normalizedKVPParams, javax.servlet.http.HttpServletRequest request, HttpResponseBuffer response, java.util.List<org.apache.commons.fileupload.FileItem> multiParts) throws javax.servlet.ServletException, java.io.IOException
OWS
OGCFrontController
to allow this OWS
to handle an OGC-KVP request.
normalizedKVPParams
- request parameters (keys are uppercased), never null
request
- provides access to all information of the original HTTP request (NOTE: may be GET or POST), never
null
response
- response that is sent to the client, never null
multiParts
- A list of multiparts contained in the request. If the request was not a multipart request the list
will be null
. If multiparts were found, the requestDoc will be the first (xml-lized)
FileItem
in the list.
javax.servlet.ServletException
java.io.IOException
public void doXML(javax.xml.stream.XMLStreamReader xmlStream, javax.servlet.http.HttpServletRequest request, HttpResponseBuffer response, java.util.List<org.apache.commons.fileupload.FileItem> multiParts) throws javax.servlet.ServletException, java.io.IOException, SecurityException
OWS
OGCFrontController
to allow this OWS
to handle an OGC-XML request.
xmlStream
- provides access to the XML request, cursor points to the START_ELEMENT event of the root element,
never null
request
- provides access to all information of the original HTTP request (NOTE: may be GET or POST), never
null
response
- response that is sent to the client, never null
multiParts
- A list of multiparts contained in the request. If the request was not a multipart request the list
will be null
. If multiparts were found, the xmlStream will provide access to the first
(xml-lized) FileItem
in the list of multi parts
javax.servlet.ServletException
java.io.IOException
SecurityException
public void doSOAP(org.apache.axiom.soap.SOAPEnvelope soapDoc, javax.servlet.http.HttpServletRequest request, HttpResponseBuffer response, java.util.List<org.apache.commons.fileupload.FileItem> multiParts, org.apache.axiom.soap.SOAPFactory factory) throws org.apache.axiom.om.OMException, javax.servlet.ServletException
AbstractOGCServiceController
OGCFrontController
to allow this AbstractOGCServiceController
to handle a SOAP
request.
doSOAP
in interface OWS
doSOAP
in class AbstractOGCServiceController
soapDoc
- XMLAdapter
for parsing the SOAP request documentrequest
- provides access to all information of the original HTTP request (NOTE: may be GET or POST)response
- response that is sent to the clientmultiParts
- A list of multiparts contained in the request. If the request was not a multipart request the list
will be null
. If multiparts were found, the requestDoc will be the first (xml-lized)
FileItem
in the list.factory
- initialized to the soap version of the request.
javax.servlet.ServletException
org.apache.axiom.om.OMException
public void destroy()
OWS
OGCFrontController
to indicate to this OWS
that it is being taken out of service.
public org.deegree.commons.utils.Pair<XMLExceptionSerializer<OWSException>,java.lang.String> getExceptionSerializer(org.deegree.commons.tom.ows.Version requestVersion)
AbstractOGCServiceController
ExceptionSerializer
and mime-type suitable for the given request version.
getExceptionSerializer
in class AbstractOGCServiceController
requestVersion
- version of the request for which the exception has to be produced, may be null
(implies
that the serializer and mime type for the highest supported version shall be returned)
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |