org.apache.clerezza.triaxrs
Class MethodDescriptor
java.lang.Object
org.apache.clerezza.triaxrs.MethodDescriptor
- All Implemented Interfaces:
- Comparable<MethodDescriptor>
public class MethodDescriptor
- extends Object
- implements 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
getMethod
public Method getMethod()
getUriTemplate
public URITemplate getUriTemplate()
compareTo
public int compareTo(MethodDescriptor o)
- Specified by:
compareTo in interface Comparable<MethodDescriptor>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.