org.apache.clerezza.triaxrs
Class MethodDescriptor

java.lang.Object
  extended by 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

Method Summary
 int compareTo(MethodDescriptor o)
           
 Method getMethod()
           
 URITemplate getUriTemplate()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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.