public class ResourceInfo extends java.lang.Object implements java.lang.Comparable<ResourceInfo>
| Constructor and Description |
|---|
ResourceInfo(java.lang.String url,
org.springframework.web.bind.annotation.RequestMethod method) |
ResourceInfo(java.lang.String url,
org.springframework.web.bind.annotation.RequestMethod method,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ResourceInfo o) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription() |
org.springframework.web.bind.annotation.RequestMethod |
getMethod() |
java.lang.String |
getUrl() |
int |
hashCode() |
java.lang.String |
toString() |
public ResourceInfo(java.lang.String url,
org.springframework.web.bind.annotation.RequestMethod method)
public ResourceInfo(java.lang.String url,
org.springframework.web.bind.annotation.RequestMethod method,
java.lang.String description)
public java.lang.String getUrl()
public org.springframework.web.bind.annotation.RequestMethod getMethod()
public java.lang.String getDescription()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(ResourceInfo o)
compareTo in interface java.lang.Comparable<ResourceInfo>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014. All Rights Reserved.