Package org.apache.cxf.jaxrs.model
Class OperationResourceInfo
- java.lang.Object
-
- org.apache.cxf.jaxrs.model.OperationResourceInfo
-
public class OperationResourceInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description OperationResourceInfo(Method mInvoke, Method mAnnotated, ClassResourceInfo cri)OperationResourceInfo(Method mInvoke, ClassResourceInfo cri)OperationResourceInfo(Method m, ClassResourceInfo cri, URITemplate template, String httpVerb, String consumeMediaTypes, String produceMediaTypes, List<Parameter> params, boolean oneway)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNameBindings(List<String> names)MethodgetAnnotatedMethod()ClassResourceInfogetClassResourceInfo()List<javax.ws.rs.core.MediaType>getConsumeTypes()StringgetDefaultParameterValue()StringgetHttpMethod()Type[]getInGenericParameterTypes()Annotation[][]getInParameterAnnotations()Class<?>[]getInParameterTypes()MethodgetMethodToInvoke()Set<String>getNameBindings()Annotation[]getOutAnnotations()List<Parameter>getParameters()List<javax.ws.rs.core.MediaType>getProduceTypes()URITemplategetURITemplate()booleanisAsync()booleanisEncodedEnabled()booleanisOneway()booleanisSubResourceLocator()voidsetHttpMethod(String m)voidsetMethodToInvoke(Method m)voidsetURITemplate(URITemplate u)
-
-
-
Constructor Detail
-
OperationResourceInfo
public OperationResourceInfo(Method mInvoke, ClassResourceInfo cri)
-
OperationResourceInfo
public OperationResourceInfo(Method mInvoke, Method mAnnotated, ClassResourceInfo cri)
-
OperationResourceInfo
public OperationResourceInfo(Method m, ClassResourceInfo cri, URITemplate template, String httpVerb, String consumeMediaTypes, String produceMediaTypes, List<Parameter> params, boolean oneway)
-
-
Method Detail
-
isOneway
public boolean isOneway()
-
isAsync
public boolean isAsync()
-
getURITemplate
public URITemplate getURITemplate()
-
setURITemplate
public void setURITemplate(URITemplate u)
-
getClassResourceInfo
public ClassResourceInfo getClassResourceInfo()
-
getMethodToInvoke
public Method getMethodToInvoke()
-
getAnnotatedMethod
public Method getAnnotatedMethod()
-
setMethodToInvoke
public void setMethodToInvoke(Method m)
-
getHttpMethod
public String getHttpMethod()
-
setHttpMethod
public void setHttpMethod(String m)
-
isSubResourceLocator
public boolean isSubResourceLocator()
-
getProduceTypes
public List<javax.ws.rs.core.MediaType> getProduceTypes()
-
getConsumeTypes
public List<javax.ws.rs.core.MediaType> getConsumeTypes()
-
isEncodedEnabled
public boolean isEncodedEnabled()
-
getDefaultParameterValue
public String getDefaultParameterValue()
-
getInParameterAnnotations
public Annotation[][] getInParameterAnnotations()
-
getInGenericParameterTypes
public Type[] getInGenericParameterTypes()
-
getInParameterTypes
public Class<?>[] getInParameterTypes()
-
getOutAnnotations
public Annotation[] getOutAnnotations()
-
-