We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From #672:
To assist with early hints, should we add a response method like:
void addLinkHeader(String uri, String relationship, String... attributeValuePairs);
So this could be used like:
response.addLinkHeader("http://example.com/TheBook/chapter2", "previous", "title", "previous chapter" response.addLinkHeader("/", "http://example.net/foo"); response.addLinkHeader("/terms", "copyright", "anchor","#foo");
and would generate the following headers:
Link: <http://example.com/TheBook/chapter2>; rel="previous"; title="previous chapter" Link: </>; rel="http://example.net/foo" Link: </terms>; rel="copyright"; anchor="#foo"
The text was updated successfully, but these errors were encountered:
The use of varargs for attribute value pairs is not the best, but less verbose than Map.of(...)
Sorry, something went wrong.
No branches or pull requests
From #672:
To assist with early hints, should we add a response method like:
So this could be used like:
and would generate the following headers:
The text was updated successfully, but these errors were encountered: