org.apache.avro.ipc.trace
Class StaticServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.mortbay.jetty.servlet.DefaultServlet
              extended by org.apache.avro.ipc.trace.StaticServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig, org.mortbay.resource.ResourceFactory

public class StaticServlet
extends org.mortbay.jetty.servlet.DefaultServlet

Very simple servlet class capable of serving static files.

See Also:
Serialized Form

Constructor Summary
StaticServlet()
           
 
Method Summary
 org.mortbay.resource.Resource getResource(String pathInContext)
           
 
Methods inherited from class org.mortbay.jetty.servlet.DefaultServlet
destroy, doGet, doPost, doTrace, getInitParameter, init, passConditionalHeaders, sendData, sendDirectory, writeHeaders, writeOptionHeaders, writeOptionHeaders
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticServlet

public StaticServlet()
Method Detail

getResource

public org.mortbay.resource.Resource getResource(String pathInContext)
Specified by:
getResource in interface org.mortbay.resource.ResourceFactory
Overrides:
getResource in class org.mortbay.jetty.servlet.DefaultServlet


Copyright © 2010 The Apache Software Foundation