Class ZulipUrlUtils
java.lang.Object
com.github.jamesnetherton.zulip.client.util.ZulipUrlUtils
A utility class to resolve API endpoint.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic URL
getZulipApiUrl
(String baseUrl) Returns the URL to a Zulip API endpoint.
-
Field Details
-
API
- See Also:
-
V1
- See Also:
-
API_BASE_PATH
- See Also:
-
-
Method Details
-
getZulipApiUrl
Returns the URL to a Zulip API endpoint.- Parameters:
baseUrl
- The base URL of the Zulip server- Returns:
- The
URL
of the Zulip API - Throws:
MalformedURLException
- if the URL is invalid
-