- java.lang.Object
-
- java.util.EventObject
-
- javax.net.ssl.SSLSessionBindingEvent
-
- All Implemented Interfaces:
- Serializable
public class SSLSessionBindingEvent extends EventObject
This event is propagated to a SSLSessionBindingListener. When a listener object is bound or unbound to an SSLSession bySSLSession.putValue(String, Object)
orSSLSession.removeValue(String)
, objects which implement the SSLSessionBindingListener will be receive an event of this type. The event'sname
field is the key in which the listener is being bound or unbound.- Since:
- 1.4
- See Also:
SSLSession
,SSLSessionBindingListener
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor and Description SSLSessionBindingEvent(SSLSession session, String name)
Constructs a new SSLSessionBindingEvent.
-
Method Summary
Methods Modifier and Type Method and Description String
getName()
Returns the name to which the object is being bound, or the name from which the object is being unbound.SSLSession
getSession()
Returns the SSLSession into which the listener is being bound or from which the listener is being unbound.
-
-
-
Constructor Detail
-
SSLSessionBindingEvent
public SSLSessionBindingEvent(SSLSession session, String name)
Constructs a new SSLSessionBindingEvent.- Parameters:
session
- the SSLSession acting as the source of the eventname
- the name to which the object is being bound or unbound- Throws:
IllegalArgumentException
- ifsession
is null.
-
-
Method Detail
-
getName
public String getName()
Returns the name to which the object is being bound, or the name from which the object is being unbound.- Returns:
- the name to which the object is being bound or unbound
-
getSession
public SSLSession getSession()
Returns the SSLSession into which the listener is being bound or from which the listener is being unbound.- Returns:
- the
SSLSession
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/net/ssl/SSLSessionBindingEvent.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.