Class CorpusDocumentOOPSentencesIdxTokensIdxAnnotationSubannotation
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- io.outofprintmagazine.web.servlets.AbstractOOPServlet
-
- io.outofprintmagazine.web.servlets.AbstractOOPCacheableServlet
-
- io.outofprintmagazine.web.rest.browse.CorpusDocumentOOPSentencesIdxTokensIdxAnnotationSubannotation
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
@Path("/Corpora/{Corpus}/{Document}/OOP/sentences/{SentenceIdx}/tokens/{TokenIdx}/{Annotation}/{Subannotation}") public class CorpusDocumentOOPSentencesIdxTokensIdxAnnotationSubannotation extends AbstractOOPCacheableServlet
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.outofprintmagazine.web.servlets.AbstractOOPCacheableServlet
lastModified
-
-
Constructor Summary
Constructors Constructor Description CorpusDocumentOOPSentencesIdxTokensIdxAnnotationSubannotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
doGet(String corpus, String document, Integer sentenceIdx, Integer tokenIdx, String annotation, String subannotation)
-
Methods inherited from class io.outofprintmagazine.web.servlets.AbstractOOPCacheableServlet
getLastModified, init, setCacheControl
-
Methods inherited from class io.outofprintmagazine.web.servlets.AbstractOOPServlet
calculateSimilarity, createObject, createObjectCloud, createObjectTidy, generatePst, getAnnotationDescription, getMapper, getStorage, plainTextToHtml, reformatTidyArray, setAnnotationDescriptionsAttribute, setContentTypeJson, setDocumentListAttribute, setMetadataAttributes, setPstAttribute, setStatsAttribute
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, service, service
-
-
-
-
Method Detail
-
doGet
@GET @Produces("application/json; charset=utf-8") public String doGet(@PathParam("Corpus") String corpus, @PathParam("Document") String document, @PathParam("SentenceIdx") Integer sentenceIdx, @PathParam("TokenIdx") Integer tokenIdx, @PathParam("Annotation") String annotation, @PathParam("Subannotation") String subannotation) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
-