java.lang.Object
org.apache.cxf.jaxrs.model.wadl.petstore.PetStore

@Path("/") public class PetStore extends Object
The Pet Store
  • Field Details

  • Constructor Details

    • PetStore

      public PetStore()
  • Method Details

    • getBaseStatus

      @GET @Produces("text/plain") public javax.ws.rs.core.Response getBaseStatus() throws Exception
      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 id
      query - 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 id
      query - the query
      query2 - the query2
      Returns:
      status
      Throws:
      Exception