From 29d78fe7b70da9cb487edac998ae18cbdefa0843 Mon Sep 17 00:00:00 2001 From: Violeta Georgieva Date: Wed, 6 Jul 2022 15:00:11 +0300 Subject: [PATCH] [doc] Update Reactive Streams version in the reference documentation Ensure the examples code is fully visible --- docs/asciidoc/getting-started.adoc | 2 +- docs/asciidoc/http-client-conn-provider.adoc | 2 +- docs/asciidoc/http-client.adoc | 6 +++--- docs/asciidoc/proxy.adoc | 2 +- docs/asciidoc/wire-logger.adoc | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/asciidoc/getting-started.adoc b/docs/asciidoc/getting-started.adoc index e0d81ce778..c807d90382 100644 --- a/docs/asciidoc/getting-started.adoc +++ b/docs/asciidoc/getting-started.adoc @@ -22,7 +22,7 @@ backpressure-ready network engines for `HTTP` (including Websockets), `TCP`, and It has transitive dependencies on: -* Reactive Streams v1.0.3 +* Reactive Streams v1.0.4 * Reactor Core v3.x * Netty v4.1.x diff --git a/docs/asciidoc/http-client-conn-provider.adoc b/docs/asciidoc/http-client-conn-provider.adoc index 80efeade3c..8246d8f197 100644 --- a/docs/asciidoc/http-client-conn-provider.adoc +++ b/docs/asciidoc/http-client-conn-provider.adoc @@ -12,7 +12,7 @@ and further attempts are declined with an error. [source,java,indent=0] ../../../reactor-netty-core/src/main/java/reactor/netty/ReactorNetty.java ---- -include::./../../reactor-netty-core/src/main/java/reactor/netty/ReactorNetty.java[lines=117..159] +include::./../../reactor-netty-core/src/main/java/reactor/netty/ReactorNetty.java[lines=117..165] ---- ==== diff --git a/docs/asciidoc/http-client.adoc b/docs/asciidoc/http-client.adoc index 25cf772744..0d009a7d39 100644 --- a/docs/asciidoc/http-client.adoc +++ b/docs/asciidoc/http-client.adoc @@ -265,7 +265,7 @@ to extend the default `TCP` client configuration (add an option, bind address et [source,java,indent=0] .{examplesdir}/channeloptions/Application.java ---- -include::{examplesdir}/channeloptions/Application.java[lines=18..46] +include::{examplesdir}/channeloptions/Application.java[lines=18..54] ---- <1> Configures the connection establishment timeout to 10 seconds. <2> Enables TCP `keepalive`. This means that TCP starts sending `keepalive` probes when a connection is idle for some time. @@ -615,7 +615,7 @@ To customize the default settings, you can configure `HttpClient` as follows: [source,java,indent=0] .{examplesdir}/channeloptions/Application.java ---- -include::{examplesdir}/channeloptions/Application.java[lines=18..52] +include::{examplesdir}/channeloptions/Application.java[lines=18..54] ---- <1> Configures the connection establishment timeout to 10 seconds. <2> Enables TCP `keepalive`. This means that TCP starts sending `keepalive` probes when a connection is idle for some time. @@ -663,7 +663,7 @@ To customize the default settings, you can configure `HttpClient` as follows: [source,java,indent=0] .{examplesdir}/proxy/Application.java ---- -include::{examplesdir}/proxy/Application.java[lines=18..41] +include::{examplesdir}/proxy/Application.java[lines=18..42] ---- <1> Configures the connection establishment timeout to 20 seconds. ==== diff --git a/docs/asciidoc/proxy.adoc b/docs/asciidoc/proxy.adoc index 338cf83bb0..4f66b65b3b 100644 --- a/docs/asciidoc/proxy.adoc +++ b/docs/asciidoc/proxy.adoc @@ -17,7 +17,7 @@ The following example uses `ProxyProvider`: [source,java,indent=0] .{examplesdir}/proxy/Application.java ---- -include::{examplesdir}/proxy/Application.java[lines=18..38] +include::{examplesdir}/proxy/Application.java[lines=18..42] ---- <1> Configures the connection establishment timeout to 20 seconds. ==== diff --git a/docs/asciidoc/wire-logger.adoc b/docs/asciidoc/wire-logger.adoc index c6a2a563a7..0bbba9d621 100644 --- a/docs/asciidoc/wire-logger.adoc +++ b/docs/asciidoc/wire-logger.adoc @@ -11,7 +11,7 @@ and apply the following configuration: [source,java,indent=0] .{examplesdir}/wiretap/Application.java ---- -include::{examplesdir}/wiretap/Application.java[lines=18..32] +include::{examplesdir}/wiretap/Application.java[lines=18..35] ---- <1> Enables the wire logging ==== @@ -56,7 +56,7 @@ When you need to change the default formatter you can configure it as follows: [source,java,indent=0] .{examplesdir}/wiretap/custom/Application.java ---- -include::{examplesdir}/wiretap/custom/Application.java[lines=18..34] +include::{examplesdir}/wiretap/custom/Application.java[lines=18..38] ---- <1> Enables the wire logging, {javadoc}/reactor/netty/transport/logging/AdvancedByteBufFormat.html#TEXTUAL[AdvancedByteBufFormat#TEXTUAL] is used for