Class UserPortalRestClientManager
java.lang.Object
de.xima.fc.user_portal.api.client.UserPortalRestClientManager
Manages the REST client instances for interacting with the user portal REST API.
This is the low-level API, use UserPortalApi for high-level access to the user portal API.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpublicFormClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) This method returns the generatedApiBundlewith the REST client for the public form API.publicFormRecordClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) This method returns the generatedApiBundlewith the REST client for the public form record API.publicGenericClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) This method returns the generatedApiBundlewith the REST client for the public user portal API.publicSecurityClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) This method returns theApiBundlewith the REST client for the public security API.publicUserClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) This method returns theApiBundlewith the REST client for the public user portal API.publicUserPortalClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) This method returns theApiBundlewith the REST client for the public user portal API.
-
Constructor Details
-
UserPortalRestClientManager
public UserPortalRestClientManager()
-
-
Method Details
-
publicFormClient
public UserPortalClient<ApiBundle> publicFormClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) throws IllegalStateException This method returns the generatedApiBundlewith the REST client for the public form API.- Parameters:
httpClient- Type of the HTTP client to use.config- Configuration for the REST client.- Returns:
- The REST client for the public form API.
- Throws:
IllegalStateException
-
publicFormRecordClient
public UserPortalClient<ApiBundle> publicFormRecordClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) throws IllegalStateException This method returns the generatedApiBundlewith the REST client for the public form record API.- Parameters:
httpClient- Type of the HTTP client to use.config- Configuration for the REST client.- Returns:
- The REST client for the public form record API.
- Throws:
IllegalStateException
-
publicGenericClient
public UserPortalClient<ApiBundle> publicGenericClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) throws IllegalStateException This method returns the generatedApiBundlewith the REST client for the public user portal API.- Parameters:
httpClient- Type of the HTTP client to use.config- Configuration for the REST client.- Returns:
- The REST client for the public user portal API.
- Throws:
IllegalStateException
-
publicSecurityClient
public UserPortalClient<ApiBundle> publicSecurityClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) throws IllegalStateException This method returns theApiBundlewith the REST client for the public security API.- Parameters:
httpClient- Type of the HTTP client to use.config- Configuration for the REST client.- Returns:
- The REST client for the public security API.
- Throws:
IllegalStateException
-
publicUserClient
public UserPortalClient<ApiBundle> publicUserClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) throws IllegalStateException This method returns theApiBundlewith the REST client for the public user portal API.- Parameters:
httpClient- Type of the HTTP client to use.config- Configuration for the REST client.- Returns:
- The REST client for the public user portal API.
- Throws:
IllegalStateException
-
publicUserPortalClient
public UserPortalClient<ApiBundle> publicUserPortalClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config) throws IllegalStateException This method returns theApiBundlewith the REST client for the public user portal API.- Parameters:
httpClient- Type of the HTTP client to use.config- Configuration for the REST client.- Returns:
- The REST client for the public user portal API.
- Throws:
IllegalStateException
-