spring-hateoas
spring-hateoas copied to clipboard
Add an extension point to customize base uri for WebMvcLinkBuilderFactory#linkTo calls
trafficstars
Hi,
When http requests are made by a servlet that is not Spring MVC servlet the servlet path is missing in URI created with call to WebMvcLinkBuilderFactory#linkTo(java.lang.Object). It's also the case when the calls are not in a http request thread (even the context path is missing in this case).
Is it possible to provide an extension point to be able to customize the base URI path ?
Thanks !