Package org.eclipse.jetty.server
Class DebugListener
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.server.DebugListener
- All Implemented Interfaces:
EventListener,ServletContextListener,LifeCycle
@ManagedObject("Debug Listener")
@Deprecated(since="2021-05-27")
public class DebugListener
extends AbstractLifeCycle
implements ServletContextListener
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
A Context Listener that produces additional debug.
This listener if added to a ContextHandler, will produce additional debug information to
either/or a specific log stream or the standard debug log.
The events produced by
ServletContextListener, ServletRequestListener,
AsyncListener and ContextHandler.ContextScopeListener are logged.-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.DebugListener(boolean renameThread, boolean showHeaders, boolean dumpContext) Deprecated.DebugListener(OutputStream out, boolean renameThread, boolean showHeaders, boolean dumpContext) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Notification that the servlet context is about to be shut down.voidDeprecated.Notification that the web application initialization process is starting.booleanDeprecated.booleanDeprecated.booleanDeprecated.voidsetDumpContext(boolean dumpContext) Deprecated.voidsetRenameThread(boolean renameThread) Deprecated.voidsetShowHeaders(boolean showHeaders) Deprecated.Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
-
Constructor Details
-
DebugListener
public DebugListener()Deprecated. -
DebugListener
public DebugListener(@Name("renameThread") boolean renameThread, @Name("showHeaders") boolean showHeaders, @Name("dumpContext") boolean dumpContext) Deprecated. -
DebugListener
public DebugListener(@Name("outputStream") OutputStream out, @Name("renameThread") boolean renameThread, @Name("showHeaders") boolean showHeaders, @Name("dumpContext") boolean dumpContext) Deprecated.
-
-
Method Details
-
isRenameThread
Deprecated. -
setRenameThread
public void setRenameThread(boolean renameThread) Deprecated. -
isShowHeaders
Deprecated. -
setShowHeaders
public void setShowHeaders(boolean showHeaders) Deprecated. -
isDumpContext
Deprecated. -
setDumpContext
public void setDumpContext(boolean dumpContext) Deprecated. -
contextInitialized
Deprecated.Description copied from interface:ServletContextListenerNotification that the web application initialization process is starting. All ServletContextListeners are notified of context initialization before any filter or servlet in the web application is initialized.- Specified by:
contextInitializedin interfaceServletContextListener- Parameters:
sce- Information about the ServletContext that was initialized
-
contextDestroyed
Deprecated.Description copied from interface:ServletContextListenerNotification that the servlet context is about to be shut down. All servlets and filters have been destroy()ed before any ServletContextListeners are notified of context destruction.- Specified by:
contextDestroyedin interfaceServletContextListener- Parameters:
sce- Information about the ServletContext that was destroyed
-