PHP Класс AppserverIo\Appserver\Core\ServerNodeConfiguration

Автор: Johann Zelger ([email protected])
Наследование: implements AppserverIo\Server\Interfaces\ServerConfigurationInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный метод

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() публичный метод

Returns the access configuration.
public getAccesses ( ) : array
Результат array

getAddress() публичный метод

Returns address
public getAddress ( ) : string
Результат string

getAdmin() публичный метод

Returns admin
public getAdmin ( ) : string
Результат string

getAllowSelfSigned() публичный метод

Return's TRUE if self-signed certificates has to be allowed, but requires verify_peer to be FALSE
public getAllowSelfSigned ( ) : boolean
Результат boolean

getAnalytics() публичный метод

Returns analytics
public getAnalytics ( ) : string
Результат string

getAuthentications() публичный метод

Returns the authentication configuration.
public getAuthentications ( ) : array
Результат array The array with the authentication configuration

getAutoIndex() публичный метод

Returns the auto index configuration
public getAutoIndex ( ) : boolean
Результат boolean

getAutoIndexTemplatePath() публичный метод

Returns template path for possible configured auto index page
public getAutoIndexTemplatePath ( ) : string
Результат string

getCertPath() публичный метод

Returns cert path
public getCertPath ( ) : string
Результат string

getCertificates() публичный метод

Returns the certificates used by the server
public getCertificates ( ) : array
Результат array

getCiphers() публичный метод

Return's the list of available ciphers.
public getCiphers ( ) : string
Результат string

getConnectionHandlers() публичный метод

Returns connection handlers
public getConnectionHandlers ( ) : array
Результат array

getCryptoMethod() публичный метод

Return's the crypto method to use
public getCryptoMethod ( ) : string
Результат string

getDhParamPath() публичный метод

Returns DH param path
public getDhParamPath ( ) : string
Результат string

getDirectoryIndex() публичный метод

Returns directory index definition
public getDirectoryIndex ( ) : string
Результат string

getDisableCompression() публичный метод

Return's TRUE to disable TLS compression. This can help mitigate the CRIME attack vector
public getDisableCompression ( ) : boolean
Результат boolean

getDocumentRoot() публичный метод

Returns document root
public getDocumentRoot ( ) : string
Результат string

getEcdhCurve() публичный метод

Return's the curve to use with ECDH ciphers, if not specified prime256v1 will be used
public getEcdhCurve ( ) : string
Результат string

getEnvironmentVariables() публичный метод

Returns the environment variable configuration
public getEnvironmentVariables ( ) : array
Результат array

getErrorsPageTemplatePath() публичный метод

Returns template file path for errors page
public getErrorsPageTemplatePath ( ) : string
Результат string

getFlags() публичный метод

Returns the server socket flags.
public getFlags ( ) : string
Результат string

getGroup() публичный метод

Returns the groupname we want to execute the processes with.
public getGroup ( ) : string
Результат string

getHandlers() публичный метод

Returns handlers
public getHandlers ( ) : array
Результат array

getHeaders() публичный метод

Returns headers
public getHeaders ( ) : array
Результат array

getHonorCipherOrder() публичный метод

Return's TRUE if control cipher ordering preferences during negotiation has to be allowed
public getHonorCipherOrder ( ) : boolean
Результат boolean

getKeepAliveMax() публичный метод

Returns keep-alive max connection
public getKeepAliveMax ( ) : integer
Результат integer

getKeepAliveTimeout() публичный метод

Returns keep-alive timeout
public getKeepAliveTimeout ( ) : integer
Результат integer

getLocations() публичный метод

Returns the locations.
public getLocations ( ) : array
Результат array

getLoggerName() публичный метод

Returns logger name
public getLoggerName ( ) : string
Результат string

getModules() публичный метод

Returns modules
public getModules ( ) : array
Результат array

getName() публичный метод

Returns servers name
public getName ( ) : string
Результат string

