public interface ResourceMethodDescriptor extends ResourceDescriptor, GenericMethodResource
HttpMethod, e.g. GET
and has not Path annotation.| Modifier and Type | Method and Description |
|---|---|
List<javax.ws.rs.core.MediaType> |
consumes()
Get list of
MediaType which current method consumes. |
String |
getHttpMethod()
Get HTTP method name.
|
List<javax.ws.rs.core.MediaType> |
produces()
Get list of
MediaType which current method produces. |
acceptgetAnnotations, getMethod, getMethodParameters, getParentResource, getResponseTypeString getHttpMethod()
List<javax.ws.rs.core.MediaType> consumes()
MediaType which current method consumes.List<javax.ws.rs.core.MediaType> produces()
MediaType which current method produces.Copyright © 2012–2016 Codenvy, S.A.. All rights reserved.