-1

Just wanted to know, if there is a way, I can find out the list of implemented rest services which are using Jersey.

Thanks

pranaysampat
  • 89
  • 1
  • 5
  • This isn't clear. What is your definition of "implemented rest service" in this context? Do you mean a list of Jersey resource class/methods? – Oliver Charlesworth Mar 05 '18 at 20:32
  • Sorry! ** I already have tons of working rest services which do certain thing **, what I want to get is the list of all those working/implemented services. – pranaysampat Mar 05 '18 at 20:34
  • Dropwizard uses Jersey and does a fairly nice job of displaying configured endpoints, is that what you need? Take a look at https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/DropwizardResourceConfig.java#L127 – Michael Barnwell Mar 05 '18 at 20:35
  • @MichaelBarnwell, I guess this should do the trick. Thanks – pranaysampat Mar 05 '18 at 20:39

2 Answers2

0

Also can use the following link, it has the nice implementation of dropwizard Michael was talking about

Listing all deployed rest endpoints (spring-boot, jersey)

pranaysampat
  • 89
  • 1
  • 5
0

I suppose you can get the same functionality by using using an Aspect.

akortex
  • 5,067
  • 2
  • 25
  • 57