javax.net.ssl
Class SSLSessionBindingEvent
java.lang.Object
|
+--java.util.EventObject
|
+--javax.net.ssl.SSLSessionBindingEvent
- public class SSLSessionBindingEvent
- extends EventObject
This event is communicated to a SSLSessionBindingListener whenever such
a listener is bound to or unbound from a SSLSession value. The event's
source is the SSLSession to which the listener is being bound, or from
which the listener is being unbound.
- See Also:
SSLSession,
SSLSessionBindingListener, Serialized Form
|
Method Summary |
String |
getName()
Returns the name to which the object is being bound, or the name
from which the object is being unbound. |
SSLSession |
getSession()
Returns the SSLSession into which the listener is being bound or
from which the listener is being unbound. |
SSLSessionBindingEvent
public SSLSessionBindingEvent(SSLSession session,
String name)
- Constructs a new SSLSessionBindingEvent
- Parameters:
session - the SSLSession acting as the source of the event
getName
public String getName()
- Returns the name to which the object is being bound, or the name
from which the object is being unbound.
getSession
public SSLSession getSession()
- Returns the SSLSession into which the listener is being bound or
from which the listener is being unbound.