Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top