Skip to content

Commit

Permalink
Merge 3723877 into 2.0.0-M2
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Oct 3, 2022
2 parents 53815ba + 9962168 commit 430053e
Showing 1 changed file with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,36 +28,36 @@
*/
public interface HttpClientInfos extends HttpInfos {

/**
* Return the current {@link ContextView} associated with the Mono/Flux exposed
* via {@link HttpClient.ResponseReceiver#response()} or related terminating API.
*
* @return the current user {@link ContextView}
* @since 1.0.0
*/
ContextView currentContextView();
/**
* Return the current {@link ContextView} associated with the Mono/Flux exposed
* via {@link HttpClient.ResponseReceiver#response()} or related terminating API.
*
* @return the current user {@link ContextView}
* @since 1.0.0
*/
ContextView currentContextView();

/**
* Return the previous redirections or empty array
*
* @return the previous redirections or empty array
*/
String[] redirectedFrom();
/**
* Return the previous redirections or empty array
*
* @return the previous redirections or empty array
*/
String[] redirectedFrom();

/**
* Return outbound headers to be sent
*
* @return outbound headers to be sent
*/
HttpHeaders requestHeaders();
/**
* Return outbound headers to be sent
*
* @return outbound headers to be sent
*/
HttpHeaders requestHeaders();

/**
* Return the fully qualified URL of the requested resource. In case of redirects, return the URL the last
* redirect led to.
*
* @return The URL of the retrieved resource. This method can return null in case there was an error before the
* client could create the URL
*/
@Nullable
String resourceUrl();
/**
* Return the fully qualified URL of the requested resource. In case of redirects, return the URL the last
* redirect led to.
*
* @return The URL of the retrieved resource. This method can return null in case there was an error before the
* client could create the URL
*/
@Nullable
String resourceUrl();
}

0 comments on commit 430053e

Please sign in to comment.