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