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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doFilter, doFilter, getServletContext, getStaticContentPattern, init, load, reload, service
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, log
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reload
public void init() throws javax.servlet.ServletException
init
in class com.sun.jersey.spi.container.servlet.ServletContainer
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
destroy
in interface javax.servlet.Servlet
destroy
in class com.sun.jersey.spi.container.servlet.ServletContainer
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
service
in class com.sun.jersey.spi.container.servlet.ServletContainer
javax.servlet.ServletException
IOException
public void reloadIfNeeded()
Copyright © 2014 Nuxeo SA. All rights reserved.