Class ResourceLocation


  • public class ResourceLocation
    extends java.lang.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 Detail

      • ResourceLocation

        public ResourceLocation()
      • ResourceLocation

        public ResourceLocation​(ApiVersion version,
                                java.lang.String... path)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • parse

        public static ResourceLocation parse​(java.lang.String locationString)