Class ClientPropertyAdapter
- java.lang.Object
-
- org.linuxforhealth.fhir.bucket.client.ClientPropertyAdapter
-
public class ClientPropertyAdapter extends java.lang.Object
Property adapter for for the FHIR HTTP client
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONNECT_TIMEOUT
static java.lang.String
DISABLE_HOSTNAME_VERIFICATION
static java.lang.String
ENABLED_CIPHERS
static java.lang.String
FHIR_SERVER_ENDPOINT
static java.lang.String
FHIR_SERVER_HOST
static java.lang.String
FHIR_SERVER_PASS
static java.lang.String
FHIR_SERVER_PORT
static java.lang.String
FHIR_SERVER_USER
static java.lang.String
POOL_CONNECTIONS_MAX
static java.lang.String
READ_TIMEOUT
static java.lang.String
TRUSTSTORE
static java.lang.String
TRUSTSTORE_PASS
-
Constructor Summary
Constructors Constructor Description ClientPropertyAdapter(java.util.Properties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
fhirServerEndpoint()
java.lang.String
fhirServerHost()
int
fhirServerPort()
int
getConnectTimeout()
How long to wait for TCP connectionjava.lang.String
getEnabledCiphers()
java.lang.String
getFhirServerPass()
java.lang.String
getFhirServerUser()
int
getPoolConnectionsMax()
int
getReadTimeout()
How long to wait for a response to a requestjava.lang.String
getTruststore()
java.lang.String
getTruststorePass()
boolean
isDisableHostnameVerification()
-
-
-
Field Detail
-
READ_TIMEOUT
public static final java.lang.String READ_TIMEOUT
- See Also:
- Constant Field Values
-
CONNECT_TIMEOUT
public static final java.lang.String CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
FHIR_SERVER_HOST
public static final java.lang.String FHIR_SERVER_HOST
- See Also:
- Constant Field Values
-
FHIR_SERVER_PORT
public static final java.lang.String FHIR_SERVER_PORT
- See Also:
- Constant Field Values
-
FHIR_SERVER_ENDPOINT
public static final java.lang.String FHIR_SERVER_ENDPOINT
- See Also:
- Constant Field Values
-
FHIR_SERVER_USER
public static final java.lang.String FHIR_SERVER_USER
- See Also:
- Constant Field Values
-
FHIR_SERVER_PASS
public static final java.lang.String FHIR_SERVER_PASS
- See Also:
- Constant Field Values
-
TRUSTSTORE
public static final java.lang.String TRUSTSTORE
- See Also:
- Constant Field Values
-
TRUSTSTORE_PASS
public static final java.lang.String TRUSTSTORE_PASS
- See Also:
- Constant Field Values
-
POOL_CONNECTIONS_MAX
public static final java.lang.String POOL_CONNECTIONS_MAX
- See Also:
- Constant Field Values
-
ENABLED_CIPHERS
public static final java.lang.String ENABLED_CIPHERS
- See Also:
- Constant Field Values
-
DISABLE_HOSTNAME_VERIFICATION
public static final java.lang.String DISABLE_HOSTNAME_VERIFICATION
- See Also:
- Constant Field Values
-
-
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 java.lang.String fhirServerHost()
-
fhirServerEndpoint
public java.lang.String fhirServerEndpoint()
-
fhirServerPort
public int fhirServerPort()
-
getTruststore
public java.lang.String getTruststore()
-
getTruststorePass
public java.lang.String getTruststorePass()
-
getEnabledCiphers
public java.lang.String getEnabledCiphers()
-
getFhirServerUser
public java.lang.String getFhirServerUser()
-
getFhirServerPass
public java.lang.String getFhirServerPass()
-
isDisableHostnameVerification
public boolean isDisableHostnameVerification()
-
-