I need to map path with multiple optional arguments to my endpoint
path will look like localhost/func1/1/2/3
or localhost/func1/1
or localhost/func1/1/2
and this path should be correctly matched with
public Double func1(int p1, int p2, int p3){
...
}
What should I use in my annotations?
It's test task to play with Jersey to find a way for using multiple optional params, not to learn REST design.