Class MultiverseController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.MultiverseController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class MultiverseController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
createWorldPublished
(String name) org.springframework.http.HttpEntity<String>
destroyWorldPublished
(String name) org.springframework.http.HttpEntity<Response<Collection<WorldInfo>>>
org.springframework.http.HttpEntity<Response<Collection<String>>>
void
setApplicationContext
(org.springframework.context.ApplicationContext arg0)
-
Constructor Details
-
MultiverseController
public MultiverseController()
-
-
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
-
listWorldsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Multiverse/listWorlds", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<String>>> listWorldsPublished() -
createWorldPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Multiverse/createWorld", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> createWorldPublished(@RequestParam("name") String name) throws IOException, WorldAlreadyExistingException -
destroyWorldPublished
-
listAlternativeWorldInfosPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Multiverse/listAlternativeWorldInfos", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<WorldInfo>>> listAlternativeWorldInfosPublished()
-