Uses of Class
java.net.URLConnection
| Package | Description |
|---|---|
| com.squareup.okhttp | |
| com.squareup.okhttp.internal.http | |
| java.net | |
| javax.net.ssl |
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol.
|
| libcore.net.url |
-
Uses of URLConnection in com.squareup.okhttp
Methods in com.squareup.okhttp that return URLConnection Modifier and Type Method Description protected URLConnectionHttpHandler. openConnection(URL url)protected URLConnectionHttpHandler. openConnection(URL url, Proxy proxy)Methods in com.squareup.okhttp with parameters of type URLConnection Modifier and Type Method Description CacheRequestHttpResponseCache. put(URI uri, URLConnection urlConnection)CacheRequestOkResponseCache. put(URI uri, URLConnection urlConnection) -
Uses of URLConnection in com.squareup.okhttp.internal.http
Subclasses of URLConnection in com.squareup.okhttp.internal.http Modifier and Type Class Description classHttpsURLConnectionImplclassHttpURLConnectionImplThis implementation uses HttpEngine to send requests and receive responses.Methods in com.squareup.okhttp.internal.http with parameters of type URLConnection Modifier and Type Method Description CacheRequestOkResponseCacheAdapter. put(URI uri, URLConnection urlConnection) -
Uses of URLConnection in java.net
Subclasses of URLConnection in java.net Modifier and Type Class Description classHttpURLConnectionAnURLConnectionfor HTTP (RFC 2616) used to send and receive data over the web.classJarURLConnectionThis class establishes a connection to ajar:URL using theJARprotocol.Fields in java.net declared as URLConnection Modifier and Type Field Description protected URLConnectionJarURLConnection. jarFileURLConnectionThe location part of the represented URL.Methods in java.net that return URLConnection Modifier and Type Method Description URLConnectionURL. openConnection()Returns a new connection to the resource referred to by this URL.URLConnectionURL. openConnection(Proxy proxy)Returns a new connection to the resource referred to by this URL.protected abstract URLConnectionURLStreamHandler. openConnection(URL u)Establishes a new connection to the resource specified by the URLu.protected URLConnectionURLStreamHandler. openConnection(URL u, Proxy proxy)Establishes a new connection to the resource specified by the URLuusing the givenproxy.Methods in java.net with parameters of type URLConnection Modifier and Type Method Description abstract ObjectContentHandler. getContent(URLConnection uConn)Returns the object pointed by the specified URL connectionuConn.ObjectContentHandler. getContent(URLConnection uConn, Class[] types)Returns the object pointed by the specified URL connectionuConn.abstract CacheRequestResponseCache. put(URI uri, URLConnection connection)Allows the protocol handler to cache data after retrieving resources. -
Uses of URLConnection in javax.net.ssl
Subclasses of URLConnection in javax.net.ssl Modifier and Type Class Description classHttpsURLConnectionAnHttpURLConnectionfor HTTPS (RFC 2818). -
Uses of URLConnection in libcore.net.url
Subclasses of URLConnection in libcore.net.url Modifier and Type Class Description classFileURLConnectionThis subclass extendsURLConnection.classFtpURLConnectionclassJarURLConnectionImplThis subclass extendsURLConnection.Methods in libcore.net.url that return URLConnection Modifier and Type Method Description URLConnectionFileHandler. openConnection(URL url)Returns a connection to the a file pointed by thisURLin the file systemURLConnectionFileHandler. openConnection(URL url, Proxy proxy)The behavior of this method is the same as openConnection(URL).protected URLConnectionFtpHandler. openConnection(URL u)Open a URLConnection on the given URL.protected URLConnectionFtpHandler. openConnection(URL url, Proxy proxy)Returns a connection, which is established via theproxy, to the FTP server specified by thisURL.protected URLConnectionJarHandler. openConnection(URL u)Returns a connection to the jar file pointed by thisURLin the file system