uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

24.3.3 Path specifying an annotation

This subsection describes a path specifying an annotation supported by the JAX-RS engine.

Organization of this subsection
(1) javax.ws.rs.Path annotation

(1) javax.ws.rs.Path annotation

The javax.ws.rs.Path annotation specifies the path of a resource. The annotated class is considered as a root resource class when you use the javax.ws.rs.Path annotation at the class level. The annotated method is considered as a sub-resource method or a sub-resource locator when you use the javax.ws.rs.Path annotation at the method level. You can use the javax.ws.rs.Path annotation in: