@IbisInitializer public class ApiListenerServlet extends HttpServletBase
DynamicRegistration.Servlet, DynamicRegistration.ServletWithParameters
Modifier and Type | Field and Description |
---|---|
static String |
AUTHENTICATION_COOKIE_NAME |
ALL_IBIS_ROLES, ALL_IBIS_USER_ROLES, IBIS_FULL_SERVICE_ACCESS_ROLES
Constructor and Description |
---|
ApiListenerServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
String |
getUrlMapping()
The URL the
Servlet should be mapped to. |
void |
init() |
void |
returnJson(javax.servlet.http.HttpServletResponse response,
int status,
jakarta.json.JsonObject json) |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
getAccessGrantingRoles, getName
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEnabled
loadOnStartUp
public static final String AUTHENTICATION_COOKIE_NAME
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public void returnJson(javax.servlet.http.HttpServletResponse response, int status, jakarta.json.JsonObject json) throws IOException
IOException
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 toCopyright © 2023 Frank!Framework. All rights reserved.