| javax.net.ssl.HostnameVerifier |
Known Indirect Subclasses
AbstractVerifier
,
AllowAllHostnameVerifier
,
BrowserCompatHostnameVerifier
,
StrictHostnameVerifier
,
X509HostnameVerifier
|
|||||||||||||||||||||
The interface to be used to provide hostname verification functionality.
This is an extended verification option that implementers can provide. It is to be used during a handshake if the URL's hostname does not match the peer's identification hostname.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Verifies that the specified hostname is allowed within the specified SSL
session.
|
||||||||||
Verifies that the specified hostname is allowed within the specified SSL session.
| hostname | the hostname. |
|---|---|
| session | the SSL session of the connection. |
true
if the specified hostname is allowed, otherwise
false
.