org.trialox.jaxrs
Class MethodDescriptor
java.lang.Object
org.trialox.jaxrs.MethodDescriptor
- All Implemented Interfaces:
- java.lang.Comparable<MethodDescriptor>
public class MethodDescriptor
- extends java.lang.Object
- implements java.lang.Comparable<MethodDescriptor>
Describes a sub-resource method or sub-resource locator.
Sortable using literal characters in each member as the primary key (descending
order), the number of capturing groups as a secondary key (descending order), and the source
of each member as tertiary key sorting sub-resource methods ahead of sub-resource locators.
- Author:
- reto
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getMethod
public java.lang.reflect.Method getMethod()
getUriTemplate
public URITemplate getUriTemplate()
compareTo
public int compareTo(MethodDescriptor o)
- Specified by:
compareTo in interface java.lang.Comparable<MethodDescriptor>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008. All Rights Reserved.