Class StaticFileServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
ch.tocco.nice2.web.core.spi.servlet.StaticFileServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
- Direct Known Subclasses:
DevconFileServlet
,NewClientFileServlet
,WidgetShowcaseFileServlet
public abstract class StaticFileServlet
extends jakarta.servlet.http.HttpServlet
Serves a static file.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doGet
(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) protected String
protected String
processFileContent
(InputStreamReader reader) Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, service
-
Field Details
-
Constructor Details
-
Method Details
-
getContentType
-
doGet
public void doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws IOException - Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Throws:
IOException
-
processFileContent
- Throws:
IOException
-