public class ReloadingJerseyServlet extends com.sun.jersey.spi.container.servlet.ServletContainer implements Reloadable
Use it as the webengine servlet in web.xml if you want hot reload, otherwise
use ServletContainer.
| Constructor and Description |
|---|
ReloadingJerseyServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
init() |
void |
reloadIfNeeded() |
void |
service(HttpServletRequest request,
HttpServletResponse response) |
doFilter, doFilter, getServletContext, getStaticContentPattern, init, load, reload, serviceservicegetInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, logequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreloadpublic void init()
throws ServletException
init in class com.sun.jersey.spi.container.servlet.ServletContainerServletExceptionpublic void destroy()
public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
service in class com.sun.jersey.spi.container.servlet.ServletContainerServletExceptionIOExceptionpublic void reloadIfNeeded()
Copyright © 2013 Nuxeo SA. All Rights Reserved.