Package org.opennms.web.rest.api
Class ResourceLocation
- java.lang.Object
-
- org.opennms.web.rest.api.ResourceLocation
-
public class ResourceLocation extends Object
Points to the resource location of a certain resource to not have a client worry about where to find an element, e.g. http://localhost:8980/opennms/api/v2/business-services/1. The ResourceLocation always assumes a valid result with HTTP-Method: GET.
-
-
Constructor Summary
Constructors Constructor Description ResourceLocation()
ResourceLocation(ApiVersion version, String... path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
static ResourceLocation
parse(String locationString)
String
toString()
-
-
-
Constructor Detail
-
ResourceLocation
public ResourceLocation()
-
ResourceLocation
public ResourceLocation(ApiVersion version, String... path)
-
-