org.apache.myfaces.tobago.servlet
Class ResourceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.myfaces.tobago.servlet.ResourceServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class ResourceServlet
extends HttpServlet

 <servlet>
   <servlet-name>ResourceServlet</servlet-name>
   <servlet-class>org.apache.myfaces.tobago.servlet.ResourceServlet</servlet-class>
   <init-param>
     <description>The value for the expires header in seconds.
            Default is no expires header.</description>
     <param-name>expires</param-name>
     <param-value>14400</param-value>
   </init-param>
 </servlet>
 <servlet-mapping>
   <servlet-name>ResourceServlet</servlet-name>
   <url-pattern>/org/apache/myfaces/tobago/renderkit/*</url-pattern>
 </servlet-mapping>
 

Since:
1.0.7
See Also:
Serialized Form

Constructor Summary
ResourceServlet()
           
 
Method Summary
 void init(ServletConfig servletConfig)
           
protected  void service(HttpServletRequest request, HttpServletResponse response)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceServlet

public ResourceServlet()
Method Detail

init

public void init(ServletConfig servletConfig)
          throws ServletException
Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

service

protected void service(HttpServletRequest request,
                       HttpServletResponse response)
                throws ServletException,
                       java.io.IOException
Overrides:
service in class HttpServlet
Throws:
ServletException
java.io.IOException


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.