protected void initConfigAndValidate ( Map < String , String > agentConfig ) { initContext ( ) ; initProtocol ( agentConfig ) ; initAddress ( agentConfig ) ; port = Integer . parseInt ( agentConfig . get ( "port" ) ) ; backlog = Integer . parseInt ( agentConfig . get ( "backlog" ) ) ; initExecutor ( agentConfig ) ; initThreadNamePrefix ( agentConfig ) ; initThreadNr ( agentConfig ) ; initHttpsRelatedSettings ( agentConfig ) ; initAuthenticator ( ) ; }
Initialise and validate early in order to fail fast in case of an configuration error