public class AdminEnvironment
extends io.dropwizard.jetty.setup.ServletEnvironment
| Constructor | Description |
|---|---|
AdminEnvironment(io.dropwizard.jetty.MutableServletContextHandler handler,
com.codahale.metrics.health.HealthCheckRegistry healthChecks,
com.codahale.metrics.MetricRegistry metricRegistry) |
Creates a new
AdminEnvironment. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addTask(io.dropwizard.servlets.tasks.Task task) |
Adds the given task to the set of tasks exposed via the admin interface.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFilter, addFilter, addMimeMapping, addServlet, addServlet, addServletListeners, setBaseResource, setBaseResource, setBaseResource, setInitParameter, setProtectedTargets, setResourceBase, setSecurityHandler, setSessionHandlerpublic AdminEnvironment(io.dropwizard.jetty.MutableServletContextHandler handler,
com.codahale.metrics.health.HealthCheckRegistry healthChecks,
com.codahale.metrics.MetricRegistry metricRegistry)
AdminEnvironment.handler - a servlet context handlerhealthChecks - a health check registryCopyright © 2018. All rights reserved.