|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.trialox.jaxrs.util.SortableMethod
public class SortableMethod
utility class to make a method sortable
| Constructor Summary | |
|---|---|
SortableMethod(WebRequest request,
java.lang.reflect.Method m,
javax.ws.rs.Path p,
java.lang.String pav,
java.lang.String sp)
constructor |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
make a method comparable Compares this object with the specified object for order. |
QualityMediaType |
getMediaType()
get media type for this request |
java.lang.reflect.Method |
getMethod()
getter |
javax.ws.rs.Path |
getPathAnnotation()
|
java.lang.String |
getPathAnnotationValue()
|
java.lang.String |
getSubPath()
|
protected int |
matchingMediaType(java.lang.String consumeMimeValue,
QualityMediaType first,
QualityMediaType second)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SortableMethod(WebRequest request,
java.lang.reflect.Method m,
javax.ws.rs.Path p,
java.lang.String pav,
java.lang.String sp)
| Method Detail |
|---|
public QualityMediaType getMediaType()
throws org.wymiwyg.wrhapi.HandlerException,
java.text.ParseException
org.wymiwyg.wrhapi.HandlerException
java.text.ParseException
protected int matchingMediaType(java.lang.String consumeMimeValue,
QualityMediaType first,
QualityMediaType second)
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.reflect.Method getMethod()
public javax.ws.rs.Path getPathAnnotation()
public java.lang.String getPathAnnotationValue()
public java.lang.String getSubPath()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||