Presence of javax.ws.rs.Path annotation on class signature determines
whether an endpoint is shown in the "RESTful Web Services" node in the
Projects window.

Gj

On Fri, Dec 29, 2017 at 10:58 AM, Diederick de Vries
<[email protected]> wrote:
> Hi,
>
> I'm working on a Spring Boot project. I know that NetBeans 8.2 can show
> (restful) http endpoints in the projects tree, but somehow they're not
> showing in this project.
>
> I think I'm using a standard way to formulate my endpoints:
>
> @RequestMapping(value = "/add", method = RequestMethod.PUT, consumes =
> MediaType.APPLICATION_FORM_URLENCODED_VALUE)
>     public @ResponseBody ResponseEntity<Object> add(String name) {...}
>
> What is needed to make NetBeans discover and show them?
>
> Cheers,
> Diederick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to