public class SubResourceMethodDescriptorImpl extends Object implements SubResourceMethodDescriptor
| 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() |
PathValue |
getPathValue() |
Class<?> |
getResponseType() |
UriPattern |
getUriPattern() |
List<javax.ws.rs.core.MediaType> |
produces()
Get list of
MediaType which current method produces. |
String |
toString() |
public 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 void accept(ResourceDescriptorVisitor visitor)
ResourceDescriptoraccept in interface ResourceDescriptorvisitor - See ResourceDescriptorVisitorpublic PathValue getPathValue()
getPathValue in interface SubResourceMethodDescriptorPathValuepublic UriPattern getUriPattern()
getUriPattern in interface SubResourceMethodDescriptorUriPatternpublic Method getMethod()
getMethod in interface GenericMethodResourceMethodpublic List<MethodParameter> getMethodParameters()
getMethodParameters in interface GenericMethodResourcepublic AbstractResourceDescriptor getParentResource()
getParentResource in interface GenericMethodResourcepublic Class<?> getResponseType()
getResponseType in interface GenericMethodResourceGenericMethodResource.getMethod()public Annotation[] getAnnotations()
GenericMethodResourcegetAnnotations in interface GenericMethodResourceCopyright © 2015. All rights reserved.