Package org.eclipse.jetty.util.component
Interface Dumpable
-
- All Known Subinterfaces:
Dumpable.DumpableContainer
- All Known Implementing Classes:
AbstractConnectionFactory
,AbstractConnectionPool
,AbstractConnector
,AbstractConnectorHttpClientTransport
,AbstractHandler
,AbstractHandler.ErrorDispatchHandler
,AbstractHandlerContainer
,AbstractHttpClientTransport
,AbstractLoginService
,AbstractNCSARequestLog
,AbstractNetworkConnector
,AbstractSessionCache
,AbstractSessionDataStore
,ArrayByteBufferPool
,AsyncDelayHandler
,AsyncNCSARequestLog
,AttributeContainerMap
,AttributesMap
,BaseHolder
,BufferedResponseHandler
,CachingSessionDataStore
,ClassLoaderDump
,ConfigurableSpnegoLoginService
,ConnectionStatistics
,ConnectionStatistics.Stats
,ConnectorStatistics
,ConstraintSecurityHandler
,ContainerLifeCycle
,ContextHandler
,ContextHandler.Context
,ContextHandler.StaticContext
,ContextHandlerCollection
,CustomRequestLog
,DebugHandler
,DefaultHandler
,DefaultSessionCache
,DefaultSessionIdManager
,DetectorConnectionFactory
,DumpableCollection
,DuplexConnectionPool
,ErrorHandler
,ErrorPageErrorHandler
,ExecutorSizedThreadPool
,ExecutorThreadPool
,FileBufferedResponseHandler
,FileSessionDataStore
,FilterHolder
,FilterMapping
,GzipHandler
,HandlerCollection
,HandlerList
,HandlerWrapper
,HashLoginService
,Holder
,HotSwapHandler
,HttpClient
,HttpClientTransportOverHTTP
,HttpConfiguration
,HttpConnectionFactory
,HttpConversation
,HttpDestination
,HttpDestinationOverHTTP
,IdleTimeoutHandler
,IncludeExcludeConnectionStatistics
,InetAccessHandler
,IPAccessHandler
,JDBCLoginService
,JDBCSessionDataStore
,KeyStoreScanner
,LeakTrackingByteBufferPool
,LeakTrackingConnectionPool
,ListenerHolder
,LocalConnector
,LogarithmicArrayByteBufferPool
,LowResourceMonitor
,ManagedSelector
,MappedByteBufferPool
,MappedByteBufferPool.Tagged
,MonitoredQueuedThreadPool
,MovedContextHandler
,MultiplexConnectionPool
,MultiplexHttpDestination
,NCSARequestLog
,NegotiatingServerConnectionFactory
,NetworkTrafficServerConnector
,NullSessionCache
,NullSessionDataStore
,OptionalSslConnectionFactory
,PathMappings
,Pool
,PoolingHttpDestination
,ProtocolHandlers
,ProxyConnectionFactory
,ProxyConnectionFactory.ProxyEndPoint
,QueuedThreadPool
,RandomConnectionPool
,RequestLogHandler
,ReservedThreadExecutor
,ResourceHandler
,RoundRobinConnectionPool
,ScheduledExecutorScheduler
,ScopedHandler
,SecuredRedirectHandler
,SecurityHandler
,SelectorManager
,Server
,ServerConnectionStatistics
,ServerConnector
,ServletContextHandler
,ServletContextHandler.Context
,ServletHandler
,ServletHolder
,SessionHandler
,ShutdownHandler
,SizeLimitHandler
,Slf4jRequestLog
,SslConnectionFactory
,SslContextFactory
,SslContextFactory.Client
,SslContextFactory.Server
,StatisticsHandler
,ThreadLimitHandler
,ValidatingConnectionPool
@ManagedObject("Dumpable Object") @Deprecated(since="2021-05-27") public interface Dumpable
Deprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Dumpable.DumpableContainer
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEY
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.lang.String
dump()
Deprecated.void
dump(java.lang.Appendable out, java.lang.String indent)
Deprecated.Dump this object (and children) into an Appendable using the provided indent after any new lines.static java.lang.String
dump(Dumpable dumpable)
Deprecated.Utility method to implementdump()
by callingdump(Appendable, String)
static void
dumpContainer(java.lang.Appendable out, java.lang.String indent, Container object, boolean last)
Deprecated.static void
dumpIterable(java.lang.Appendable out, java.lang.String indent, java.lang.Iterable<?> iterable, boolean last)
Deprecated.static void
dumpMapEntries(java.lang.Appendable out, java.lang.String indent, java.util.Map<?,?> map, boolean last)
Deprecated.static void
dumpObject(java.lang.Appendable out, java.lang.Object o)
Deprecated.Dump just an Object (but not it's contained items) to an Appendable.static void
dumpObjects(java.lang.Appendable out, java.lang.String indent, java.lang.Object object, java.lang.Object... extraChildren)
Deprecated.Dump an Object, it's contained items and additional items to anAppendable
.default java.lang.String
dumpSelf()
Deprecated.The description of this/self found in the dump.static Dumpable
named(java.lang.String name, java.lang.Object object)
Deprecated.
-
-
-
Field Detail
-
KEY
static final java.lang.String KEY
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
dump
@ManagedOperation(value="Dump the nested Object state as a String", impact="INFO") default java.lang.String dump()
Deprecated.
-
dump
void dump(java.lang.Appendable out, java.lang.String indent) throws java.io.IOException
Deprecated.Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.- Parameters:
out
- The appendable to dump toindent
- The indent to apply after any new lines.- Throws:
java.io.IOException
- if unable to write to Appendable
-
dump
static java.lang.String dump(Dumpable dumpable)
Deprecated.Utility method to implementdump()
by callingdump(Appendable, String)
- Parameters:
dumpable
- The dumpable to dump- Returns:
- The dumped string
-
dumpSelf
default java.lang.String dumpSelf()
Deprecated.The description of this/self found in the dump. Allows for alternative representation of Object other then .toString() where the long form output of toString() is represented in a cleaner way within the dump infrastructure.- Returns:
- the representation of self
-
dumpObject
static void dumpObject(java.lang.Appendable out, java.lang.Object o) throws java.io.IOException
Deprecated.Dump just an Object (but not it's contained items) to an Appendable.- Parameters:
out
- The Appendable to dump too
- The object to dump.- Throws:
java.io.IOException
- May be thrown by the Appendable
-
dumpObjects
static void dumpObjects(java.lang.Appendable out, java.lang.String indent, java.lang.Object object, java.lang.Object... extraChildren) throws java.io.IOException
Deprecated.Dump an Object, it's contained items and additional items to anAppendable
. If the object in anIterable
or anArray
, then its contained items are also dumped.- Parameters:
out
- the Appendable to dump toindent
- The indent to apply after any new linesobject
- The object to dump. If the object is an instance ofContainer
,Stream
,Iterable
,Array
orMap
, then children of the object a recursively dumped.extraChildren
- Items to be dumped as children of the object, in addition to any discovered children of object- Throws:
java.io.IOException
- May be thrown by the Appendable
-
dumpContainer
static void dumpContainer(java.lang.Appendable out, java.lang.String indent, Container object, boolean last) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
dumpIterable
static void dumpIterable(java.lang.Appendable out, java.lang.String indent, java.lang.Iterable<?> iterable, boolean last) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
dumpMapEntries
static void dumpMapEntries(java.lang.Appendable out, java.lang.String indent, java.util.Map<?,?> map, boolean last) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
named
static Dumpable named(java.lang.String name, java.lang.Object object)
Deprecated.
-
-