PHP Class AppserverIo\Appserver\Core\ServerNodeConfiguration

Inheritance: implements AppserverIo\Server\Interfaces\ServerConfigurationInterface
Afficher le fichier Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Свойство Type Description
$accesses array The accesses array.
$analytics array The analytics array.
$authentications array The authentications array.
$connectionHandlers array Hold's the connection handler array
$environmentVariables array The environmentVariables array.
$handlers array The handlers array.
$headers array The headers array.
$locations array The locations array.
$modules array The modules array.
$node AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface The server node instance.
$rewriteMaps array The array with the rewrite maps.
$rewrites array The rewrites array.
$virtualHosts array The virtual hosts array.

Méthodes publiques

Méthode Description
__construct ( AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface $node ) Initializes the configuration with the values found in the passed server configuration node.
getAccesses ( ) : array Returns the access configuration.
getAddress ( ) : string Returns address
getAdmin ( ) : string Returns admin
getAllowSelfSigned ( ) : boolean Return's TRUE if self-signed certificates has to be allowed, but requires verify_peer to be FALSE
getAnalytics ( ) : string Returns analytics
getAuthentications ( ) : array Returns the authentication configuration.
getAutoIndex ( ) : boolean Returns the auto index configuration
getAutoIndexTemplatePath ( ) : string Returns template path for possible configured auto index page
getCertPath ( ) : string Returns cert path
getCertificates ( ) : array Returns the certificates used by the server
getCiphers ( ) : string Return's the list of available ciphers.
getConnectionHandlers ( ) : array Returns connection handlers
getCryptoMethod ( ) : string Return's the crypto method to use
getDhParamPath ( ) : string Returns DH param path
getDirectoryIndex ( ) : string Returns directory index definition
getDisableCompression ( ) : boolean Return's TRUE to disable TLS compression. This can help mitigate the CRIME attack vector
getDocumentRoot ( ) : string Returns document root
getEcdhCurve ( ) : string Return's the curve to use with ECDH ciphers, if not specified prime256v1 will be used
getEnvironmentVariables ( ) : array Returns the environment variable configuration
getErrorsPageTemplatePath ( ) : string Returns template file path for errors page
getFlags ( ) : string Returns the server socket flags.
getGroup ( ) : string Returns the groupname we want to execute the processes with.
getHandlers ( ) : array Returns handlers
getHeaders ( ) : array Returns headers
getHonorCipherOrder ( ) : boolean Return's TRUE if control cipher ordering preferences during negotiation has to be allowed
getKeepAliveMax ( ) : integer Returns keep-alive max connection
getKeepAliveTimeout ( ) : integer Returns keep-alive timeout
getLocations ( ) : array Returns the locations.
getLoggerName ( ) : string Returns logger name
getModules ( ) : array Returns modules
getName ( ) : string Returns servers name
getPassphrase ( ) : string Returns passphrase
getPeerName ( ) : string Return's the peer name to be used, if this value is not set, then the name is guessed based on the hostname used when opening the stream
getPort ( ) : integer Returns port
getPrivateKeyPath ( ) : string Return's private key path
getRequestContextType ( ) : string Returns request type
getRewriteMaps ( ) : array Returns the locations.
getRewrites ( ) : array Returns the rewrite configuration.
getServerContextType ( ) : string Returns context type
getSingleDhUse ( ) : boolean Return's TRUE if new key pair has to be created created when using DH parameters (improves forward secrecy)
getSingleEcdhUse ( ) : boolean Return's TRUE if a new key pair has to be created in scenarios where ECDH cipher suites are negotiated (instead of the preferred ECDHE ciphers)
getSocketType ( ) : string Returns socket type
getSoftware ( ) : string Returns software
getStreamContextType ( ) : string Returns stream context type
getTransport ( ) : string Returns transport
getType ( ) : string Returns type
getUser ( ) : string Returns the username we want to execute the processes with.
getVerifyPeer ( ) : boolean Return's TRUE it the verification of use SSL certificate has to be required
getVerifyPeerName ( ) : boolean Return's TRUE it the peer name has to be verified
getVirtualHosts ( ) : array Returns virtual hosts
getWelcomePageTemplatePath ( ) : string Returns template path for possible configured welcome page
getWorkerAcceptMax ( ) : integer Returns worker's accept max count
getWorkerAcceptMin ( ) : integer Returns worker's accept min count
getWorkerNumber ( ) : integer Returns worker number
getWorkerType ( ) : string Returns worker type

