Package de.xima.fc.interfaces.config
Interface IRestClientConfig
-
- All Superinterfaces:
Serializable
public interface IRestClientConfig extends Serializable
Interface for global, mostly technical, configuration for the REST client.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
connectTimeout()
Gets the connect timeout for the REST client.EHttpClientTransportType
defaultTransportType()
Gets the default HTTP transport type for the REST client, used to send HTTP requests.String
localBaseUrl()
Gets the local base URL for the REST client.long
readTimeout()
Gets the read timeout for the REST client.String
remoteBaseUrl()
Gets the remote base URL for the REST client.Path
tempDir()
Gets the temporary directory for the portal frontend application.
-
-
-
Method Detail
-
connectTimeout
long connectTimeout()
Gets the connect timeout for the REST client.- Returns:
- The connect timeout for the REST client.
-
defaultTransportType
EHttpClientTransportType defaultTransportType()
Gets the default HTTP transport type for the REST client, used to send HTTP requests.- Returns:
- The default HTTP transport type.
-
localBaseUrl
String localBaseUrl()
Gets the local base URL for the REST client. This is the URL used by the server to access itself.- Returns:
- The local base URL for the local REST client.
-
readTimeout
long readTimeout()
Gets the read timeout for the REST client.- Returns:
- The read timeout for the REST client.
-
remoteBaseUrl
String remoteBaseUrl()
Gets the remote base URL for the REST client. This is the URL used by clients to access the server.- Returns:
- The remote base URL for the remote REST client.
-
tempDir
Path tempDir()
Gets the temporary directory for the portal frontend application.- Returns:
- The temporary directory for the portal frontend application.
-
-