Skip to content

Commit

Permalink
Merge pull request #31875 from izeye
Browse files Browse the repository at this point in the history
* pr/31875:
  Polish Javadoc for ClientRequestObservationContext constructors

Closes gh-31875
  • Loading branch information
snicoll committed Dec 20, 2023
2 parents 1bd523f + 3162afb commit 7b9037b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,17 @@ public class ClientRequestObservationContext extends RequestReplySenderContext<C

/**
* Create a new Observation context for HTTP client observations.
* @deprecated as of 6.1, in favor of {@link #ClientRequestObservationContext(ClientRequest.Builder)}
* @deprecated as of 6.1.2, in favor of {@link #ClientRequestObservationContext(ClientRequest.Builder)}
*/
@Deprecated(since = "6.1", forRemoval = true)
@Deprecated(since = "6.1.2", forRemoval = true)
public ClientRequestObservationContext() {
super(ClientRequestObservationContext::setRequestHeader);
}

/**
* Create a new Observation context for HTTP client observations.
* @param request client request builder
* @since 6.1.2
*/
public ClientRequestObservationContext(ClientRequest.Builder request) {
super(ClientRequestObservationContext::setRequestHeader);
Expand Down

0 comments on commit 7b9037b

Please sign in to comment.