Class UserPortalRestClientManager
- java.lang.Object
-
- de.xima.fc.user_portal.api.client.UserPortalRestClientManager
-
@ApplicationScoped public class UserPortalRestClientManager extends Object
Manages the REST client instances for interacting with the user portal REST API.This is the low-level API, use
UserPortalApifor high-level access to the user portal API.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description UserPortalRestClientManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserPortalClient<de.xima.fc.api.rest.pub.client.generic.ApiBundle>publicGenericClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config)This method returns the generatedApiBundlewith the REST client for the public user portal API.UserPortalClient<de.xima.fc.api.rest.pub.client.user_portal.ApiBundle>publicUserPortalClient(EHttpTransportType httpClient, IUserPortalRestClientConfig config)This method returns theApiBundlewith the REST client for the public user portal API.
-
-
-
Method Detail
-
publicGenericClient
public UserPortalClient<de.xima.fc.api.rest.pub.client.generic.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
-
publicUserPortalClient
public UserPortalClient<de.xima.fc.api.rest.pub.client.user_portal.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
-
-