com.dyuproject.web
Class DevScriptServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.dyuproject.web.DevScriptServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public final class DevScriptServlet
- extends HttpServlet
A utility servlet that serves a javascript file that is external from the webapp.
Refreshes the content-served when content changes.
- Author:
- David Yu
- See Also:
- Serialized Form
- Date created:
- Feb 14, 2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENT_TYPE
public static final String CONTENT_TYPE
- See Also:
- Constant Field Values
DevScriptServlet
public DevScriptServlet()
init
public void init()
throws ServletException
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
getScript
public byte[] getScript()
service
public void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
service
in class HttpServlet
- Throws:
ServletException
IOException
Copyright © 2008-2013. All Rights Reserved.