Class OptionsRequestResourceMethodDescriptorImpl
java.lang.Object
org.exoplatform.services.rest.impl.resource.ResourceMethodDescriptorImpl
org.exoplatform.services.rest.impl.resource.OptionsRequestResourceMethodDescriptorImpl
- All Implemented Interfaces:
GenericMethodResource,ResourceDescriptor,ResourceMethodDescriptor
- Version:
- $Id: $
- Author:
- Andrey Parfonov
-
Constructor Summary
ConstructorsConstructorDescriptionOptionsRequestResourceMethodDescriptorImpl(Method method, String httpMethod, List<MethodParameter> parameters, AbstractResourceDescriptor parentResource, List<javax.ws.rs.core.MediaType> consumes, List<javax.ws.rs.core.MediaType> produces, MethodInvoker invoker) -
Method Summary
Methods inherited from class org.exoplatform.services.rest.impl.resource.ResourceMethodDescriptorImpl
accept, consumes, getHttpMethod, getMethod, getMethodInvoker, getMethodParameters, getParentResource, produces, toString
-
Constructor Details
-
OptionsRequestResourceMethodDescriptorImpl
public OptionsRequestResourceMethodDescriptorImpl(Method method, String httpMethod, List<MethodParameter> parameters, AbstractResourceDescriptor parentResource, List<javax.ws.rs.core.MediaType> consumes, List<javax.ws.rs.core.MediaType> produces, MethodInvoker invoker) - Parameters:
method- SeeMethodhttpMethod- HTTP request method designatorparameters- list of method parameters. SeeMethodParameterparentResource- parent resource for this methodconsumes- list of media types which this method can consumeproduces- list of media types which this method can produceinvoker- method invoker
-
-
Method Details
-
getResponseType
- Specified by:
getResponseTypein interfaceGenericMethodResource- Overrides:
getResponseTypein classResourceMethodDescriptorImpl- Returns:
- Java type returned by method, see
GenericMethodResource.getMethod()
-