Package prompto.server
Class WebSiteServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- prompto.server.CleverServlet
-
- prompto.server.ResourceServlet
-
- prompto.server.WebSiteServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class WebSiteServlet extends ResourceServlet
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class prompto.server.CleverServlet
CURRENT_REQUEST, CURRENT_RESPONSE, REGISTERED_ORIGINS
-
-
Constructor Summary
Constructors Constructor Description WebSiteServlet(String root, String welcomePage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.jetty.util.resource.ResourcegetResource(javax.servlet.http.HttpServletRequest request, String path)-
Methods inherited from class prompto.server.ResourceServlet
getResource, init, service, writeHeaders
-
Methods inherited from class prompto.server.CleverServlet
getServletName, readPartsAsBytes, readPartsAsObjects, setHolder, setMultipartConfig, writeJSONError, writeJsonResponseError, writeJSONResult
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Constructor Detail
-
WebSiteServlet
public WebSiteServlet(String root, String welcomePage) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getResource
protected org.eclipse.jetty.util.resource.Resource getResource(javax.servlet.http.HttpServletRequest request, String path)- Specified by:
getResourcein classResourceServlet
-
-