From 37238778838433d3943d59c8a7518be94b950130 Mon Sep 17 00:00:00 2001 From: Violeta Georgieva Date: Mon, 3 Oct 2022 12:20:01 +0300 Subject: [PATCH] Polish --- .../netty/http/client/HttpClientInfos.java | 80 +++++++++---------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/reactor-netty-http/src/main/java/reactor/netty/http/client/HttpClientInfos.java b/reactor-netty-http/src/main/java/reactor/netty/http/client/HttpClientInfos.java index 8b22506412..37dacee695 100644 --- a/reactor-netty-http/src/main/java/reactor/netty/http/client/HttpClientInfos.java +++ b/reactor-netty-http/src/main/java/reactor/netty/http/client/HttpClientInfos.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 VMware, Inc. or its affiliates, All Rights Reserved. + * Copyright (c) 2019-2022 VMware, Inc. or its affiliates, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,47 +29,47 @@ */ public interface HttpClientInfos extends HttpInfos { - /** - * Return the current {@link Context} associated with the Mono/Flux exposed - * via {@link HttpClient.ResponseReceiver#response()} or related terminating API. - * - * @return the current user {@link Context} - * @deprecated Use {@link #currentContextView()}. This method - * will be removed in version 1.1.0. - */ - @Deprecated - Context currentContext(); + /** + * Return the current {@link Context} associated with the Mono/Flux exposed + * via {@link HttpClient.ResponseReceiver#response()} or related terminating API. + * + * @return the current user {@link Context} + * @deprecated Use {@link #currentContextView()}. This method + * will be removed in version 1.1.0. + */ + @Deprecated + Context currentContext(); - /** - * 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(); }