Class AbstractOOPCacheableServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- io.outofprintmagazine.web.servlets.AbstractOOPServlet
-
- io.outofprintmagazine.web.servlets.AbstractOOPCacheableServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
- Direct Known Subclasses:
AnnotationDescription
,Corpora
,CorpusAnnotationsCVScores
,CorpusAnnotationSubannotationsAggregates
,CorpusAnnotationSubannotationsCVScores
,CorpusBatch
,CorpusDocument
,CorpusDocumentAnnotationsSimilarity
,CorpusDocumentAnnotationSubannotationsAggregates
,CorpusDocumentAnnotationSubannotationsSimilarity
,CorpusDocumentAnnotationSubannotationsTfidf
,CorpusDocumentAnnotationSubannotationsZScores
,CorpusDocumentAnnotationsZScores
,CorpusDocumentOOPAnnotationSubannotation
,CorpusDocumentOOPSentencesIdx
,CorpusDocumentOOPSentencesIdxAnnotation
,CorpusDocumentOOPSentencesIdxAnnotationSubannotation
,CorpusDocumentOOPSentencesIdxTokensIdx
,CorpusDocumentOOPSentencesIdxTokensIdxAnnotation
,CorpusDocumentOOPSentencesIdxTokensIdxAnnotationSubannotation
,CorpusDocumentOOPTokensIdx
,CorpusDocumentOOPTokensIdxAnnotation
,CorpusDocumentOOPTokensIdxAnnotationSubannotation
,CorpusDocumentPIPELINEAnnotationSubannotation
,CorpusDocuments
,CorpusDocumentScores
,CorpusDocumentScoresAnnotation
,CorpusDocumentTXT
,CorpusDocumentWORD2VECLemma
,CorpusDocumentWORD2VECLemmaPOS
,DocumentAnnotation
,DocumentAnnotations
,PstLayout
,Search
,SentencesAnnotationScalar
,SentencesAnnotationScalarText
,SentencesAnnotationSubannotationScalar
,SentencesAnnotationSubannotationScalarText
public abstract class AbstractOOPCacheableServlet extends AbstractOOPServlet
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected long
lastModified
-
Constructor Summary
Constructors Constructor Description AbstractOOPCacheableServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
getLastModified(javax.servlet.http.HttpServletRequest request)
void
init(javax.servlet.ServletConfig config)
protected void
setCacheControl(javax.servlet.http.HttpServletResponse response)
-
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
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Servlet
- Overrides:
init
in classAbstractOOPServlet
- Throws:
javax.servlet.ServletException
-
getLastModified
protected long getLastModified(javax.servlet.http.HttpServletRequest request)
- Overrides:
getLastModified
in classjavax.servlet.http.HttpServlet
-
setCacheControl
protected void setCacheControl(javax.servlet.http.HttpServletResponse response)
-
-