Package org.opennms.web.rest.api
Class ResourceLocation
- java.lang.Object
-
- org.opennms.web.rest.api.ResourceLocation
-
public class ResourceLocation extends java.lang.ObjectPoints 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, java.lang.String... path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()static ResourceLocationparse(java.lang.String locationString)java.lang.StringtoString()
-
-
-
Constructor Detail
-
ResourceLocation
public ResourceLocation()
-
ResourceLocation
public ResourceLocation(ApiVersion version, java.lang.String... path)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
parse
public static ResourceLocation parse(java.lang.String locationString)
-
-