@IbisInitializer public class HttpListenerServlet extends HttpServletBase
DynamicRegistration.Servlet, DynamicRegistration.ServletWithParameters
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
log |
String |
MESSAGE_PARAM |
String |
SERVICE_ID_PARAM |
ALL_IBIS_ROLES, ALL_IBIS_USER_ROLES, IBIS_FULL_SERVICE_ACCESS_ROLES
Constructor and Description |
---|
HttpListenerServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
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() |
void |
invoke(Message message,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
getName
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, 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
protected org.apache.logging.log4j.Logger log
public final String SERVICE_ID_PARAM
public final String MESSAGE_PARAM
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void invoke(Message message, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
IOException
javax.servlet.ServletException
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
doPost
in class javax.servlet.http.HttpServlet
IOException
javax.servlet.ServletException
public 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
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 toCopyright © 2023 Frank!Framework. All rights reserved.