Package com.ibm.fhir.bucket.client
Class ClientPropertyAdapter
- java.lang.Object
-
- com.ibm.fhir.bucket.client.ClientPropertyAdapter
-
public class ClientPropertyAdapter extends Object
Property adapter for for the FHIR HTTP client
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONNECT_TIMEOUTstatic StringDISABLE_HOSTNAME_VERIFICATIONstatic StringENABLED_CIPHERSstatic StringFHIR_SERVER_ENDPOINTstatic StringFHIR_SERVER_HOSTstatic StringFHIR_SERVER_PASSstatic StringFHIR_SERVER_PORTstatic StringFHIR_SERVER_USERstatic StringPOOL_CONNECTIONS_MAXstatic StringREAD_TIMEOUTstatic StringTRUSTSTOREstatic StringTRUSTSTORE_PASS
-
Constructor Summary
Constructors Constructor Description ClientPropertyAdapter(Properties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfhirServerEndpoint()StringfhirServerHost()intfhirServerPort()intgetConnectTimeout()How long to wait for TCP connectionStringgetEnabledCiphers()StringgetFhirServerPass()StringgetFhirServerUser()intgetPoolConnectionsMax()intgetReadTimeout()How long to wait for a response to a requestStringgetTruststore()StringgetTruststorePass()booleanisDisableHostnameVerification()
-
-
-
Field Detail
-
READ_TIMEOUT
public static final String READ_TIMEOUT
- See Also:
- Constant Field Values
-
CONNECT_TIMEOUT
public static final String CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
FHIR_SERVER_HOST
public static final String FHIR_SERVER_HOST
- See Also:
- Constant Field Values
-
FHIR_SERVER_PORT
public static final String FHIR_SERVER_PORT
- See Also:
- Constant Field Values
-
FHIR_SERVER_ENDPOINT
public static final String FHIR_SERVER_ENDPOINT
- See Also:
- Constant Field Values
-
FHIR_SERVER_USER
public static final String FHIR_SERVER_USER
- See Also:
- Constant Field Values
-
FHIR_SERVER_PASS
public static final String FHIR_SERVER_PASS
- See Also:
- Constant Field Values
-
TRUSTSTORE
public static final String TRUSTSTORE
- See Also:
- Constant Field Values
-
TRUSTSTORE_PASS
public static final String TRUSTSTORE_PASS
- See Also:
- Constant Field Values
-
POOL_CONNECTIONS_MAX
public static final String POOL_CONNECTIONS_MAX
- See Also:
- Constant Field Values
-
ENABLED_CIPHERS
public static final String ENABLED_CIPHERS
- See Also:
- Constant Field Values
-
DISABLE_HOSTNAME_VERIFICATION
public static final String DISABLE_HOSTNAME_VERIFICATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClientPropertyAdapter
public ClientPropertyAdapter(Properties props)
-
-
Method Detail
-
getConnectTimeout
public int getConnectTimeout()
How long to wait for TCP connection- Returns:
-
getPoolConnectionsMax
public int getPoolConnectionsMax()
-
getReadTimeout
public int getReadTimeout()
How long to wait for a response to a request- Returns:
-
fhirServerHost
public String fhirServerHost()
-
fhirServerEndpoint
public String fhirServerEndpoint()
-
fhirServerPort
public int fhirServerPort()
-
getTruststore
public String getTruststore()
-
getTruststorePass
public String getTruststorePass()
-
getEnabledCiphers
public String getEnabledCiphers()
-
getFhirServerUser
public String getFhirServerUser()
-
getFhirServerPass
public String getFhirServerPass()
-
isDisableHostnameVerification
public boolean isDisableHostnameVerification()
-
-