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, service
service
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, log
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reload
public void init() throws ServletException
init
in class com.sun.jersey.spi.container.servlet.ServletContainer
ServletException
public void destroy()
public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
service
in class com.sun.jersey.spi.container.servlet.ServletContainer
ServletException
IOException
public void reloadIfNeeded()
Copyright © 2013 Nuxeo SA. All Rights Reserved.