Class HttpResolutionController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.HttpResolutionController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class HttpResolutionController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contentNegotiationPublished
(jakarta.servlet.http.HttpServletRequest oReq, jakarta.servlet.http.HttpServletResponse oRes, String resURI) org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>>
getBrowsingInfoPublished
(String htmlResURI) org.springframework.http.HttpEntity<Response<ContentNegotiationSettings>>
getContentNegotiationSettingsPublished
(String projectName) getMappedProjectPublished
(String resURI) void
rdfProviderPublished
(jakarta.servlet.http.HttpServletResponse oRes, String rdfResURI) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
storeContentNegotiationSettingsPublished
(com.fasterxml.jackson.databind.node.ObjectNode settings, String projectName) org.springframework.http.HttpEntity<String>
storeUri2ProjectSettingsPublished
(Map<String, String> uri2ProjectMap)
-
Constructor Details
-
HttpResolutionController
public HttpResolutionController()
-
-
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
-
storeUri2ProjectSettingsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/HttpResolution/storeUri2ProjectSettings", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> storeUri2ProjectSettingsPublished(@RequestParam("uri2ProjectMap") Map<String, String> uri2ProjectMap) throws NoSuchSettingsManager, STPropertyAccessException, STPropertyUpdateException, WrongPropertiesException -
getBrowsingInfoPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/HttpResolution/getBrowsingInfo", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> getBrowsingInfoPublished(@RequestParam("htmlResURI") String htmlResURI) throws NoSuchSettingsManager, ProjectAccessException, ProjectInexistentException, InvalidProjectNameException, STPropertyAccessException -
storeContentNegotiationSettingsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/HttpResolution/storeContentNegotiationSettings", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> storeContentNegotiationSettingsPublished(@RequestParam("settings") com.fasterxml.jackson.databind.node.ObjectNode settings, @RequestParam("projectName") String projectName) throws NoSuchSettingsManager, STPropertyAccessException, STPropertyUpdateException, WrongPropertiesException, ProjectAccessException, ProjectInexistentException, InvalidProjectNameException -
getUri2ProjectSettingsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/HttpResolution/getUri2ProjectSettings", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Map<String,String>>> getUri2ProjectSettingsPublished() throws IllegalStateException, STPropertyAccessException, NoSuchSettingsManager, STPropertyUpdateException, WrongPropertiesException -
getContentNegotiationSettingsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/HttpResolution/getContentNegotiationSettings", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<ContentNegotiationSettings>> getContentNegotiationSettingsPublished(@RequestParam("projectName") String projectName) throws IllegalStateException, STPropertyAccessException, NoSuchSettingsManager, ProjectAccessException, ProjectInexistentException, InvalidProjectNameException -
getMappedProjectPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/HttpResolution/getMappedProject", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<String>> getMappedProjectPublished(@RequestParam("resURI") String resURI) throws IllegalStateException, STPropertyAccessException, NoSuchSettingsManager, ProjectAccessException, ProjectInexistentException, InvalidProjectNameException -
contentNegotiationPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/HttpResolution/contentNegotiation", method={GET,HEAD}, produces="*/*") public void contentNegotiationPublished(jakarta.servlet.http.HttpServletRequest oReq, jakarta.servlet.http.HttpServletResponse oRes, @RequestParam("resURI") String resURI) throws IOException, NoSuchSettingsManager, STPropertyAccessException, ProjectAccessException, ProjectInexistentException, InvalidProjectNameException -
rdfProviderPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/HttpResolution/rdfProvider", method={GET,HEAD}, produces="*/*") public void rdfProviderPublished(jakarta.servlet.http.HttpServletResponse oRes, @RequestParam("rdfResURI") String rdfResURI) throws IOException, NoSuchSettingsManager, ProjectAccessException, ProjectInexistentException, InvalidProjectNameException, STPropertyAccessException
-