Package javax.net.ssl
Class SSLSessionBindingEvent
java.lang.Object
java.util.EventObject
javax.net.ssl.SSLSessionBindingEvent
- All Implemented Interfaces:
Serializable
public class SSLSessionBindingEvent extends EventObject
The event sent to an
SSLSessionBindingListener when the listener
object is bound (SSLSession.putValue(String, Object)) or unbound
(SSLSession.removeValue(String)) to an SSLSession.- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors Constructor Description SSLSessionBindingEvent(SSLSession session, String name)Creates a newSSLSessionBindingEventfor the specified session indicating a binding event for the specified name. -
Method Summary
Modifier and Type Method Description StringgetName()Returns the name of the binding being added or removed.SSLSessiongetSession()Returns the session to which the binding is added or from which it is removed.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
SSLSessionBindingEvent
Creates a newSSLSessionBindingEventfor the specified session indicating a binding event for the specified name.- Parameters:
session- the session for which the event occurs.name- the name of the object being (un)bound.
-
-
Method Details
-
getName
Returns the name of the binding being added or removed.- Returns:
- the name of the binding.
-
getSession
Returns the session to which the binding is added or from which it is removed.- Returns:
- the session to which the binding is added or from which it is removed.
-