Comments (4)
LinkBuilder
interface is happily awaiting new implementations. :) To be honest, this seems to be something that should be filed against ServletUriComponentsBuilder
in Spring framework as it seems to be a reasonable enhancement.
from spring-hateoas.
In terms of enhancing the behavior of ServletUriComponentsBuilder:
ServletUriComponentsBuilder builder = ServletUriComponentsBuilder.fromCurrentRequestUri();
String forwardedHost = request.getHeader("X-Forwarded-Host");
if (forwardedHost) {
builder.host(fowardedHost);
}
I agree that filing a ticket in SPR JIRA is appropriate.
from spring-hateoas.
Thanks. I have just opened an issue on Spring JIRA.
from spring-hateoas.
Added a temporary fix to ControllerLinkBuilder
until the issue is solved in Spring Framework.
from spring-hateoas.
Related Issues (20)
- Upgrade to Kotlin 1.8.20
- Upgrade to ArchUnit 1.0.1
- Upgrade build plugins
- Release 2.1 RC1
- MappingJackson2HttpMessageConverter and _halObjectMapper not working with spring-hateos 2.0.1 and spring boot 3 HOT 1
- Support Java 17 records as RepresentationModel's HOT 2
- Upgrade to Jackson 2.15
- Cannot build link using Spring-MVC and router functions dsl HOT 1
- Optional support for Validation API still on `javax.…` namespace HOT 1
- Optional support for Validation API still on `javax.…` namespace
- Upgrade to Kotlin 1.8.21
- Upgrade to Spring 6.0.9
- Upgrade to Spring 6.0.9
- Upgrade to Jackson 2.14.3
- Upgrade to Reactor 2022.0.7
- Upgrade to Reactor 2022.0.7
- Why is it not a ‘_ embedded’ in the RepresentationModel?
- Release 2.0.4
- Release 2.1.0
- Changing `JsonPathProvider` to Jackson breaks the `JsonPathLinkDiscoverer` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-hateoas.