Class JAXRSModel

java.lang.Object
org.apache.axis2.jaxrs.JAXRSModel

public class JAXRSModel extends Object
  • Constructor Details

    • JAXRSModel

      public JAXRSModel()
  • Method Details

    • 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()