public class DefaultResourceMethod extends java.lang.Object implements ResourceMethod
| Constructor and Description |
|---|
DefaultResourceMethod(ResourceClass resource,
java.lang.reflect.Method method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation) |
boolean |
equals(java.lang.Object obj) |
java.lang.reflect.Method |
getMethod() |
ResourceClass |
getResource() |
int |
hashCode() |
static ResourceMethod |
instanceFor(java.lang.Class<?> type,
java.lang.reflect.Method method) |
java.lang.String |
toString() |
public DefaultResourceMethod(ResourceClass resource, java.lang.reflect.Method method)
public static ResourceMethod instanceFor(java.lang.Class<?> type, java.lang.reflect.Method method)
public java.lang.reflect.Method getMethod()
getMethod in interface ResourceMethodpublic ResourceClass getResource()
getResource in interface ResourceMethodpublic boolean containsAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
containsAnnotation in interface ResourceMethodpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2013 Caelum. All Rights Reserved.