Source:
public RestServerConfig(VerifiableProperties verifiableProperties) { restServerBlobStorageServiceFactory = verifiableProperties.getString("rest.server.blob.storage.service.factory"); restServerNioServerFactory = verifiableProperties.getString("rest.server.nio.server.factory", "com.github.ambry.rest.NettyFrontendServerFactory"); restServerRequestHandlerScalingUnitCount = verifiableProperties.getIntInRange("rest.server.request.handler.scaling.unit.count", 5, 0, Integer.MAX_VALUE); restServerRequestHandlerFactory = verifiableProperties.getString("rest.server.request.handler.factory", "com.github.ambry.rest.AsyncRequestResponseHandlerFactory"); restServerResponseHandlerScalingUnitCount = verifiableProperties.getIntInRange("rest.server.response.handler.scaling.unit.count", 5, 0, Integer.MAX_VALUE); restServerResponseHandlerFactory = verifiableProperties.getString("rest.server.response.handler.factory", "com.github.ambry.rest.AsyncRequestResponseHandlerFactory"); restServerAccountServiceFactory = verifiableProperties.getString("rest.server.account.service.factory", "com.github.ambry.account.InMemoryUnknownAccountServiceFactory"); restServerRouterFactory = verifiableProperties.getString("rest.server.router.factory", "com.github.ambry.router.NonBlockingRouterFactory"); restServerPublicAccessLogRequestHeaders = verifiableProperties.getString("rest.server.public.access.log.request.headers", "Host,Referer,User-Agent,Content-Length,x-ambry-content-type,x-ambry-owner-id,x-ambry-ttl,x-ambry-private,x-ambry-service-id,X-Forwarded-For"); restServerPublicAccessLogResponseHeaders = verifiableProperties.getString("rest.server.public.access.log.response.headers", "Location,x-ambry-blob-size"); restServerHealthCheckUri = verifiableProperties.getString("rest.server.health.check.uri", "/healthCheck"); }

Target:
public RestServerConfig(VerifiableProperties verifiableProperties) { restServerBlobStorageServiceFactory = verifiableProperties.getString("rest.server.blob.storage.service.factory"); restServerNioServerFactory = verifiableProperties.getString("rest.server.nio.server.factory", "com.github.ambry.rest.FrontendNettyFactory"); restServerRequestHandlerScalingUnitCount = verifiableProperties.getIntInRange("rest.server.request.handler.scaling.unit.count", 5, 0, Integer.MAX_VALUE); restServerRequestHandlerFactory = verifiableProperties.getString("rest.server.request.handler.factory", "com.github.ambry.rest.AsyncRequestResponseHandlerFactory"); restServerResponseHandlerScalingUnitCount = verifiableProperties.getIntInRange("rest.server.response.handler.scaling.unit.count", 5, 0, Integer.MAX_VALUE); restServerResponseHandlerFactory = verifiableProperties.getString("rest.server.response.handler.factory", "com.github.ambry.rest.AsyncRequestResponseHandlerFactory"); restServerAccountServiceFactory = verifiableProperties.getString("rest.server.account.service.factory", "com.github.ambry.account.InMemoryUnknownAccountServiceFactory"); restServerRouterFactory = verifiableProperties.getString("rest.server.router.factory", "com.github.ambry.router.NonBlockingRouterFactory"); restServerPublicAccessLogRequestHeaders = verifiableProperties.getString("rest.server.public.access.log.request.headers", "Host,Referer,User-Agent,Content-Length,x-ambry-content-type,x-ambry-owner-id,x-ambry-ttl,x-ambry-private,x-ambry-service-id,X-Forwarded-For"); restServerPublicAccessLogResponseHeaders = verifiableProperties.getString("rest.server.public.access.log.response.headers", "Location,x-ambry-blob-size"); restServerHealthCheckUri = verifiableProperties.getString("rest.server.health.check.uri", "/healthCheck"); }