Class ApiResponseAdapterFactory
- java.lang.Object
-
- de.xima.fc.user_portal.api.provider.impl.ApiResponseAdapterFactory
-
public class ApiResponseAdapterFactory extends Object
Factory for creating API response adapters.- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApiResponseAdapter
create(Object response)
Creates an API response adapter for the given response.
-
-
-
Method Detail
-
create
public static ApiResponseAdapter create(Object response)
Creates an API response adapter for the given response.- Parameters:
response
- The response to create an adapter for.- Returns:
- An API response adapter for the given response.
- Throws:
IllegalArgumentException
- If the response type is unknown.
-
-