/** * Tests if Nagle's algorithm is to be used. * * @return <tt>true</tt> if the Nagle's algorithm is to NOT be used * (that is enable TCP_NODELAY), <tt>false</tt> otherwise. */ public boolean getTcpNoDelay() { return getBooleanParameter(TCP_NODELAY, true); }
/** * Tests whether stale connection check is to be used. Disabling * stale connection check may result in slight performance improvement * at the risk of getting an I/O error when executing a request over a * connection that has been closed at the server side. * * @return <tt>true</tt> if stale connection check is to be used, * <tt>false</tt> otherwise. */ public boolean isStaleCheckingEnabled() { return getBooleanParameter(STALE_CONNECTION_CHECK, true); }
/** * Tests if Nagle's algorithm is to be used. * * @return <tt>true</tt> if the Nagle's algorithm is to NOT be used * (that is enable TCP_NODELAY), <tt>false</tt> otherwise. */ public boolean getTcpNoDelay() { return getBooleanParameter(TCP_NODELAY, true); }
/** * Tests if Nagle's algorithm is to be used. * * @return <tt>true</tt> if the Nagle's algorithm is to NOT be used * (that is enable TCP_NODELAY), <tt>false</tt> otherwise. */ public boolean getTcpNoDelay() { return getBooleanParameter(TCP_NODELAY, true); }
/** * Tests if Nagle's algorithm is to be used. * * @return <tt>true</tt> if the Nagle's algorithm is to NOT be used * (that is enable TCP_NODELAY), <tt>false</tt> otherwise. */ public boolean getTcpNoDelay() { return getBooleanParameter(TCP_NODELAY, true); }
/** * Tests if Nagle's algorithm is to be used. * * @return <tt>true</tt> if the Nagle's algorithm is to NOT be used * (that is enable TCP_NODELAY), <tt>false</tt> otherwise. */ public boolean getTcpNoDelay() { return getBooleanParameter(TCP_NODELAY, true); }
/** * Tests whether stale connection check is to be used. Disabling * stale connection check may result in slight performance improvement * at the risk of getting an I/O error when executing a request over a * connection that has been closed at the server side. * * @return <tt>true</tt> if stale connection check is to be used, * <tt>false</tt> otherwise. */ public boolean isStaleCheckingEnabled() { return getBooleanParameter(STALE_CONNECTION_CHECK, true); }
/** * Tests whether stale connection check is to be used. Disabling * stale connection check may result in slight performance improvement * at the risk of getting an I/O error when executing a request over a * connection that has been closed at the server side. * * @return <tt>true</tt> if stale connection check is to be used, * <tt>false</tt> otherwise. */ public boolean isStaleCheckingEnabled() { return getBooleanParameter(STALE_CONNECTION_CHECK, true); }
/** * Tests whether stale connection check is to be used. Disabling * stale connection check may result in slight performance improvement * at the risk of getting an I/O error when executing a request over a * connection that has been closed at the server side. * * @return <tt>true</tt> if stale connection check is to be used, * <tt>false</tt> otherwise. */ public boolean isStaleCheckingEnabled() { return getBooleanParameter(STALE_CONNECTION_CHECK, true); }
/** * Tests whether stale connection check is to be used. Disabling * stale connection check may result in slight performance improvement * at the risk of getting an I/O error when executing a request over a * connection that has been closed at the server side. * * @return <tt>true</tt> if stale connection check is to be used, * <tt>false</tt> otherwise. */ public boolean isStaleCheckingEnabled() { return getBooleanParameter(STALE_CONNECTION_CHECK, true); }