Class PetStore
java.lang.Object
org.apache.cxf.jaxrs.model.wadl.petstore.PetStore
The Pet Store
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
Return Pet Status with no paramsjavax.ws.rs.core.Response
getStatus1Param
(String petId) Return Pet Status With 1 Paramjavax.ws.rs.core.Response
getStatus2Params
(String petId, String query) Return Pet Status with 2 paramsjavax.ws.rs.core.Response
getStatus3Params
(String petId, String query, String query2) Return Pet Status With 3 Params
-
Field Details
-
CLOSED
- See Also:
-
-
Constructor Details
-
PetStore
public PetStore()
-
-
Method Details
-
getBaseStatus
Return Pet Status with no params- Returns:
- status
- Throws:
Exception
-
getStatus2Params
@GET @Path("/petstore/pets/{petId}/") @Produces("text/xml") public javax.ws.rs.core.Response getStatus2Params(@PathParam("petId") String petId, @QueryParam("query") String query) throws Exception Return Pet Status with 2 params- Parameters:
petId
- the pet idquery
- the query- Returns:
- status
- Throws:
Exception
-
getStatus1Param
@GET @Path("/petstore/pets/id/{petId}/") @Produces("text/xml") public javax.ws.rs.core.Response getStatus1Param(@PathParam("petId") String petId) throws Exception Return Pet Status With 1 Param- Parameters:
petId
- the pet id- Returns:
- status
- Throws:
Exception
-
getStatus3Params
@GET @Path("/petstore/pets/{petId}/") @Produces("text/xml") public javax.ws.rs.core.Response getStatus3Params(@PathParam("petId") String petId, @QueryParam("query") String query, @QueryParam("query2") String query2) throws Exception Return Pet Status With 3 Params- Parameters:
petId
- the pet idquery
- the queryquery2
- the query2- Returns:
- status
- Throws:
Exception
-