APIdia Launch Partner
Top Description Fields Constructors Methods
javax.net.ssl

public Class SSLSessionBindingEvent

extends EventObject
Class Inheritance
Imports
java.util.EventObject

This event is propagated to a SSLSessionBindingListener. When a listener object is bound or unbound to an SSLSession by SSLSession#putValue(String, Object) or SSLSession#removeValue(String), objects which implement the SSLSessionBindingListener will receive an event of this type. The event's name field is the key in which the listener is being bound or unbound.
Authors
Nathan Abramson, David Brownell
Since
1.4
See Also
SSLSession, SSLSessionBindingListener

Field Summary

Modifier and TypeField and Description
private final String
private static final long
Inherited from java.util.EventObject:
source

Constructor Summary

AccessConstructor and Description
public
SSLSessionBindingEvent(SSLSession
the SSLSession acting as the source of the event
session
,
String
the name to which the object is being bound or unbound
name
)

Constructs a new SSLSessionBindingEvent.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the name to which the object is being bound or unbound
getName
()

Returns the name to which the object is being bound, or the name from which the object is being unbound.

public SSLSession

Returns:

the SSLSession
getSession
()

Returns the SSLSession into which the listener is being bound or from which the listener is being unbound.

Inherited from java.util.EventObject:
getSourcetoString

Field Detail

nameback to summary
private final String name
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.EventObject.serialVersionUID.

Annotations
@Serial

Constructor Detail

SSLSessionBindingEventback to summary
public SSLSessionBindingEvent(SSLSession session, String name)

Constructs a new SSLSessionBindingEvent.

Parameters
session:SSLSession

the SSLSession acting as the source of the event

name:String

the name to which the object is being bound or unbound

Exceptions
IllegalArgumentException:
if session is null.

Method Detail

getNameback to summary
public String getName()

Returns the name to which the object is being bound, or the name from which the object is being unbound.

Returns:String

the name to which the object is being bound or unbound

getSessionback to summary
public SSLSession getSession()

Returns the SSLSession into which the listener is being bound or from which the listener is being unbound.

Returns:SSLSession

the SSLSession