public class AbstractResourceMethod extends AbstractMethod implements Parameterized, AbstractModelComponent
| Constructor and Description |
|---|
AbstractResourceMethod(AbstractResource resource,
Method method,
Class returnType,
Type genericReturnType,
String httpMethod,
Annotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AbstractModelVisitor visitor) |
boolean |
areInputTypesDeclared() |
boolean |
areOutputTypesDeclared() |
List<AbstractModelComponent> |
getComponents() |
AbstractResource |
getDeclaringResource() |
Type |
getGenericReturnType() |
String |
getHttpMethod() |
List<Parameter> |
getParameters() |
Class |
getReturnType() |
List<javax.ws.rs.core.MediaType> |
getSupportedInputTypes() |
List<javax.ws.rs.core.MediaType> |
getSupportedOutputTypes() |
boolean |
hasEntity() |
void |
setAreInputTypesDeclared(boolean declared) |
void |
setAreOutputTypesDeclared(boolean declared) |
String |
toString() |
getAnnotation, getAnnotations, getDeclaredAnnotations, getMethod, getResource, isAnnotationPresentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByTypepublic AbstractResourceMethod(AbstractResource resource, Method method, Class returnType, Type genericReturnType, String httpMethod, Annotation[] annotations)
public AbstractResource getDeclaringResource()
public Class getReturnType()
public Type getGenericReturnType()
public List<javax.ws.rs.core.MediaType> getSupportedInputTypes()
public void setAreInputTypesDeclared(boolean declared)
public boolean areInputTypesDeclared()
public List<javax.ws.rs.core.MediaType> getSupportedOutputTypes()
public void setAreOutputTypesDeclared(boolean declared)
public boolean areOutputTypesDeclared()
public String getHttpMethod()
public boolean hasEntity()
public List<Parameter> getParameters()
getParameters in interface Parameterizedpublic void accept(AbstractModelVisitor visitor)
accept in interface AbstractModelComponentpublic List<AbstractModelComponent> getComponents()
getComponents in interface AbstractModelComponentCopyright © 2016 Oracle Corporation. All rights reserved.