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 ResourceMethod
public ResourceClass getResource()
getResource
in interface ResourceMethod
public boolean containsAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
containsAnnotation
in interface ResourceMethod
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2013 Caelum. All Rights Reserved.