builder = builder.setRealm(realm);
}
Object httpsPropertiesProperty = cc.getProperties().get(HTTPSProperties.PROPERTY_HTTPS_PROPERTIES);
if(httpsPropertiesProperty != null && httpsPropertiesProperty instanceof HTTPSProperties) {
HTTPSProperties httpsProperties = (HTTPSProperties)httpsPropertiesProperty;
final HostnameVerifier hostnameVerifier = httpsProperties.getHostnameVerifier();
if(hostnameVerifier != null) {
builder = builder.setHostnameVerifier(hostnameVerifier);
}
builder = builder.setSSLContext(httpsProperties.getSSLContext());
}
Object requestFilters = cc.getProperties().get(NonBlockingClientConfig.PROPERTY_REQUEST_FILTERS);
if(requestFilters != null) {
if(requestFilters instanceof RequestFilter) {