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: 24388 $ $Date: 2021-03-03 14:12:13 -0300 (Wed, 03 Mar 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 (cluster wide).-
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 (cluster wide).- Since:
- 8.0.0
-
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
-
-