Package com.day.cq.dam.scene7.api
Interface Scene7EndpointsManager
-
public interface Scene7EndpointsManager
TheScene7EndpointsManager
is responsible for monitoring and providing endpoints' details to services that need this information.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
API_URL_PROP
static java.lang.String
API_VERSION_PROP
static java.lang.String
DEFAULT_SECURE_PREVIEW_URL_PROP
static java.lang.String
ENDPOINT_RESOURCE_TYPE
static java.lang.String
ENDPOINTS_ROOT_FOLDER
static java.lang.String
IPS_URL_PROP
static java.lang.String
SPS_URL_PROP
static java.lang.String
VIEWERSDK_URL_PROP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.URL
getAPIServer(java.lang.String region)
Returns the URL for the API server corresponding to a region.java.lang.String
getAPIVersion(java.lang.String region)
Returns the API version of servers from a region.java.net.URL
getIPSServer(java.lang.String region)
Returns the URL for the IPS server corresponding to a region.java.util.List<Scene7Endpoint>
getScene7Endpoints()
Returns a list of the registered Scene7 endpoints.java.net.URL
getSPSServer(java.lang.String region)
Returns the URL for the SPS server corresponding to a region.java.net.URL
getViewerSdkServer(java.lang.String region)
Returns the URL for the viewer SDK corresponding to a region.
-
-
-
Field Detail
-
ENDPOINTS_ROOT_FOLDER
static final java.lang.String ENDPOINTS_ROOT_FOLDER
- See Also:
- Constant Field Values
-
ENDPOINT_RESOURCE_TYPE
static final java.lang.String ENDPOINT_RESOURCE_TYPE
- See Also:
- Constant Field Values
-
API_URL_PROP
static final java.lang.String API_URL_PROP
- See Also:
- Constant Field Values
-
IPS_URL_PROP
static final java.lang.String IPS_URL_PROP
- See Also:
- Constant Field Values
-
SPS_URL_PROP
static final java.lang.String SPS_URL_PROP
- See Also:
- Constant Field Values
-
DEFAULT_SECURE_PREVIEW_URL_PROP
static final java.lang.String DEFAULT_SECURE_PREVIEW_URL_PROP
- See Also:
- Constant Field Values
-
VIEWERSDK_URL_PROP
static final java.lang.String VIEWERSDK_URL_PROP
- See Also:
- Constant Field Values
-
API_VERSION_PROP
static final java.lang.String API_VERSION_PROP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAPIServer
java.net.URL getAPIServer(java.lang.String region)
Returns the URL for the API server corresponding to a region.- Parameters:
region
-- Returns:
- an
URL
object representing the API server URL
-
getIPSServer
java.net.URL getIPSServer(java.lang.String region)
Returns the URL for the IPS server corresponding to a region.- Parameters:
region
-- Returns:
- an
URL
object representing the IPS server URL
-
getSPSServer
java.net.URL getSPSServer(java.lang.String region)
Returns the URL for the SPS server corresponding to a region.- Parameters:
region
-- Returns:
- an
URL
object representing the SPS server URL
-
getViewerSdkServer
java.net.URL getViewerSdkServer(java.lang.String region)
Returns the URL for the viewer SDK corresponding to a region.- Parameters:
region
-- Returns:
- an
URL
object representing the viewer SDK URL
-
getAPIVersion
java.lang.String getAPIVersion(java.lang.String region)
Returns the API version of servers from a region.- Parameters:
region
-- Returns:
- API version
-
getScene7Endpoints
java.util.List<Scene7Endpoint> getScene7Endpoints()
Returns a list of the registered Scene7 endpoints.- Returns:
- the endpoints
-
-