@IbisInitializer public class RestListenerServlet extends HttpServletBase
DynamicRegistration.Servlet, DynamicRegistration.ServletWithParameters
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
log |
ALL_IBIS_ROLES, ALL_IBIS_USER_ROLES, IBIS_FULL_SERVICE_ACCESS_ROLES
Constructor and Description |
---|
RestListenerServlet() |
Modifier and Type | Method and Description |
---|---|
String[] |
getAccessGrantingRoles()
The default authorization roles giving access to the
Servlet , or null to disable. |
String |
getUrlMapping()
The URL the
Servlet should be mapped to. |
void |
init() |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
getName
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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 service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
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.