@Override public String dump() { return Dumpable.dump(this); }
dumpObject(out,object); ((Dumpable)bean).dump(out,nextIndent); else dumpObjects(out, nextIndent, bean); ((Dumpable)bean).dump(out,nextIndent); else dumpObjects(out, nextIndent, bean); dumpObject(out, bean); dumpObject(out, bean); ((Dumpable)bean).dump(out,nextIndent); else dumpObjects(out, nextIndent, bean); out.append(indent).append("+:"); if (item instanceof Dumpable) ((Dumpable)item).dump(out,nextIndent); else dumpObjects(out,nextIndent, item); Object item = entry.getValue(); if (item instanceof Dumpable) ((Dumpable)item).dump(out,nextIndent); else dumpObjects(out,nextIndent, item);
@Override public void dump(Appendable out, String indent) throws IOException { Thread thread = this.thread; if (thread == null) Dumpable.dumpObject(out, this); else Dumpable.dumpObjects(out,indent,this, (Object[])thread.getStackTrace()); }
/** Dump this object, it's contained beans and additional items to an Appendable * @param out The appendable to dump to * @param indent The indent to apply after any new lines * @param items Additional items to be dumped as contained. * @throws IOException May be thrown by the Appendable */ protected void dumpObjects(Appendable out, String indent, Object... items) throws IOException { Dumpable.dumpObjects(out,indent,this, items); }
/** * @param out The Appendable to dump to * @param obj The object to dump * @throws IOException May be thrown by the Appendable * @deprecated use {@link Dumpable#dumpObject(Appendable, Object)} instead */ @Deprecated public static void dumpObject(Appendable out, Object obj) throws IOException { Dumpable.dumpObject(out, obj); }
@Override public void dump(Appendable out, String indent) throws IOException { Dumpable.dumpObjects(out, indent, this, enabled, disabled); }
@Override public String dump() { return Dumpable.dump(SslSelectionDump.CaptionedList.this); }
@Override public void dump(Appendable out, String indent) throws IOException { Object[] array = _collection.toArray(); Dumpable.dumpObjects(out,indent,_name + " size="+array.length, array); } }
@Override public String dump() { return Dumpable.dump(this); }
@Override public void dump(Appendable out, String indent) throws IOException { String s = thread.getId()+" "+thread.getName()+" "+thread.getState()+" "+thread.getPriority(); if (known.length()==0) Dumpable.dumpObjects(out, indent, s, (Object[])trace); else Dumpable.dumpObjects(out, indent, s); }
@Override public String dump() { return Dumpable.dump(this); }
@Override public void dump(Appendable out, String indent) throws IOException { Object[] array = toArray(); Dumpable.dumpObjects(out, indent, caption + " size="+array.length, array); } }
@Override public String dump() { return Dumpable.dump(this); }
@Override public void dump(Appendable out, String indent) throws IOException { Dumpable.dumpObjects(out,indent,String.format("%s@%x",this.getClass().getSimpleName(),hashCode()),map()); } }
@Override public String dump() { return Dumpable.dump(this); }
@Deprecated public static void dump(Appendable out, String indent, Collection<?>... collections) throws IOException { if (collections.length == 0) return; int size = 0; for (Collection<?> c : collections) size += c.size(); if (size == 0) return; int i = 0; for (Collection<?> c : collections) { for (Object o : c) { i++; out.append(indent).append(" +- "); Dumpable.dumpObjects(out,indent + (i<size ? " | " : " "), o); } } }
/** * @param dumpable the object to dump * @return the string representation of the given Dumpable * @deprecated use {@link Dumpable#dump(Dumpable)} instead */ @Deprecated public static String dump(Dumpable dumpable) { return Dumpable.dump(dumpable); }
@Override public void dump(Appendable out, String indent) throws IOException { try { SSLEngine sslEngine = SSLContext.getDefault().createSSLEngine(); Dumpable.dumpObjects(out, indent, this, "trustAll=" + _trustAll, new SslSelectionDump("Protocol", sslEngine.getSupportedProtocols(), sslEngine.getEnabledProtocols(), getExcludeProtocols(), getIncludeProtocols()), new SslSelectionDump("Cipher Suite", sslEngine.getSupportedCipherSuites(), sslEngine.getEnabledCipherSuites(), getExcludeCipherSuites(), getIncludeCipherSuites())); } catch (NoSuchAlgorithmException ignore) { LOG.ignore(ignore); } }
@Override @ManagedOperation("Dump the object to a string") public String dump() { return Dumpable.dump(this); }
@Override public void dump(Appendable out, String indent) throws IOException { Dumpable.dumpObjects(out, indent, this, handlers); } }