public class ResourceMethodDescriptorImpl extends Object implements ResourceMethodDescriptor
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ResourceDescriptorVisitor visitor)
Method is useful for validation.
|
List<javax.ws.rs.core.MediaType> |
consumes()
Get list of
MediaType which current method consumes. |
Annotation[] |
getAnnotations()
Get set or additional (not JAX-RS specific) annotation.
|
String |
getHttpMethod()
Get HTTP method name.
|
Method |
getMethod() |
List<MethodParameter> |
getMethodParameters() |
AbstractResourceDescriptor |
getParentResource() |
Class<?> |
getResponseType() |
List<javax.ws.rs.core.MediaType> |
produces()
Get list of
MediaType which current method produces. |
String |
toString() |
public Method getMethod()
getMethod in interface GenericMethodResourceMethodpublic List<MethodParameter> getMethodParameters()
getMethodParameters in interface GenericMethodResourcepublic AbstractResourceDescriptor getParentResource()
getParentResource in interface GenericMethodResourcepublic void accept(ResourceDescriptorVisitor visitor)
ResourceDescriptoraccept in interface ResourceDescriptorvisitor - See ResourceDescriptorVisitorpublic List<javax.ws.rs.core.MediaType> consumes()
ResourceMethodDescriptorMediaType which current method consumes.consumes in interface ResourceMethodDescriptorpublic String getHttpMethod()
ResourceMethodDescriptorgetHttpMethod in interface ResourceMethodDescriptorpublic List<javax.ws.rs.core.MediaType> produces()
ResourceMethodDescriptorMediaType which current method produces.produces in interface ResourceMethodDescriptorpublic Class<?> getResponseType()
getResponseType in interface GenericMethodResourceGenericMethodResource.getMethod()public Annotation[] getAnnotations()
GenericMethodResourcegetAnnotations in interface GenericMethodResourceCopyright © 2015. All rights reserved.