spring-hateoas icon indicating copy to clipboard operation
spring-hateoas copied to clipboard

Add an extension point to customize base uri for WebMvcLinkBuilderFactory#linkTo calls

Open scional opened this issue 2 years ago • 0 comments
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 !

scional avatar Jul 03 '23 14:07 scional