Class SepiaController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.SepiaController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class SepiaController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<Response<SepiaSettings>>
void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
storeSettingsPublished
(String endpointURL)
-
Constructor Details
-
SepiaController
public SepiaController()
-
-
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
-
storeSettingsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sepia/storeSettings", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> storeSettingsPublished(@RequestParam("endpointURL") String endpointURL) throws IOException, RoleCreationException, STPropertyAccessException, STPropertyUpdateException -
getSettingsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sepia/getSettings", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<SepiaSettings>> getSettingsPublished() throws IOException, RoleCreationException, STPropertyAccessException -
getEndpointUrlPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Sepia/getEndpointUrl", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<String>> getEndpointUrlPublished() throws STPropertyAccessException- Throws:
STPropertyAccessException
-