@NonNullApi @NonNullFields public class TimedHandler extends org.eclipse.jetty.server.handler.HandlerWrapper implements org.eclipse.jetty.util.component.Graceful
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandler
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
org.eclipse.jetty.util.component.Graceful.Shutdown
org.eclipse.jetty.util.component.LifeCycle.Listener
Constructor and Description |
---|
TimedHandler(MeterRegistry registry,
java.lang.Iterable<Tag> tags) |
TimedHandler(MeterRegistry registry,
java.lang.Iterable<Tag> tags,
HttpServletRequestTagsProvider tagsProvider) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
void |
handle(java.lang.String path,
org.eclipse.jetty.server.Request baseRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
isShutdown() |
java.util.concurrent.Future<java.lang.Void> |
shutdown() |
destroy, expandChildren, getHandler, getHandlers, insertHandler, setHandler
doShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServer
addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stop
public TimedHandler(MeterRegistry registry, java.lang.Iterable<Tag> tags)
public TimedHandler(MeterRegistry registry, java.lang.Iterable<Tag> tags, HttpServletRequestTagsProvider tagsProvider)
public void handle(java.lang.String path, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
handle
in interface org.eclipse.jetty.server.Handler
handle
in class org.eclipse.jetty.server.handler.HandlerWrapper
java.io.IOException
javax.servlet.ServletException
protected void doStart() throws java.lang.Exception
doStart
in class org.eclipse.jetty.server.handler.AbstractHandler
java.lang.Exception
protected void doStop() throws java.lang.Exception
doStop
in class org.eclipse.jetty.server.handler.AbstractHandler
java.lang.Exception
public java.util.concurrent.Future<java.lang.Void> shutdown()
shutdown
in interface org.eclipse.jetty.util.component.Graceful
public boolean isShutdown()
isShutdown
in interface org.eclipse.jetty.util.component.Graceful