| .. | .. |
|---|
| 22 | 22 | @Path("/api") |
|---|
| 23 | 23 | public class ApiResource { |
|---|
| 24 | 24 | |
|---|
| 25 | | - @SuppressWarnings("unused") |
|---|
| 26 | | - private static final Logger LOG = LogManager.getLogger(ApiResource.class); |
|---|
| 25 | + @SuppressWarnings("unused") |
|---|
| 26 | + private static final Logger LOG = LogManager.getLogger(ApiResource.class); |
|---|
| 27 | 27 | |
|---|
| 28 | | - @Inject |
|---|
| 29 | | - TokenHelper tokenHelper; |
|---|
| 28 | + @Inject |
|---|
| 29 | + TokenHelper tokenHelper; |
|---|
| 30 | 30 | |
|---|
| 31 | | - @Inject |
|---|
| 32 | | - Provider<EntityManager> emProvider; |
|---|
| 31 | + @Inject |
|---|
| 32 | + Provider<EntityManager> emProvider; |
|---|
| 33 | 33 | |
|---|
| 34 | | - public ApiResource() { |
|---|
| 35 | | - } |
|---|
| 34 | + public ApiResource() {} |
|---|
| 36 | 35 | |
|---|
| 37 | | - /** |
|---|
| 38 | | - * |
|---|
| 39 | | - * @return Simple text message to check API status |
|---|
| 40 | | - */ |
|---|
| 41 | | - @GET |
|---|
| 42 | | - @Path("/") |
|---|
| 43 | | - @Produces( |
|---|
| 44 | | - { MediaType.TEXT_PLAIN }) |
|---|
| 45 | | - public Response index() { |
|---|
| 46 | | - return Response.ok("SeCuris API").build(); |
|---|
| 47 | | - } |
|---|
| 36 | + /** |
|---|
| 37 | + * |
|---|
| 38 | + * @return Simple text message to check API status |
|---|
| 39 | + */ |
|---|
| 40 | + @GET |
|---|
| 41 | + @Path("/") |
|---|
| 42 | + @Produces({ MediaType.TEXT_PLAIN }) |
|---|
| 43 | + public Response index() { |
|---|
| 44 | + return Response.ok("SeCuris API").build(); |
|---|
| 45 | + } |
|---|
| 48 | 46 | |
|---|
| 49 | 47 | } |
|---|