public abstract class SecureCacheResponse extends CacheResponse
Constructor and Description |
---|
SecureCacheResponse() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getCipherSuite()
Returns the cipher suite in use on the original connection that
retrieved the network resource.
|
abstract List<Certificate> |
getLocalCertificateChain()
Returns the certificate chain that were sent to the server during
handshaking of the original connection that retrieved the
network resource.
|
abstract Principal |
getLocalPrincipal()
Returns the principal that was sent to the server during
handshaking in the original connection that retrieved the
network resource.
|
abstract Principal |
getPeerPrincipal()
Returns the server's principal which was established as part of
defining the session during the original connection that
retrieved the network resource.
|
abstract List<Certificate> |
getServerCertificateChain()
Returns the server's certificate chain, which was established as
part of defining the session in the original connection that
retrieved the network resource, from cache.
|
getBody, getHeaders
public abstract String getCipherSuite()
public abstract List<Certificate> getLocalCertificateChain()
getLocalPrincipal()
public abstract List<Certificate> getServerCertificateChain() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException
- if the peer is not verified.getPeerPrincipal()
public abstract Principal getPeerPrincipal() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException
- if the peer was not verified.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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.