Class STServiceHTTPContext
java.lang.Object
it.uniroma2.art.semanticturkey.services.http.STServiceHTTPContext
- All Implemented Interfaces:
STServiceContext
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.servlet.http.HttpServletRequest
getContextParameter
(String parameter) getProject
(int index) Deprecated.org.eclipse.rdf4j.model.Resource[]
org.eclipse.rdf4j.model.Resource
Returns the working graph.boolean
hasContextParameter
(String parameter)
-
Field Details
-
logger
protected static org.slf4j.Logger logger
-
-
Constructor Details
-
STServiceHTTPContext
public STServiceHTTPContext()
-
-
Method Details
-
currentRequest
protected jakarta.servlet.http.HttpServletRequest currentRequest() -
getProjectConsumer
- Specified by:
getProjectConsumer
in interfaceSTServiceContext
-
getProject
- Specified by:
getProject
in interfaceSTServiceContext
-
getWGraph
public org.eclipse.rdf4j.model.Resource getWGraph()Returns the working graph. If none is indicated as a parameter of the request URL (see "ctx_wgraph"), then it returns the base URI of the current project.- Specified by:
getWGraph
in interfaceSTServiceContext
-
getRGraphs
public org.eclipse.rdf4j.model.Resource[] getRGraphs()- Specified by:
getRGraphs
in interfaceSTServiceContext
-
getProject
Deprecated.- Specified by:
getProject
in interfaceSTServiceContext
-
getExtensionPathComponent
- Specified by:
getExtensionPathComponent
in interfaceSTServiceContext
-
getRequest
- Specified by:
getRequest
in interfaceSTServiceContext
-
getSessionToken
- Specified by:
getSessionToken
in interfaceSTServiceContext
-
getVersion
- Specified by:
getVersion
in interfaceSTServiceContext
-
getLanguages
- Specified by:
getLanguages
in interfaceSTServiceContext
-
hasContextParameter
- Specified by:
hasContextParameter
in interfaceSTServiceContext
-
getContextParameter
- Specified by:
getContextParameter
in interfaceSTServiceContext
-