Class BlacklistController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.BlacklistController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class BlacklistController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
void
downloadBlacklistPublished
(jakarta.servlet.http.HttpServletResponse oRes, org.eclipse.rdf4j.rio.RDFFormat format) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0)
-
Constructor Details
-
BlacklistController
public BlacklistController()
-
-
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
-
clearBlacklistPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Blacklist/clearBlacklist", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> clearBlacklistPublished() -
downloadBlacklistPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Blacklist/downloadBlacklist", method=GET, produces="application/json;charset=UTF-8") public void downloadBlacklistPublished(jakarta.servlet.http.HttpServletResponse oRes, @RequestParam(value="format",required=false,defaultValue="TURTLE") org.eclipse.rdf4j.rio.RDFFormat format) throws org.eclipse.rdf4j.repository.RepositoryException, org.eclipse.rdf4j.rio.RDFHandlerException, org.eclipse.rdf4j.rio.UnsupportedRDFormatException, IOException - Throws:
org.eclipse.rdf4j.repository.RepositoryException
org.eclipse.rdf4j.rio.RDFHandlerException
org.eclipse.rdf4j.rio.UnsupportedRDFormatException
IOException
-