org.apache.axis2.jaxrs
Class JAXRSModel
java.lang.Object
org.apache.axis2.jaxrs.JAXRSModel
public class JAXRSModel
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXRSModel
public JAXRSModel()
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()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.