public static Param findSSLParameterByPropertyName(String propertyName) { Param.init(); Param p = sslParamsMap.get(propertyName .toLowerCase(java.util.Locale.ENGLISH)); if (p != null) { return p; } else { throw new IllegalArgumentException("Unknown SSL property '" + propertyName + "'; expected one of: " + sslParamsMap.keySet()); } }
SocketParameters.Param.READ_TIMEOUT.setParameter(this.socketParams, propValue); } else { SocketParameters.Param.READ_TIMEOUT.setParameter(this.socketParams, Integer.toString(loginTimeout)); propValue = props.remove(p.getPropertyName()); if (propValue != null) { p.setParameter(this.socketParams, propValue);
propValue = networkProps.getProperty(param.getPropertyName()); if (propValue != null) { param.setParameter(this.socketParams, propValue);