Skip to content

Commit

Permalink
Fix javadoc typos on client request content() to body()
Browse files Browse the repository at this point in the history
  • Loading branch information
joakime committed Jan 11, 2024
1 parent 3a867c4 commit 6326c2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* multiPart.close();
* ContentResponse response = client.newRequest("localhost", connector.getLocalPort())
* .method(HttpMethod.POST)
* .content(multiPart)
* .body(multiPart)
* .send();
* </pre>
* <p>The above example would be the equivalent of submitting this form:</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* try (OutputStream output = content.getOutputStream())
* {
* httpClient.newRequest("localhost", 8080)
* .content(content)
* .body(content)
* .send(new Response.CompleteListener()
* {
* &#64;Override
Expand Down

0 comments on commit 6326c2b

Please sign in to comment.