Name
SSLSessionBindingListener
Synopsis
This
interface
is implemented by an object that want to be notified when it is bound
or unbound in an SSLSession
object. If the object
passed to the putValue( )
method of a
SSLSession
implements this interface, then its
valueBound( )
method will be called by
putValue( )
, and its valueUnbound(
)
method will
be called when that object is removed from the
SSLSession
with removeValue( )
or when it is replaced with a new object by putValue(
)
. The argument to both methods of this interface is a
SSLSessionBindingEvent
, which specifies both the
name to which the object was bound or unbound, and the
SSLSession
within which it was bound or unbound.
Figure 18-15. javax.net.ssl.SSLSessionBindingListener
public interface SSLSessionBindingListener extends java.util.EventListener { // Public Instance Methods void valueBound(SSLSessionBindingEvent event); void valueUnbound(SSLSessionBindingEvent event); }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.