com.sibvisions.rad.remote.http
Class HttpsHostnameVerifier
java.lang.Object
com.sibvisions.rad.remote.http.HttpsHostnameVerifier
- All Implemented Interfaces:
- HostnameVerifier
public class HttpsHostnameVerifier
- extends Object
- implements HostnameVerifier
The HttpsHostnameVerifier
is a HostnameVerifier
without
restrictions.
Method Summary |
void |
addUrl(URL pUrl)
Adds an URL to the list of allowed connections. |
void |
removeUrl(URL pUrl)
Removes an URL from the list of allowed connections. |
boolean |
verify(String pHostname,
SSLSession pSession)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpsHostnameVerifier
public HttpsHostnameVerifier()
verify
public boolean verify(String pHostname,
SSLSession pSession)
-
- Specified by:
verify
in interface HostnameVerifier
addUrl
public void addUrl(URL pUrl)
- Adds an URL to the list of allowed connections.
- Parameters:
pUrl
- the connection URL
removeUrl
public void removeUrl(URL pUrl)
- Removes an URL from the list of allowed connections.
- Parameters:
pUrl
- the connection URL
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.