equal
deleted
inserted
replaced
369 * by this URLConnection. If the timeout expires before the |
369 * by this URLConnection. If the timeout expires before the |
370 * connection can be established, a |
370 * connection can be established, a |
371 * java.net.SocketTimeoutException is raised. A timeout of zero is |
371 * java.net.SocketTimeoutException is raised. A timeout of zero is |
372 * interpreted as an infinite timeout. |
372 * interpreted as an infinite timeout. |
373 |
373 |
374 * <p> Some non-standard implmentation of this method may ignore |
374 * <p> Some non-standard implementation of this method may ignore |
375 * the specified timeout. To see the connect timeout set, please |
375 * the specified timeout. To see the connect timeout set, please |
376 * call getConnectTimeout(). |
376 * call getConnectTimeout(). |
377 * |
377 * |
378 * @param timeout an {@code int} that specifies the connect |
378 * @param timeout an {@code int} that specifies the connect |
379 * timeout value in milliseconds |
379 * timeout value in milliseconds |
1057 * Sets the general request property. If a property with the key already |
1057 * Sets the general request property. If a property with the key already |
1058 * exists, overwrite its value with the new value. |
1058 * exists, overwrite its value with the new value. |
1059 * |
1059 * |
1060 * <p> NOTE: HTTP requires all request properties which can |
1060 * <p> NOTE: HTTP requires all request properties which can |
1061 * legally have multiple instances with the same key |
1061 * legally have multiple instances with the same key |
1062 * to use a comma-seperated list syntax which enables multiple |
1062 * to use a comma-separated list syntax which enables multiple |
1063 * properties to be appended into a single property. |
1063 * properties to be appended into a single property. |
1064 * |
1064 * |
1065 * @param key the keyword by which the request is known |
1065 * @param key the keyword by which the request is known |
1066 * (e.g., "{@code Accept}"). |
1066 * (e.g., "{@code Accept}"). |
1067 * @param value the value associated with it. |
1067 * @param value the value associated with it. |