Stay organized with collections
Save and categorize content based on your preferences.
SSLSessionBindingListener
interface SSLSessionBindingListener : EventListener
This interface is implemented by objects which want to know when they are being bound or unbound from a SSLSession. When either event occurs via SSLSession.putValue(String, Object)
or SSLSession.removeValue(String)
, the event is communicated through a SSLSessionBindingEvent identifying the session.
Summary
Public methods |
abstract Unit |
This is called to notify the listener that it is being bound into an SSLSession.
|
abstract Unit |
This is called to notify the listener that it is being unbound from a SSLSession.
|
Public methods
valueBound
abstract fun valueBound(event: SSLSessionBindingEvent!): Unit
This is called to notify the listener that it is being bound into an SSLSession.
Parameters |
event |
SSLSessionBindingEvent!: the event identifying the SSLSession into which the listener is being bound. |
valueUnbound
abstract fun valueUnbound(event: SSLSessionBindingEvent!): Unit
This is called to notify the listener that it is being unbound from a SSLSession.
Parameters |
event |
SSLSessionBindingEvent!: the event identifying the SSLSession from which the listener is being unbound. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# SSLSessionBindingListener\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nSSLSessionBindingListener\n=========================\n\n```\ninterface SSLSessionBindingListener : EventListener\n```\n\n|----------------------------------------------|\n| [javax.net.ssl.SSLSessionBindingListener](#) |\n\nThis interface is implemented by objects which want to know when they are being bound or unbound from a SSLSession. When either event occurs via [SSLSession.putValue(String, Object)](/reference/kotlin/javax/net/ssl/SSLSession#putValue(kotlin.String,%20kotlin.Any)) or [SSLSession.removeValue(String)](/reference/kotlin/javax/net/ssl/SSLSession#removeValue(kotlin.String)), the event is communicated through a SSLSessionBindingEvent identifying the session.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [valueBound](#valueBound(javax.net.ssl.SSLSessionBindingEvent))`(`event:` `[SSLSessionBindingEvent](/reference/kotlin/javax/net/ssl/SSLSessionBindingEvent)!`)` This is called to notify the listener that it is being bound into an SSLSession. |\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [valueUnbound](#valueUnbound(javax.net.ssl.SSLSessionBindingEvent))`(`event:` `[SSLSessionBindingEvent](/reference/kotlin/javax/net/ssl/SSLSessionBindingEvent)!`)` This is called to notify the listener that it is being unbound from a SSLSession. |\n\nPublic methods\n--------------\n\n### valueBound\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun valueBound(event: SSLSessionBindingEvent!): Unit\n```\n\nThis is called to notify the listener that it is being bound into an SSLSession.\n\n| Parameters ||\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `event` | [SSLSessionBindingEvent](/reference/kotlin/javax/net/ssl/SSLSessionBindingEvent)!: the event identifying the SSLSession into which the listener is being bound. |\n\n### valueUnbound\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun valueUnbound(event: SSLSessionBindingEvent!): Unit\n```\n\nThis is called to notify the listener that it is being unbound from a SSLSession.\n\n| Parameters ||\n|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `event` | [SSLSessionBindingEvent](/reference/kotlin/javax/net/ssl/SSLSessionBindingEvent)!: the event identifying the SSLSession from which the listener is being unbound. |"]]