I'm creating a web application containing RESTful webservices and I was wondering how I can properly integrate HDIV with this part of my webapp.

For now, I'm defining each webservice URL as startPage:

<hdiv:startPages>/ws/ws1,/ws/ws2,...</hdiv:startPages>

Is there a way to change that? does <hdiv:startPages>/ws/*</hdiv:startPages> or something like that exists?

有帮助吗?

解决方案

You can use Java patterns to define start pages:

<hdiv:startPages>/ws/.*</hdiv:startPages>

Anyway, you can try Spring HATEOAS and Hdiv's experimental integration to securize the REST services.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top