public class SSLSessionBindingEvent extends EventObject
SSLSession.putValue(String, Object)
或
SSLSession.removeValue(String)
一sslsession,实施sslsessionbindinglistener对象将接受这种事情。事件的
name
字段是关键,听众被绑定或取消绑定。
SSLSession
,
SSLSessionBindingListener
,
Serialized Form
source
Constructor and Description |
---|
SSLSessionBindingEvent(SSLSession session, String name)
构建了一种新的sslsessionbindingevent。
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
返回的名称的对象被绑定的名称,或从该对象被绑定。
|
SSLSession |
getSession()
返回sslsession为听者所绑定的听众被绑定。
|
getSource, toString
public SSLSessionBindingEvent(SSLSession session, String name)
session
- sslsession作为事件源的
name
-名称的对象被绑定或取消绑定
IllegalArgumentException
-如果
session
是空的。
public String getName()
public SSLSession getSession()
SSLSession
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.