@IbisInitializer public class WebContentServlet extends HttpServletBase
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
.DynamicRegistration.Servlet, DynamicRegistration.ServletWithParameters
ALL_IBIS_ROLES, ALL_IBIS_USER_ROLES, IBIS_FULL_SERVICE_ACCESS_ROLES
Constructor and Description |
---|
WebContentServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
String[] |
getAccessGrantingRoles()
The default authorization roles giving access to the
Servlet , or null to disable. |
protected long |
getLastModified(javax.servlet.http.HttpServletRequest req) |
String |
getUrlMapping()
The URL the
Servlet should be mapped to. |
void |
init() |
getName
doDelete, doHead, doOptions, doPost, doPut, doTrace, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEnabled
loadOnStartUp
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected long getLastModified(javax.servlet.http.HttpServletRequest req)
getLastModified
in class javax.servlet.http.HttpServlet
public String getUrlMapping()
DynamicRegistration.Servlet
Servlet
should be mapped to.
This value may be overridden by setting property servlet.servlet-name.urlMapping
to change path the servlet listens topublic String[] getAccessGrantingRoles()
DynamicRegistration.Servlet
Servlet
, or null
to disable.
This value may be overridden by setting property servlet.servlet-name.securityRoles
to the roles that should be granted access.
see ServletManager for more information.getAccessGrantingRoles
in interface DynamicRegistration.Servlet
getAccessGrantingRoles
in class HttpServletBase
Copyright © 2023 Frank!Framework. All rights reserved.