Inspectopedia Help

RESTful Web Service (JAX-RS)

@GET annotated method returns a void value   New in this release

Reports methods annotated with @GET that do not return anything.

@Path class without resource methods   New in this release

Reports classes annotated with @Path that have no resource methods.

Incorrect @Path URI template   New in this release

Reports syntax errors and unused URI templates inside @Path annotations.

Incorrect WADL configuration   New in this release

Reports configuration errors in WADL files.

Incorrect parameter type of resource method   New in this release

Reports resource method parameters (annotated with @PathParam, @QueryParam, and so on) with unsupported types.

Incorrect value of @DefaultValue parameter   New in this release

Reports the value of @DefaultValue if it cannot be converted to the specified type of parameter.

Resource method with multiple HTTP method annotations   New in this release

Reports resource methods with multiple HTTP method annotations (@GET, @POST, @PUT, and so on).

Unresolved @PathParam reference   New in this release

Reports @PathParam parameters that are declared in a method signature and missing in the URL path or visa versa.

Last modified: 11 September 2024