Interface UofApiConfiguration
- All Known Implementing Classes:
UofApiConfigurationImpl
public interface UofApiConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()Get the timeout which should be used for fast failing HTTP requests (seconds)intReturns maximum number of concurrent connections per route for http clientintReturns connection pool size for http clientGet the timeout which should be used on HTTP requests for recovery requests (seconds)Get the timeout which should be used on HTTP requests (seconds)intgetPort()booleanGets a value indicating whether SSL should be used when requesting API endpoints
-
Method Details
-
getHost
String getHost()- Returns:
- The Sportradar host used for API-access
-
getPort
int getPort()- Returns:
- The port of Sportradar host used for API-access
-
getUseSsl
boolean getUseSsl()Gets a value indicating whether SSL should be used when requesting API endpoints- Returns:
- a value indicating whether SSL should be used when requesting API endpoints
-
getHttpClientTimeout
Duration getHttpClientTimeout()Get the timeout which should be used on HTTP requests (seconds)- Returns:
- the timeout which should be used when performing HTTP requests (seconds)
-
getHttpClientRecoveryTimeout
Duration getHttpClientRecoveryTimeout()Get the timeout which should be used on HTTP requests for recovery requests (seconds)- Returns:
- the timeout which should be used when performing HTTP requests for recovery requests (seconds)
-
getHttpClientFastFailingTimeout
Duration getHttpClientFastFailingTimeout()Get the timeout which should be used for fast failing HTTP requests (seconds)- Returns:
- the timeout which should be used for fast failing HTTP requests (seconds)
-
getHttpClientMaxConnTotal
int getHttpClientMaxConnTotal()Returns connection pool size for http client- Returns:
- connection pool size for http client
-
getHttpClientMaxConnPerRoute
int getHttpClientMaxConnPerRoute()Returns maximum number of concurrent connections per route for http client- Returns:
- maximum number of concurrent connections per route for http client
-
getReplayHost
String getReplayHost()- Returns:
- The host used when connecting to Replay Server
-