Class ViewPath

  • All Implemented Interfaces:
    java.lang.Comparable<ViewPath>

    public class ViewPath
    extends java.lang.Object
    implements java.lang.Comparable<ViewPath>
    Represents template rest method.
    Since:
    03.12.2018
    • Constructor Summary

      Constructors 
      Constructor Description
      ViewPath​(org.glassfish.jersey.server.model.ResourceMethod method, org.glassfish.jersey.server.model.Resource resource, java.lang.Class<?> resourceType, java.lang.String url)  
    • Constructor Detail

      • ViewPath

        public ViewPath​(org.glassfish.jersey.server.model.ResourceMethod method,
                        org.glassfish.jersey.server.model.Resource resource,
                        java.lang.Class<?> resourceType,
                        java.lang.String url)
    • Method Detail

      • getMethod

        public org.glassfish.jersey.server.model.ResourceMethod getMethod()
        Returns:
        resource method
      • getResource

        public org.glassfish.jersey.server.model.Resource getResource()
        Returns:
        resource
      • getResourceType

        public java.lang.Class<?> getResourceType()
        Returns:
        resource class
      • getUrl

        public java.lang.String getUrl()
        Returns:
        rest mapping url
      • toString

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

        public int compareTo​(ViewPath o)
        Specified by:
        compareTo in interface java.lang.Comparable<ViewPath>
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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