Visitar URL original
Concise Javadoc for Request#setConnectionKeepAlive() · scribejava/scribejava@7e15c2d · GitHub
Skip to content

Commit 7e15c2d

Browse files
committed
Concise Javadoc for Request#setConnectionKeepAlive()
1 parent a79166f commit 7e15c2d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎src/main/java/org/scribe/model/Request.java‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,8 @@ public void setCharset(String charsetName)
351351
/**
352352
* Sets whether the underlying Http Connection is persistent or not.
353353
*
354-
* @deprecated since 1.3.7 - does nothing. Prior implementation did not just modify keep-alive for the underlying
355-
* connection of this {@code Request}, but implicitly for <b>all</b> Http connections of the JVM instance.
356-
* New default is <b>not</b> to modify JVM default behaviour and leave Http connection keep-alive enabled.
354+
* @deprecated does nothing - JVM default is left untouched.
355+
* Set {@code http.keepAlive} system property to {@code false} for pre-deprecation behavior.
357356
*
358357
* @see http://download.oracle.com/javase/1.5.0/docs/guide/net/http-keepalive.html
359358
* @param connectionKeepAlive

0 commit comments

Comments
 (0)