Class DefaultEndpointURLResolver
- java.lang.Object
-
- org.openstack4j.openstack.identity.internal.DefaultEndpointURLResolver
-
- All Implemented Interfaces:
EndpointURLResolver
public class DefaultEndpointURLResolver extends Object implements EndpointURLResolver
Resolves an Endpoint URL based on the Service Type and Facing perspective- Author:
- Jeremy Unruh
-
-
Field Summary
-
Fields inherited from interface org.openstack4j.api.identity.EndpointURLResolver
LEGACY_EP_RESOLVING_PROP
-
-
Constructor Summary
Constructors Constructor Description DefaultEndpointURLResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfindURLV2(URLResolverParams p)Resolves the given ServiceType and Facing perspective down to a single URL used in identity v2StringfindURLV3(URLResolverParams p)Resolves the given ServiceType and Facing perspective down to a single URL used in identity v3
-
-
-
Method Detail
-
findURLV2
public String findURLV2(URLResolverParams p)
Description copied from interface:EndpointURLResolverResolves the given ServiceType and Facing perspective down to a single URL used in identity v2- Specified by:
findURLV2in interfaceEndpointURLResolver- Parameters:
p- URLResolverParams containing mandatory and optional params- Returns:
- the URL of the Endpoint
-
findURLV3
public String findURLV3(URLResolverParams p)
Description copied from interface:EndpointURLResolverResolves the given ServiceType and Facing perspective down to a single URL used in identity v3- Specified by:
findURLV3in interfaceEndpointURLResolver- Parameters:
p- URLResolverParams containing mandatory and optional params- Returns:
- the URL of the Endpoint
-
-