com.caucho.xtpdoc
Class ResinDocServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.caucho.xtpdoc.ResinDocServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class ResinDocServlet
extends HttpServlet

See Also:
Serialized Form

Constructor Summary
ResinDocServlet()
           
 
Method Summary
 void init(ServletConfig config)
          Initialize the servlet.
 void service(HttpServletRequest request, HttpServletResponse response)
          Services a HTTP request.
 void setDocContextPath(java.lang.String contextPath)
           
 void setDocumentEncoding(java.lang.String encoding)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResinDocServlet

public ResinDocServlet()
Method Detail

setDocumentEncoding

public void setDocumentEncoding(java.lang.String encoding)

setDocContextPath

public void setDocContextPath(java.lang.String contextPath)

init

public void init(ServletConfig config)
          throws ServletException
Description copied from class: GenericServlet
Initialize the servlet. Most servlets should override the zero parameter init() instead.

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Parameters:
config - the servlet's configuration
Throws:
ServletException

service

public void service(HttpServletRequest request,
                    HttpServletResponse response)
             throws ServletException,
                    java.io.IOException
Description copied from class: HttpServlet
Services a HTTP request. Automatically dispatches based on the request method and handles "If-Modified-Since" headers. Normally not overridden.

Overrides:
service in class HttpServlet
Parameters:
request - request information
response - response object for returning data to the client.
Throws:
ServletException
java.io.IOException