com.holonplatform.jaxrs.examples

## Class ExampleSwagger.Subjects2

- java.lang.Object
- - com.holonplatform.jaxrs.examples.ExampleSwagger.Subjects2

- Enclosing class:
    ExampleSwagger

      @Path(value="subjects")
      public class ExampleSwagger.Subjects2
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Subjects2()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | `create(com.holonplatform.core.property.PropertyBox subject)`
    `com.holonplatform.core.property.PropertyBox` | `getById(int id)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Subjects2

          public Subjects2()

  - ### Method Detail

    - #### getById

          @GET
           @Path(value="{id}")
           @Produces(value="application/json")
          public com.holonplatform.core.property.PropertyBox getById(@PathParam(value="id")
                                                                                                                                       int id)

    - #### create

          @PUT
           @Path(value="")
           @Consumes(value="application/json")
          public javax.ws.rs.core.Response create(com.holonplatform.core.property.PropertyBox subject)

Copyright © 2019 The Holon Platform. All rights reserved.