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 String
getConsumes()
only returns the one mime type as wsdl 2.0 can publish only one mime type for an operationString
getHTTPMethod()
String
getPath()
getter methodsString
getProduces()
only returns the one mime type as wsdl 2.0 can publish only one mime type for an operationvoid
setConsumes(String consumes)
void
setHTTPMethod(String httpmethod)
void
setPath(String path)
void
setProduces(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()
-
-