Stay organized with collections
Save and categorize content based on your preferences.
SSLSessionBindingListener
public
interface
SSLSessionBindingListener
implements
EventListener
javax.net.ssl.SSLSessionBindingListener
|
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
valueBound
public abstract void valueBound (SSLSessionBindingEvent event)
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
public abstract void valueUnbound (SSLSessionBindingEvent event)
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](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nSSLSessionBindingListener\n=========================\n\n\n`\npublic\n\n\ninterface\nSSLSessionBindingListener\n`\n\n\n`\n\n\nimplements\n\n`[EventListener](/reference/java/util/EventListener)`\n\n\n`\n\n|-----------------------------------------|\n| javax.net.ssl.SSLSessionBindingListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThis interface is implemented by objects which want to know when\nthey are being bound or unbound from a SSLSession. When either event\noccurs via [SSLSession.putValue(String, Object)](/reference/javax/net/ssl/SSLSession#putValue(java.lang.String,%20java.lang.Object))\nor [SSLSession.removeValue(String)](/reference/javax/net/ssl/SSLSession#removeValue(java.lang.String)), the event is communicated\nthrough a SSLSessionBindingEvent identifying the session. \n**See also:**\n\n- [SSLSession](/reference/javax/net/ssl/SSLSession)\n- [SSLSessionBindingEvent](/reference/javax/net/ssl/SSLSessionBindingEvent)\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[valueBound](/reference/javax/net/ssl/SSLSessionBindingListener#valueBound(javax.net.ssl.SSLSessionBindingEvent))`(`[SSLSessionBindingEvent](/reference/javax/net/ssl/SSLSessionBindingEvent)` event) ` This is called to notify the listener that it is being bound into an SSLSession. |\n| ` abstract void` | ` `[valueUnbound](/reference/javax/net/ssl/SSLSessionBindingListener#valueUnbound(javax.net.ssl.SSLSessionBindingEvent))`(`[SSLSessionBindingEvent](/reference/javax/net/ssl/SSLSessionBindingEvent)` event) ` 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](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void valueBound (SSLSessionBindingEvent event)\n```\n\nThis is called to notify the listener that it is being bound into\nan SSLSession.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|---------------------------------------------------------------------------------------------------------------|\n| `event` | `SSLSessionBindingEvent`: the event identifying the SSLSession into which the listener is being bound. \u003cbr /\u003e |\n\n### valueUnbound\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void valueUnbound (SSLSessionBindingEvent event)\n```\n\nThis is called to notify the listener that it is being unbound\nfrom a SSLSession.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|-----------------------------------------------------------------------------------------------------------------|\n| `event` | `SSLSessionBindingEvent`: the event identifying the SSLSession from which the listener is being unbound. \u003cbr /\u003e |"]]