public abstract class SecureCacheResponse extends CacheResponse
Constructor and Description |
---|
SecureCacheResponse() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getCipherSuite()
返回用于检索网络资源的原始连接上的密码套件。
|
abstract List<Certificate> |
getLocalCertificateChain()
返回的证书链是原始连接,获取网络资源的握手过程中发送到服务器。
|
abstract Principal |
getLocalPrincipal()
返回主,是在原有的连接,获取网络资源的握手过程中发送到服务器。
|
abstract Principal |
getPeerPrincipal()
返回在已检索到网络资源的原始连接期间建立的服务器的一部分,该服务器的主体是定义会话的一部分。
|
abstract List<Certificate> |
getServerCertificateChain()
返回服务器的证书链,该链是在从缓存中检索网络资源的原始连接中定义会话的一部分而建立的。
|
getBody, getHeaders
public abstract String getCipherSuite()
public abstract List<Certificate> getLocalCertificateChain()
getLocalPrincipal()
public abstract List<Certificate> getServerCertificateChain() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException
如果同伴未验证。
getPeerPrincipal()
public abstract Principal getPeerPrincipal() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException
如果同伴没有验证。
getServerCertificateChain()
,
getLocalPrincipal()
public abstract Principal getLocalPrincipal()
getLocalCertificateChain()
,
getPeerPrincipal()
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.