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
.
APPLICATION_CONFIG_CLASS, FEATURE_ALLOW_RAW_MANAGED_BEANS, FEATURE_FILTER_FORWARD_ON_404, GLASSFISH_DEFAULT_ERROR_PAGE_RESPONSE, JSP_TEMPLATES_BASE_PATH, PROPERTY_FILTER_CONTEXT_PATH, PROPERTY_WEB_PAGE_CONTENT_REGEX, RESOURCE_CONFIG_CLASS
Constructor and Description |
---|
ReloadingJerseyServlet() |
Modifier and Type | Method and Description |
---|---|
void |
reloadIfNeeded() |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
configure, configure, configure, create, destroy, doFilter, doFilter, getDefaultResourceConfig, getDefaultResourceConfig, getServletContext, getStaticContentPattern, getWebConfig, init, init, init, initiate, load, reload, service
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, log
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reload
public ReloadingJerseyServlet()
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 © 2018 Nuxeo. All rights reserved.