Method Details

__construct() public méthode

Initializes the configuration with the values found in the passed server configuration node.
public __construct ( AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface $node )
$node AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface The server node instance

getAccesses() public méthode

Returns the access configuration.
public getAccesses ( ) : array
Résultat array

getAddress() public méthode

Returns address
public getAddress ( ) : string
Résultat string

getAdmin() public méthode

Returns admin
public getAdmin ( ) : string
Résultat string

getAllowSelfSigned() public méthode

Return's TRUE if self-signed certificates has to be allowed, but requires verify_peer to be FALSE
public getAllowSelfSigned ( ) : boolean
Résultat boolean

getAnalytics() public méthode

Returns analytics
public getAnalytics ( ) : string
Résultat string

getAuthentications() public méthode

Returns the authentication configuration.
public getAuthentications ( ) : array
Résultat array The array with the authentication configuration

getAutoIndex() public méthode

Returns the auto index configuration
public getAutoIndex ( ) : boolean
Résultat boolean

getAutoIndexTemplatePath() public méthode

Returns template path for possible configured auto index page
public getAutoIndexTemplatePath ( ) : string
Résultat string

getCertPath() public méthode

Returns cert path
public getCertPath ( ) : string
Résultat string

getCertificates() public méthode

Returns the certificates used by the server
public getCertificates ( ) : array
Résultat array

getCiphers() public méthode

Return's the list of available ciphers.
public getCiphers ( ) : string
Résultat string

getConnectionHandlers() public méthode

Returns connection handlers
public getConnectionHandlers ( ) : array
Résultat array

getCryptoMethod() public méthode

Return's the crypto method to use
public getCryptoMethod ( ) : string
Résultat string

getDhParamPath() public méthode

Returns DH param path
public getDhParamPath ( ) : string
Résultat string

getDirectoryIndex() public méthode

Returns directory index definition
public getDirectoryIndex ( ) : string
Résultat string

getDisableCompression() public méthode

Return's TRUE to disable TLS compression. This can help mitigate the CRIME attack vector
public getDisableCompression ( ) : boolean
Résultat boolean

getDocumentRoot() public méthode

Returns document root
public getDocumentRoot ( ) : string
Résultat string

getEcdhCurve() public méthode

Return's the curve to use with ECDH ciphers, if not specified prime256v1 will be used
public getEcdhCurve ( ) : string
Résultat string

getEnvironmentVariables() public méthode

Returns the environment variable configuration
public getEnvironmentVariables ( ) : array
Résultat array

getErrorsPageTemplatePath() public méthode

Returns template file path for errors page
public getErrorsPageTemplatePath ( ) : string
Résultat string

getFlags() public méthode

Returns the server socket flags.
public getFlags ( ) : string
Résultat string

getGroup() public méthode

Returns the groupname we want to execute the processes with.
public getGroup ( ) : string
Résultat string

getHandlers() public méthode

Returns handlers
public getHandlers ( ) : array
Résultat array

getHeaders() public méthode

Returns headers
public getHeaders ( ) : array
Résultat array

getHonorCipherOrder() public méthode

Return's TRUE if control cipher ordering preferences during negotiation has to be allowed
public getHonorCipherOrder ( ) : boolean
Résultat boolean

getKeepAliveMax() public méthode

Returns keep-alive max connection
public getKeepAliveMax ( ) : integer
Résultat integer

getKeepAliveTimeout() public méthode

Returns keep-alive timeout
public getKeepAliveTimeout ( ) : integer
Résultat integer

getLocations() public méthode

Returns the locations.
public getLocations ( ) : array
Résultat array

getLoggerName() public méthode

Returns logger name
public getLoggerName ( ) : string
Résultat string

getModules() public méthode

Returns modules
public getModules ( ) : array
Résultat array

getName() public méthode

Returns servers name
public getName ( ) : string
Résultat string

