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
  • Constructor Details

    • SSLSessionBindingEvent

      public SSLSessionBindingEvent​(SSLSession session, String name)
      Creates a new SSLSessionBindingEvent for 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

      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.