@ManagedObject(value="The container of HTTP/2 sessions") public static class AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainer extends java.lang.Object implements Connection.Listener, Dumpable
Connection.Listener.Adapter
Constructor and Description |
---|
HTTP2SessionContainer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dump() |
void |
dump(java.lang.Appendable out,
java.lang.String indent)
Dump this object (and children) into an Appendable using the provided indent after any new lines.
|
java.util.Set<Session> |
getSessions() |
int |
getSize() |
void |
onClosed(Connection connection) |
void |
onOpened(Connection connection) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dump, dumpObject, dumpObjects, dumpSelf
public void onOpened(Connection connection)
onOpened
in interface Connection.Listener
public void onClosed(Connection connection)
onClosed
in interface Connection.Listener
public java.util.Set<Session> getSessions()
@ManagedAttribute(value="The number of HTTP/2 sessions", readonly=true) public int getSize()
public void dump(java.lang.Appendable out, java.lang.String indent) throws java.io.IOException
Dumpable
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1995–2023 Webtide. All rights reserved.