org.idoox.transport.config
Interface HttpsClientConfig

All Superinterfaces:
HttpClientConfig, TransportConfig

public interface HttpsClientConfig
extends HttpClientConfig

A config interface for HTTPS client.

Component:
Core

Method Summary
 boolean getCheckServerCertificate()
          Specifies whether SSL client checks server sertificate.
 void setCheckServerCertificate(boolean checkServerCertificate)
          Specifies whether SSL client checks server sertificate.
 
Methods inherited from interface org.idoox.transport.config.HttpClientConfig
getChunkSize, getDefaultTimeout, getNonProxyHosts, getProxyHost, getProxyPort, getRequestChunking, setChunkSize, setDefaultTimeout, setNonProxyHosts, setProxyHost, setProxyPort, setRequestChunking
 
Methods inherited from interface org.idoox.transport.config.TransportConfig
getClassName, getClassSpaceName, getDefaultServer, getName, getPreload, getScheme, setClassName, setClassSpaceName, setDefaultServer, setName, setPreload, setScheme
 

Method Detail

setCheckServerCertificate

public void setCheckServerCertificate(boolean checkServerCertificate)
Specifies whether SSL client checks server sertificate. If client connects to the server via proxy, it should set this flag to false

Parameters:
checkServerCertificate - specifies whether SSL client checks server sertificate

getCheckServerCertificate

public boolean getCheckServerCertificate()
Specifies whether SSL client checks server sertificate.

Returns:
true if client checks server certificate