- getConnectTimeout() - Method in class sun.net.NetworkClient
-
- getConnectTimeout() - Method in class sun.net.www.protocol.http.HttpURLConnection
-
Returns setting for connect timeout.
- getDefaultPort() - Method in class sun.net.www.http.HttpClient
-
return default port number (subclasses may override)
- getDefaultPort() - Method in class sun.net.www.protocol.http.Handler
-
- getErrorStream() - Method in class java.net.HttpURLConnection
-
Returns the error stream if the connection failed but the server sent useful data nonetheless.
- getErrorStream() - Method in class sun.net.www.protocol.http.HttpURLConnection
-
- getFollowRedirects() - Static method in class java.net.HttpURLConnection
-
Returns a boolean
indicating whether or not HTTP redirects (3xx) should be automatically followed.
- getHeaderField(int) - Method in class java.net.HttpURLConnection
-
Returns the value for the n
th header field.
- getHeaderField(String) - Method in class sun.net.www.protocol.http.HttpURLConnection
-
Gets a header field by name.
- getHeaderField(int) - Method in class sun.net.www.protocol.http.HttpURLConnection
-
Gets a header field by index.
- getHeaderFieldKey(int) - Method in class java.net.HttpURLConnection
-
Returns the key for the n
th header field.
- getHeaderFieldKey(int) - Method in class sun.net.www.protocol.http.HttpURLConnection
-
Gets a header field by index.
- getHeaderFields() - Method in class sun.net.www.protocol.http.HttpURLConnection
-
Returns an unmodifiable Map of the header fields.
- getInputStream() - Method in class sun.net.www.http.HttpClient
-
- getInputStream() - Method in class sun.net.www.protocol.http.HttpURLConnection
-
- getInstanceFollowRedirects() - Method in class java.net.HttpURLConnection
-
Returns the value of this HttpURLConnection
's instanceFollowRedirects
field.
- getLocation() - Method in exception java.net.HttpRetryException
-
Returns the value of the Location header field if the error resulted from redirection.
- getNewHttpClient(URL, int) - Method in class sun.net.www.protocol.http.HttpURLConnection
-
- getOutputStream() - Method in class sun.net.www.http.HttpClient
-
- getOutputStream() - Method in class sun.net.www.protocol.http.HttpURLConnection
-
- getPermission() - Method in class java.net.HttpURLConnection
-
Returns a SocketPermission
object representing the permission necessary to connect to the destination
host and port.
- getReadTimeout() - Method in class sun.net.NetworkClient
-
- getReadTimeout() - Method in class sun.net.www.protocol.http.HttpURLConnection
-
Returns setting for read timeout.
- getReason() - Method in exception java.net.HttpRetryException
-
Returns a string explaining why the http request could not be retried.
- getRequestMethod() - Method in class java.net.HttpURLConnection
-
Get the request method.
- getRequestProperties() - Method in class sun.net.www.protocol.http.HttpURLConnection
-
Returns an unmodifiable Map of general request properties for this connection.
- getRequestProperty(String) - Method in class sun.net.www.protocol.http.HttpURLConnection
-
- getResponseCode() - Method in class java.net.HttpURLConnection
-
Gets the status code from an HTTP response message.
- getResponseMessage() - Method in class java.net.HttpURLConnection
-
Gets the HTTP response message, if any, returned along with the response code from a server.
- getURLFile() - Method in class sun.net.www.http.HttpClient
-