Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 972
نمايش فراداده

SSLSessionBindingEventjavax.net.ssl

Java 1.4serializable event

An object of this type is passed to the valueBound( ) and valueUnbound( ) methods of and object that implements SSLSessionBindingListener when that object is bound or unbound in a SSLSession with the putValue( ) or removeValue( ) methods of SSLSession. getName( ) returns the name to which the object was bound or unbound, and getSession( ) returns the SSLSession object in which the binding was created or removed.

Figure 18-14. javax.net.ssl.SSLSessionBindingEvent

public class

SSLSessionBindingEvent extends java.util.EventObject { // Public Constructors public

SSLSessionBindingEvent (SSLSession

session , String

name ); // Public Instance Methods public String

getName ( ); public SSLSession

getSession ( ); }

Passed To

SSLSessionBindingListener.{valueBound( ), valueUnbound( )}