Improve Javadoc for ClientRequest#from

See gh-27220
This commit is contained in:
Alexej Timonin
2021-07-30 21:32:36 +02:00
committed by Rossen Stoyanchev
parent 8670b1c3f0
commit e290ae285c
2 changed files with 37 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -125,8 +125,8 @@ public interface ClientRequest {
// Static builder methods
/**
* Create a builder with the method, URI, headers, and cookies of the given request.
* @param other the request to copy the method, URI, headers, and cookies from
* Create a builder with the method, URI, headers, cookies, attributes, and body of the given request.
* @param other the request to copy the method, URI, headers, cookies, attributes, and body from
* @return the created builder
*/
static Builder from(ClientRequest other) {