Package org.frankframework.metrics
Class PrometheusMeterServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.frankframework.http.AbstractHttpServlet
org.frankframework.metrics.PrometheusMeterServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable,DynamicRegistration,DynamicRegistration.Servlet
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.frankframework.lifecycle.DynamicRegistration
DynamicRegistration.Servlet, DynamicRegistration.ServletWithParameters -
Field Summary
FieldsFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEADFields inherited from interface org.frankframework.lifecycle.DynamicRegistration
ALL_IBIS_ROLES, ALL_IBIS_USER_ROLES, IBIS_FULL_SERVICE_ACCESS_ROLES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdetermineContentType(jakarta.servlet.http.HttpServletRequest req) protected voiddoGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) The URL theServletshould be mapped to.voidinit(jakarta.servlet.ServletConfig config) booleanMethods inherited from class org.frankframework.http.AbstractHttpServlet
getAccessGrantingRoles, getNameMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, isSensitiveHeader, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.frankframework.lifecycle.DynamicRegistration
loadOnStartUpMethods inherited from interface jakarta.servlet.Servlet
destroy, getServletConfig, getServletInfo, service
-
Field Details
-
PRIMARY_CONTENT_TYPE
- See Also:
-
FALLBACK_CONTENT_TYPE
- See Also:
-
-
Constructor Details
-
PrometheusMeterServlet
public PrometheusMeterServlet()
-
-
Method Details
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
initin interfacejakarta.servlet.Servlet- Overrides:
initin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletException
-
doGet
protected void doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) - Overrides:
doGetin classjakarta.servlet.http.HttpServlet
-
determineContentType
-
isEnabled
public boolean isEnabled() -
getUrlMapping
Description copied from interface:DynamicRegistration.ServletThe URL theServletshould be mapped to. This value may be overridden by setting propertyservlet.servlet-name.urlMappingto change path the servlet listens to
-