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 void
addNameBindings(List<String> names)
Method
getAnnotatedMethod()
ClassResourceInfo
getClassResourceInfo()
List<javax.ws.rs.core.MediaType>
getConsumeTypes()
String
getDefaultParameterValue()
String
getHttpMethod()
Type[]
getInGenericParameterTypes()
Annotation[][]
getInParameterAnnotations()
Class<?>[]
getInParameterTypes()
Method
getMethodToInvoke()
Set<String>
getNameBindings()
Annotation[]
getOutAnnotations()
List<Parameter>
getParameters()
List<javax.ws.rs.core.MediaType>
getProduceTypes()
URITemplate
getURITemplate()
boolean
isAsync()
boolean
isEncodedEnabled()
boolean
isOneway()
boolean
isSubResourceLocator()
void
setHttpMethod(String m)
void
setMethodToInvoke(Method m)
void
setURITemplate(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()
-
-