Package org.apache.avro.ipc.jetty
Class StaticServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclipse.jetty.servlet.DefaultServlet
org.apache.avro.ipc.jetty.StaticServlet
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
,org.eclipse.jetty.server.ResourceService.WelcomeFactory
,org.eclipse.jetty.util.resource.ResourceFactory
public class StaticServlet
extends org.eclipse.jetty.servlet.DefaultServlet
Very simple servlet class capable of serving static files.
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.jetty.servlet.DefaultServlet
CONTEXT_INIT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jetty.util.resource.Resource
getResource
(String pathInContext) Methods inherited from class org.eclipse.jetty.servlet.DefaultServlet
destroy, doGet, doHead, doOptions, doPost, doTrace, getInitParameter, getWelcomeFile, init, initContextHandler
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doPut, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
StaticServlet
public StaticServlet()
-
-
Method Details
-
getResource
- Specified by:
getResource
in interfaceorg.eclipse.jetty.util.resource.ResourceFactory
- Overrides:
getResource
in classorg.eclipse.jetty.servlet.DefaultServlet
-