PHP 클래스 AppserverIo\Appserver\Core\ServerNodeConfiguration

저자: Johann Zelger ([email protected])
상속: implements AppserverIo\Server\Interfaces\ServerConfigurationInterface
파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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

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

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