to top
Android APIs
public class

SSLSessionBindingEvent

extends EventObject
java.lang.Object
   ↳ java.util.EventObject
     ↳ javax.net.ssl.SSLSessionBindingEvent

Class Overview

The event sent to an SSLSessionBindingListener when the listener object is bound (putValue(String, Object)) or unbound (removeValue(String)) to an SSLSession.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
SSLSessionBindingEvent(SSLSession session, String name)
Creates a new SSLSessionBindingEvent for the specified session indicating a binding event for the specified name.
Public Methods
String getName()
Returns the name of the binding being added or removed.
SSLSession getSession()
Returns the session to which the binding is added or from which it is removed.
[Expand]
Inherited Methods
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public SSLSessionBindingEvent (SSLSession session, String name)

Since: API Level 1

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.

Public Methods

public String getName ()

Since: API Level 1

Returns the name of the binding being added or removed.

Returns
  • the name of the binding.

public SSLSession getSession ()

Since: API Level 1

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.