Package org.frankframework.lifecycle
Class WebContentServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.frankframework.http.HttpServletBase
org.frankframework.lifecycle.WebContentServlet
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
,DynamicRegistration
,DynamicRegistration.Servlet
This servlet allows the use of WebContent served from
Configurations
.
The configuration must have a folder called webcontent
for this to work. The Configuration
may consist of adapters and webcontent or standalone webcontent. This works for all ClassLoaders
.
Just like other servlets
this servlet may be configured through the ServletManager
.- Author:
- Niels Meijer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.frankframework.lifecycle.DynamicRegistration
DynamicRegistration.Servlet, DynamicRegistration.ServletWithParameters
-
Field Summary
Fields inherited from interface org.frankframework.lifecycle.DynamicRegistration
ALL_IBIS_ROLES, ALL_IBIS_USER_ROLES, IBIS_FULL_SERVICE_ACCESS_ROLES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doGet
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) String[]
protected long
getLastModified
(javax.servlet.http.HttpServletRequest req) void
init()
Methods inherited from class org.frankframework.http.HttpServletBase
getName
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.lifecycle.DynamicRegistration
loadOnStartUp
Methods inherited from interface org.frankframework.lifecycle.DynamicRegistration.Servlet
isEnabled
Methods inherited from interface javax.servlet.Servlet
destroy, getServletConfig, getServletInfo, init, service
-
Constructor Details
-
WebContentServlet
public WebContentServlet()
-
-
Method Details
-
init
public void init() throws javax.servlet.ServletException- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException - Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
IOException
-
getLastModified
protected long getLastModified(javax.servlet.http.HttpServletRequest req) - Overrides:
getLastModified
in classjavax.servlet.http.HttpServlet
-
getUrlMapping
-
getAccessGrantingRoles
- Specified by:
getAccessGrantingRoles
in interfaceDynamicRegistration.Servlet
- Overrides:
getAccessGrantingRoles
in classHttpServletBase
-