getPassphrase() публичный метод

Returns passphrase
public getPassphrase ( ) : string
Результат string

getPeerName() публичный метод

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
Результат string

getPort() публичный метод

Returns port
public getPort ( ) : integer
Результат integer

getPrivateKeyPath() публичный метод

Return's private key path
public getPrivateKeyPath ( ) : string
Результат string

getRequestContextType() публичный метод

Returns request type
public getRequestContextType ( ) : string
Результат string

getRewriteMaps() публичный метод

Returns the locations.
public getRewriteMaps ( ) : array
Результат array

getRewrites() публичный метод

Returns the rewrite configuration.
public getRewrites ( ) : array
Результат array

getServerContextType() публичный метод

Returns context type
public getServerContextType ( ) : string
Результат string

getSingleDhUse() публичный метод

Return's TRUE if new key pair has to be created created when using DH parameters (improves forward secrecy)
public getSingleDhUse ( ) : boolean
Результат boolean

getSingleEcdhUse() публичный метод

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
Результат boolean

getSocketType() публичный метод

Returns socket type
public getSocketType ( ) : string
Результат string

getSoftware() публичный метод

Returns software
public getSoftware ( ) : string
Результат string

getStreamContextType() публичный метод

Returns stream context type
public getStreamContextType ( ) : string
Результат string

getTransport() публичный метод

Returns transport
public getTransport ( ) : string
Результат string

getType() публичный метод

Returns type
public getType ( ) : string
Результат string

getUser() публичный метод

Returns the username we want to execute the processes with.
public getUser ( ) : string
Результат string

getVerifyPeer() публичный метод

Return's TRUE it the verification of use SSL certificate has to be required
public getVerifyPeer ( ) : boolean
Результат boolean

getVerifyPeerName() публичный метод

Return's TRUE it the peer name has to be verified
public getVerifyPeerName ( ) : boolean
Результат boolean

getVirtualHosts() публичный метод

Returns virtual hosts
public getVirtualHosts ( ) : array
Результат array

getWelcomePageTemplatePath() публичный метод

Returns template path for possible configured welcome page
public getWelcomePageTemplatePath ( ) : string
Результат string

getWorkerAcceptMax() публичный метод

Returns worker's accept max count
public getWorkerAcceptMax ( ) : integer
Результат integer

getWorkerAcceptMin() публичный метод

Returns worker's accept min count
public getWorkerAcceptMin ( ) : integer
Результат integer

getWorkerNumber() публичный метод

Returns worker number
public getWorkerNumber ( ) : integer
Результат integer

getWorkerType() публичный метод

Returns worker type
public getWorkerType ( ) : string
Результат string

Описание свойств

$accesses защищенное свойство

The accesses array.
protected array $accesses
Результат array

$analytics защищенное свойство

The analytics array.
protected array $analytics
Результат array

$authentications защищенное свойство

The authentications array.
protected array $authentications
Результат array

$connectionHandlers защищенное свойство

Hold's the connection handler array
protected array $connectionHandlers
Результат array

$environmentVariables защищенное свойство

The environmentVariables array.
protected array $environmentVariables
Результат array

$handlers защищенное свойство

The handlers array.
protected array $handlers
Результат array

$headers защищенное свойство

The headers array.
protected array $headers
Результат array

$locations защищенное свойство

The locations array.
protected array $locations
Результат array

$modules защищенное свойство

The modules array.
protected array $modules
Результат array

$node защищенное свойство

The server node instance.
protected ServerNodeInterface,AppserverIo\Appserver\Core\Api\Node $node
Результат AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface

$rewriteMaps защищенное свойство

The array with the rewrite maps.
protected array $rewriteMaps
Результат array

$rewrites защищенное свойство

The rewrites array.
protected array $rewrites
Результат array

$virtualHosts защищенное свойство

The virtual hosts array.
protected array $virtualHosts
Результат array