Package lumis.portal.rest
Class RestRootFilter
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.glassfish.jersey.servlet.ServletContainer
-
- lumis.portal.rest.BaseRestServletContainer
-
- lumis.portal.rest.RestRootFilter
-
- All Implemented Interfaces:
Serializable
,Filter
,Servlet
,ServletConfig
,org.glassfish.jersey.server.spi.Container
public class RestRootFilter extends BaseRestServletContainer
Filter that provides access to REST mapped resources based on root path and automatically uses classes in deployed modules properly annotated.- Since:
- 8.0.0
- Version:
- $Revision: 24704 $ $Date: 2021-09-07 01:29:46 -0300 (Tue, 07 Sep 2021) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestRootFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doFilter(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
void
init(FilterConfig filterConfig)
static void
reloadConfigurations()
Reloads the configurations for the REST resources exposed by this Servlet Filter (cluster wide).static void
reloadLocalConfigurations()
Reloads the configurations for the REST resources exposed by this Servlet Filter on this server only.-
Methods inherited from class lumis.portal.rest.BaseRestServletContainer
getRequest, getRespone, service
-
Methods inherited from class org.glassfish.jersey.servlet.ServletContainer
destroy, doFilter, getApplicationHandler, getConfiguration, getServletContext, getStaticContentPattern, getWebComponent, init, init, reload, reload, service, service
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified
-
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, log
-
-
-
-
Method Detail
-
reloadConfigurations
public static void reloadConfigurations()
Reloads the configurations for the REST resources exposed by this Servlet Filter (cluster wide).- Since:
- 8.0.0
-
reloadLocalConfigurations
public static void reloadLocalConfigurations()
Reloads the configurations for the REST resources exposed by this Servlet Filter on this server only.- Since:
- 14.1.0
- See Also:
reloadConfigurations()
-
init
public void init(FilterConfig filterConfig) throws ServletException
- Specified by:
init
in interfaceFilter
- Overrides:
init
in classorg.glassfish.jersey.servlet.ServletContainer
- Throws:
ServletException
-
doFilter
public void doFilter(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException
- Overrides:
doFilter
in classBaseRestServletContainer
- Throws:
IOException
ServletException
-
-