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 anSSLSessionBindingListenerwhen the listener object is bound (SSLSession.putValue(String, Object)) or unbound (SSLSession.removeValue(String)) to anSSLSession.- 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
All Methods Instance Methods Concrete Methods 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 Detail
-
SSLSessionBindingEvent
public SSLSessionBindingEvent(SSLSession session, String name)
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 Detail
-
getName
public String getName()
Returns the name of the binding being added or removed.- Returns:
- the name of the binding.
-
getSession
public SSLSession 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.
-
-