Package org.apache.axis2.jaxrs
Class JAXRSModel
- java.lang.Object
-
- org.apache.axis2.jaxrs.JAXRSModel
-
public class JAXRSModel extends Object
-
-
Constructor Summary
Constructors Constructor Description JAXRSModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConsumes()only returns the one mime type as wsdl 2.0 can publish only one mime type for an operationStringgetHTTPMethod()StringgetPath()getter methodsStringgetProduces()only returns the one mime type as wsdl 2.0 can publish only one mime type for an operationvoidsetConsumes(String consumes)voidsetHTTPMethod(String httpmethod)voidsetPath(String path)voidsetProduces(String produces)
-
-
-
Method Detail
-
setPath
public void setPath(String path)
-
setConsumes
public void setConsumes(String consumes)
-
setProduces
public void setProduces(String produces)
-
setHTTPMethod
public void setHTTPMethod(String httpmethod)
-
getPath
public String getPath()
getter methods
-
getConsumes
public String getConsumes()
only returns the one mime type as wsdl 2.0 can publish only one mime type for an operation- Returns:
-
getProduces
public String getProduces()
only returns the one mime type as wsdl 2.0 can publish only one mime type for an operation- Returns:
-
getHTTPMethod
public String getHTTPMethod()
-
-