コード例 #1
0
 /** Set the keep-alive policy for this connection. */
 public void setKeepAlive(boolean keepAlive) {
   if (!keepAlive) {
     setMaxKeepAliveRequests(1);
   }
 }