Package com.atlan.api
Class AbstractEndpoint
java.lang.Object
com.atlan.api.AbstractEndpoint
- Direct Known Subclasses:
AtlasEndpoint
,ChronosEndpoint
,HekaEndpoint
,HeraclesEndpoint
,ImpersonationEndpoint
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Utility class for introspecting raw responses from API endpoints. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getBaseUrl
(String service, String prefix) Retrieve the base URL to use to access the endpoint.
-
Field Details
-
client
-
-
Constructor Details
-
AbstractEndpoint
-
-
Method Details
-
getBaseUrl
Retrieve the base URL to use to access the endpoint.- Parameters:
service
- the internal service used to access the endpointprefix
- the prefix used for routing external access to the endpoint- Returns:
- the base URL (including any prefix) to use to access the API endpoint
- Throws:
ApiConnectionException
- if no base URL has been defined, and the SDK has not been configured for internal access
-