public class: DefaultConnectionReuseStrategy
All Implemented Interfaces:
Default implementation of a strategy deciding about connection re-use.
The default implementation first checks some basics, for example
whether the connection is still open or whether the end of the
request entity can be determined without closing the connection.
If these checks pass, the tokens in the
be examined. In the absence of a
non-standard but commonly used
it's role. A token
indicates that the connection cannot
be reused. If there is no such token, a token
indicates that the connection should be re-used. If neither token is found,
or if there are no
headers, the default policy for
the HTTP version is applied. Since
, connections are
re-used by default. Up until
, connections are not
re-used by default.
$ - Revision: 744524 $
|Methods from java.lang.Object:|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait|