- getInputStream
Returns an input stream that reads from this open connection. A
SocketTimeoutException can be thrown
- setUseCaches
Sets the value of the useCaches field of thisURLConnection to the specified
value. Some protocols do
- connect
Opens a communications link to the resource referenced by this URL, if such a
connection has not alr
- setRequestProperty
Sets the general request property. If a property with the key already exists,
overwrite its value wi
- getOutputStream
Returns an output stream that writes to this connection.
- getLastModified
Returns the value of the last-modified header field. The result is the number of
milliseconds since
- setConnectTimeout
Sets a specified timeout value, in milliseconds, to be used when opening a
communications link to th
- setDoOutput
Sets the value of the doOutput field for thisURLConnection to the specified
value. A URL connection
- getContentLength
Returns the value of the content-length header field.Note: #getContentLengthLong()should be preferre
- setReadTimeout
Sets the read timeout to a specified timeout, in milliseconds. A non-zero value
specifies the timeou
- getContentType
Returns the value of the content-type header field.
- getHeaderField
Returns the value of the named header field. If called on a connection that sets
the same header mul