Inspectopedia 2025.2 Help

RESTful Web Service (JAX-RS)

@GET annotated method returns a void value  

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

@Path class without resource methods  

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

Incorrect @Path URI template  

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

Incorrect value of @DefaultValue parameter  

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

Incorrect WADL configuration  

Reports configuration errors in WADL files.

Resource method with multiple HTTP method annotations  

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

Unresolved @PathParam reference  

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

Last modified: 18 September 2025