Skip to content

Commit 53b0fd2

Browse files
jansupolsenivam
authored andcommitted
Updated JettyClientProperties#TOTAL_TIMEOUT related documentation.
Signed-off-by: jansupol <[email protected]>
1 parent 77074f1 commit 53b0fd2

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

connectors/jetty-connector/src/main/java/org/glassfish/jersey/jetty/connector/JettyClientProperties.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,20 @@ private JettyClientProperties() {
8686
"jersey.config.jetty.client.syncListenerResponseMaxSize";
8787

8888
/**
89-
* Total timeout interval, in milliseconds.
89+
* Total timeout interval for request/response conversation, in milliseconds.
90+
* Opposed to {@link org.glassfish.jersey.client.ClientProperties#READ_TIMEOUT}.
9091
* <p>
91-
* The value MUST be an instance convertible to {@link java.lang.Integer}. A
92+
* The value MUST be an instance convertible to {@link java.lang.Integer}. The
9293
* value of zero (0) is equivalent to an interval of infinity.
9394
* </p>
9495
* <p>
95-
* The default value is infinity (0).
96+
* The default value is zero (infinity).
9697
* </p>
9798
* <p>
9899
* The name of the configuration property is <tt>{@value}</tt>.
99100
* </p>
101+
*
102+
* @since 2.37
100103
*/
101104
public static final String TOTAL_TIMEOUT = "jersey.config.jetty.client.totalTimeout";
102105

docs/src/main/docbook/appendix-properties.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,6 +1790,23 @@
17901790
</para>
17911791
</entry>
17921792
</row>
1793+
<row>
1794+
<entry>&jersey.jetty.JettyClientProperties.TOTAL_TIMEOUT;</entry>
1795+
<entry><literal>jersey.config.jetty.client.totalTimeout</literal></entry>
1796+
<entry>
1797+
<para>
1798+
Total timeout interval for request/response conversation, in milliseconds.
1799+
Opposed to &jersey.client.ClientProperties.READ_TIMEOUT;.
1800+
</para>
1801+
<para>
1802+
The value MUST be an instance convertible to <literal>Integer</literal>.
1803+
The value of zero <literal>0</literal> is equivalent to an interval of infinity.
1804+
</para>
1805+
<para>
1806+
The default value is <literal>0</literal> (infinity).
1807+
</para>
1808+
</entry>
1809+
</row>
17931810
</tbody>
17941811
</tgroup>
17951812
</table>

docs/src/main/docbook/jersey.ent

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@
470470
<!ENTITY jersey.jetty.JettyClientProperties.DISABLE_COOKIES "<link xlink:href='&jersey.javadoc.uri.prefix;/jetty/connector/JettyClientProperties.html#DISABLE_COOKIES'>JettyClientProperties.DISABLE_COOKIES</link>" >
471471
<!ENTITY jersey.jetty.JettyClientProperties.PREEMPTIVE_BASIC_AUTHENTICATION "<link xlink:href='&jersey.javadoc.uri.prefix;/jetty/connector/JettyClientProperties.html#PREEMPTIVE_BASIC_AUTHENTICATION'>JettyClientProperties.PREEMPTIVE_BASIC_AUTHENTICATION</link>" >
472472
<!ENTITY jersey.jetty.JettyClientProperties.SYNC_LISTENER_RESPONSE_MAX_SIZE "<link xlink:href='&jersey.javadoc.uri.prefix;/jetty/connector/JettyClientProperties.html#SYNC_LISTENER_RESPONSE_MAX_SIZE'>JettyClientProperties.SYNC_LISTENER_RESPONSE_MAX_SIZE</link>" >
473+
<!ENTITY jersey.jetty.JettyClientProperties.TOTAL_TIMEOUT "<link xlink:href='&jersey.javadoc.uri.prefix;/jetty/connector/JettyClientProperties.html#TOTAL_TIMEOUT'>JettyClientProperties.TOTAL_TIMEOUT</link>" >
473474
<!ENTITY jersey.jetty.JettyConnectorProvider "<link xlink:href='&jersey.javadoc.uri.prefix;/jetty/connector/JettyConnectorProvider.html'>JettyConnectorProvider</link>">
474475
<!ENTITY jersey.jetty.JettyHttpContainer "<link xlink:href='&jersey.javadoc.uri.prefix;/jetty/JettyHttpContainer.html'>JettyHttpContainer</link>">
475476
<!ENTITY jersey.jetty.JettyHttpContainerFactory "<link xlink:href='&jersey.javadoc.uri.prefix;/jetty/JettyHttpContainerFactory.html'>JettyHttpContainerFactory</link>">

0 commit comments

Comments
 (0)