org.idoox.transport.config
Interface HttpsServerConfig

All Superinterfaces:
HttpServerConfig, TransportConfig

public interface HttpsServerConfig
extends HttpServerConfig

A config interface for HTTPS server.

Component:
Core

Method Summary
 java.lang.String getAlias()
          Gets alias of the server.
 boolean getNeedsClientAuth()
          Returns the boolean value that specifies whether SSL server requires client authentication.
 java.lang.String getPassword()
          Gets a password of the alias.
 void setAlias(java.lang.String alias)
          Sets alias of the server to the given string.
 void setNeedsClientAuth(boolean needsClientAuth)
          Specifies whether SSL server requires client authentication
 void setPassword(java.lang.String password)
          Sets a password of the alias.
 
Methods inherited from interface org.idoox.transport.config.HttpServerConfig
getContextPath, getHostName, getMaxIdleTime, getMaxReadTime, getMaxThreads, getMinThreads, getPort, setContextPath, setHostName, setMaxIdleTime, setMaxReadTime, setMaxThreads, setMinThreads, setPort
 
Methods inherited from interface org.idoox.transport.config.TransportConfig
getClassName, getClassSpaceName, getDefaultServer, getName, getPreload, getScheme, setClassName, setClassSpaceName, setDefaultServer, setName, setPreload, setScheme
 

Method Detail

getAlias

public java.lang.String getAlias()
Gets alias of the server. The alias will be used to get certificate of the server during handshaking.

Returns:
alias of the server

setAlias

public void setAlias(java.lang.String alias)
Sets alias of the server to the given string. The alias will be used to get certificate of the server during handshaking.

Parameters:
alias - of the server

getPassword

public java.lang.String getPassword()
Gets a password of the alias.

Returns:
the password

setPassword

public void setPassword(java.lang.String password)
Sets a password of the alias.

Parameters:
password - the password

setNeedsClientAuth

public void setNeedsClientAuth(boolean needsClientAuth)
Specifies whether SSL server requires client authentication

Parameters:
needsClientAuth - specifies whether SSL server requires client authentication

getNeedsClientAuth

public boolean getNeedsClientAuth()
Returns the boolean value that specifies whether SSL server requires client authentication.

Returns:
needsClientAuth value