Class ServicesController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.ServicesController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class ServicesController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<Response<Collection<String>>>
org.springframework.http.HttpEntity<Response<Collection<String>>>
getServiceClassesPublished
(String extensionPath) org.springframework.http.HttpEntity<Response<STProperties>>
getServiceInvocationFormPublished
(org.eclipse.rdf4j.model.IRI operationIRI) getServiceOperationAsCustomServicePublished
(org.eclipse.rdf4j.model.IRI operationIRI) org.springframework.http.HttpEntity<Response<Optional<OperationDescription>>>
getServiceOperationPublished
(org.eclipse.rdf4j.model.IRI operationIRI) org.springframework.http.HttpEntity<Response<Collection<String>>>
getServiceOperationsPublished
(String extensionPath, String serviceClass) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0)
-
Constructor Details
-
ServicesController
public ServicesController()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext arg0) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getServiceSpecies
- Specified by:
getServiceSpecies
in interfaceIntrospectableController
-
getService
- Specified by:
getService
in interfaceIntrospectableController
-
getServiceClassesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Services/getServiceClasses", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<String>>> getServiceClassesPublished(@RequestParam("extensionPath") String extensionPath) -
getServiceOperationPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Services/getServiceOperation", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Optional<OperationDescription>>> getServiceOperationPublished(@RequestParam("operationIRI") org.eclipse.rdf4j.model.IRI operationIRI) -
getServiceOperationAsCustomServicePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Services/getServiceOperationAsCustomService", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Operation>> getServiceOperationAsCustomServicePublished(@RequestParam("operationIRI") org.eclipse.rdf4j.model.IRI operationIRI) -
getExtensionPathsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Services/getExtensionPaths", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<String>>> getExtensionPathsPublished() -
getServiceOperationsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Services/getServiceOperations", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<String>>> getServiceOperationsPublished(@RequestParam("extensionPath") String extensionPath, @RequestParam("serviceClass") String serviceClass) -
getServiceInvocationFormPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Services/getServiceInvocationForm", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<STProperties>> getServiceInvocationFormPublished(@RequestParam("operationIRI") org.eclipse.rdf4j.model.IRI operationIRI)
-