@Path("/assetViewCount/{path}")
above annotation can be used to retrive myValue into path for url like /assetViewCount/myValue.
How can I get myValue/nextValue from /assetViewCount/myValue/nextValue in path
@Path("/assetViewCount/{path}")
above annotation can be used to retrive myValue into path for url like /assetViewCount/myValue.
How can I get myValue/nextValue from /assetViewCount/myValue/nextValue in path
Actually I found the solution to my problem, following annotation gives whatever there is after /assetViewCount/ into {path}
@Path("/assetViewCount/{path:.*}")
You can use an embedded parameter in Path like this:
@Path("/assetViewCount/{path}/nextValue")