|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.services.controller.AbstractOWS
org.deegree.services.wps.WPService
public class WPService
Implementation of the OpenGIS Web Processing Service server protocol.
Supported WPS protocol versions:
OGCFrontController,
ProcessManager,
ExecutionManager| Field Summary |
|---|
| Fields inherited from class org.deegree.services.controller.AbstractOWS |
|---|
mainControllerConf, mainMetadataConf, offeredVersions, serviceInfo, workspace |
| Constructor Summary | |
|---|---|
WPService(URL configURL,
ImplementationMetadata serviceInfo)
|
|
| Method Summary | |
|---|---|
void |
destroy()
Usually called by the ResourceManager upon workspace shutdown. |
void |
doKVP(Map<String,String> kvpParamsUC,
javax.servlet.http.HttpServletRequest request,
HttpResponseBuffer response,
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,
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(XMLStreamReader xmlStream,
javax.servlet.http.HttpServletRequest request,
HttpResponseBuffer response,
List<org.apache.commons.fileupload.FileItem> multiParts)
Called by the OGCFrontController to allow this OWS to handle an OGC-XML request. |
Pair<XMLExceptionSerializer<OWSException>,String> |
getExceptionSerializer(Version requestVersion)
Returns the ExceptionSerializer and mime-type suitable for the given request version. |
ExecutionManager |
getExecutionManager()
Returns the associated ExecutionManager instance. |
ProcessManager |
getProcessManager()
Returns the underlying ProcessManager instance. |
void |
init(DeegreeServicesMetadataType serviceMetadata,
DeegreeServiceControllerType mainConf,
ImplementationMetadata<?> md,
XMLAdapter controllerConf)
Initializes the AbstractOWS instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WPService(URL configURL,
ImplementationMetadata serviceInfo)
| Method Detail |
|---|
public void init(DeegreeServicesMetadataType serviceMetadata,
DeegreeServiceControllerType mainConf,
ImplementationMetadata<?> md,
XMLAdapter controllerConf)
throws ResourceInitException
AbstractOWSAbstractOWS instance.
init in class AbstractOWScontrollerConf - controller configuration, must not be null
ResourceInitExceptionpublic void destroy()
ResourceResourceManager upon workspace shutdown.
public void doKVP(Map<String,String> kvpParamsUC,
javax.servlet.http.HttpServletRequest request,
HttpResponseBuffer response,
List<org.apache.commons.fileupload.FileItem> multiParts)
throws javax.servlet.ServletException,
IOException
OWSOGCFrontController to allow this OWS to handle an OGC-KVP request.
kvpParamsUC - request parameters (keys are uppercased), never nullrequest - provides access to all information of the original HTTP request (NOTE: may be GET or POST), never
nullresponse - response that is sent to the client, never nullmultiParts - 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
IOException
public void doXML(XMLStreamReader xmlStream,
javax.servlet.http.HttpServletRequest request,
HttpResponseBuffer response,
List<org.apache.commons.fileupload.FileItem> multiParts)
throws javax.servlet.ServletException,
IOException
OWSOGCFrontController 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 nullrequest - provides access to all information of the original HTTP request (NOTE: may be GET or POST), never
nullresponse - response that is sent to the client, never nullmultiParts - 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
IOException
public void doSOAP(org.apache.axiom.soap.SOAPEnvelope soapDoc,
javax.servlet.http.HttpServletRequest request,
HttpResponseBuffer response,
List<org.apache.commons.fileupload.FileItem> multiParts,
org.apache.axiom.soap.SOAPFactory factory)
throws javax.servlet.ServletException,
IOException
AbstractOWSOGCFrontController to allow this AbstractOGCServiceController to handle a SOAP
request.
doSOAP in interface OWSdoSOAP in class AbstractOWSsoapDoc - 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
IOException - if an IOException occurredpublic ProcessManager getProcessManager()
ProcessManager instance.
ProcessManager, never nullpublic ExecutionManager getExecutionManager()
ExecutionManager instance.
ExecutionManager, never nullpublic Pair<XMLExceptionSerializer<OWSException>,String> getExceptionSerializer(Version requestVersion)
AbstractOWSExceptionSerializer and mime-type suitable for the given request version.
getExceptionSerializer in interface OWSgetExceptionSerializer in class AbstractOWSrequestVersion - 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 | |||||||||