getPassphrase() public méthode

Returns passphrase
public getPassphrase ( ) : string
Résultat string

getPeerName() public méthode

Return's the peer name to be used, if this value is not set, then the name is guessed based on the hostname used when opening the stream
public getPeerName ( ) : string
Résultat string

getPort() public méthode

Returns port
public getPort ( ) : integer
Résultat integer

getPrivateKeyPath() public méthode

Return's private key path
public getPrivateKeyPath ( ) : string
Résultat string

getRequestContextType() public méthode

Returns request type
public getRequestContextType ( ) : string
Résultat string

getRewriteMaps() public méthode

Returns the locations.
public getRewriteMaps ( ) : array
Résultat array

getRewrites() public méthode

Returns the rewrite configuration.
public getRewrites ( ) : array
Résultat array

getServerContextType() public méthode

Returns context type
public getServerContextType ( ) : string
Résultat string

getSingleDhUse() public méthode

Return's TRUE if new key pair has to be created created when using DH parameters (improves forward secrecy)
public getSingleDhUse ( ) : boolean
Résultat boolean

getSingleEcdhUse() public méthode

Return's TRUE if a new key pair has to be created in scenarios where ECDH cipher suites are negotiated (instead of the preferred ECDHE ciphers)
public getSingleEcdhUse ( ) : boolean
Résultat boolean

getSocketType() public méthode

Returns socket type
public getSocketType ( ) : string
Résultat string

getSoftware() public méthode

Returns software
public getSoftware ( ) : string
Résultat string

getStreamContextType() public méthode

Returns stream context type
public getStreamContextType ( ) : string
Résultat string

getTransport() public méthode

Returns transport
public getTransport ( ) : string
Résultat string

getType() public méthode

Returns type
public getType ( ) : string
Résultat string

getUser() public méthode

Returns the username we want to execute the processes with.
public getUser ( ) : string
Résultat string

getVerifyPeer() public méthode

Return's TRUE it the verification of use SSL certificate has to be required
public getVerifyPeer ( ) : boolean
Résultat boolean

getVerifyPeerName() public méthode

Return's TRUE it the peer name has to be verified
public getVerifyPeerName ( ) : boolean
Résultat boolean

getVirtualHosts() public méthode

Returns virtual hosts
public getVirtualHosts ( ) : array
Résultat array

getWelcomePageTemplatePath() public méthode

Returns template path for possible configured welcome page
public getWelcomePageTemplatePath ( ) : string
Résultat string

getWorkerAcceptMax() public méthode

Returns worker's accept max count
public getWorkerAcceptMax ( ) : integer
Résultat integer

getWorkerAcceptMin() public méthode

Returns worker's accept min count
public getWorkerAcceptMin ( ) : integer
Résultat integer

getWorkerNumber() public méthode

Returns worker number
public getWorkerNumber ( ) : integer
Résultat integer

getWorkerType() public méthode

Returns worker type
public getWorkerType ( ) : string
Résultat string

Property Details

$accesses protected_oe property

The accesses array.
protected array $accesses
Résultat array

$analytics protected_oe property

The analytics array.
protected array $analytics
Résultat array

$authentications protected_oe property

The authentications array.
protected array $authentications
Résultat array

$connectionHandlers protected_oe property

Hold's the connection handler array
protected array $connectionHandlers
Résultat array

$environmentVariables protected_oe property

The environmentVariables array.
protected array $environmentVariables
Résultat array

$handlers protected_oe property

The handlers array.
protected array $handlers
Résultat array

$headers protected_oe property

The headers array.
protected array $headers
Résultat array

$locations protected_oe property

The locations array.
protected array $locations
Résultat array

$modules protected_oe property

The modules array.
protected array $modules
Résultat array

$node protected_oe property

The server node instance.
protected ServerNodeInterface,AppserverIo\Appserver\Core\Api\Node $node
Résultat AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface

$rewriteMaps protected_oe property

The array with the rewrite maps.
protected array $rewriteMaps
Résultat array

$rewrites protected_oe property

The rewrites array.
protected array $rewrites
Résultat array

$virtualHosts protected_oe property

The virtual hosts array.
protected array $virtualHosts
Résultat array