Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.axis2.jaxrs
Class JAXRSModel

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

    public class JAXRSModel

extends Object

Constructor Summary
`JAXRSModel()`

Method Summary
`String` | `getConsumes()` only returns the one mime type as wsdl 2.0 can publish only one mime type for an operation
`String` | `getHTTPMethod()`
`String` | `getPath()` getter methods
`String` | `getProduces()` only returns the one mime type as wsdl 2.0 can publish only one mime type for an operation
`void` | `setConsumes(String consumes)`
`void` | `setHTTPMethod(String httpmethod)`
`void` | `setPath(String path)`
`void` | `setProduces(String produces)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JAXRSModel

    public JAXRSModel()

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.