Skip to content

Error in RequestEntity<T>'s javadoc [SPR-13666] #18241

New issue

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

Closed
spring-projects-issues opened this issue Nov 10, 2015 · 1 comment
Closed

Error in RequestEntity<T>'s javadoc [SPR-13666] #18241

spring-projects-issues opened this issue Nov 10, 2015 · 1 comment
Assignees
Labels
status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Manuel Jordan opened SPR-13666 and commented

Hello

In RequestEntity says

RequestEntity<MyRequest> request = RequestEntity.post(new URI("http://example.com/bar").accept(MediaType.APPLICATION_JSON).body(body);

Must be

RequestEntity<MyRequest> request = RequestEntity.post(new URI("http://example.com/bar")).accept(MediaType.APPLICATION_JSON).body(body);

Affects: 4.1 GA, 4.2 GA

Backported to: 4.1.9

@spring-projects-issues
Copy link
Collaborator Author

Manuel Jordan commented

Other error

says:

URI uri = new UriTemplate("http://example.com/{foo}"").expand("bar");

Must be

URI uri = new UriTemplate("http://example.com/{foo}").expand("bar");

@spring-projects-issues spring-projects-issues added status: backported An issue that has been backported to maintenance branches type: documentation A documentation task labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.2.3 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

2 participants