Uses of Class
java.net.URLConnection
-
Packages that use URLConnection 软件包 描述 java.net 提供实现网络应用程序的类。javax.net.ssl 为安全套接字包提供类。 -
-
Uses of URLConnection in java.net
Subclasses of URLConnection in java.net Modifier and Type Class 描述 classHttpURLConnection支持HTTP特定功能的URLConnection。classJarURLConnection与Java ARchive(JAR)文件或JAR文件中的条目的URL连接。Fields in java.net declared as URLConnection Modifier and Type Field 描述 protected URLConnectionJarURLConnection. jarFileURLConnection与JAR文件URL的连接,如果连接已启动。Methods in java.net that return URLConnection Modifier and Type 方法 描述 URLConnectionURL. openConnection()返回一个URLConnection实例表示由所引用的远程对象的连接URL。URLConnectionURL. openConnection(Proxy proxy)与URL.openConnection()相同,但连接将通过指定的代理进行; 不支持代理的协议处理程序将忽略代理参数并进行正常连接。protected abstract URLConnectionURLStreamHandler. openConnection(URL u)打开与URL参数引用的对象的连接。protected URLConnectionURLStreamHandler. openConnection(URL u, Proxy p)与openConnection(URL)相同,但连接将通过指定的代理进行; 不支持代理的协议处理程序将忽略代理参数并进行正常连接。Methods in java.net with parameters of type URLConnection Modifier and Type 方法 描述 abstract ObjectContentHandler. getContent(URLConnection urlc)给定位于对象表示开头的URL连接流,该方法读取该流并从中创建一个对象。ObjectContentHandler. getContent(URLConnection urlc, Class[] classes)给定位于对象表示开始处的URL连接流,该方法读取该流并创建一个与指定类型匹配的对象。abstract CacheRequestResponseCache. put(URI uri, URLConnection conn)协议处理程序在检索到资源后调用此方法,ResponseCache必须决定是否将资源存储在其缓存中。 -
Uses of URLConnection in javax.net.ssl
Subclasses of URLConnection in javax.net.ssl Modifier and Type Class 描述 classHttpsURLConnectionHttpsURLConnectionextendsHttpURLConnectionwith support for https-specific features.
-