Spec-Zone .ru
спецификации, руководства, описания, API
|
java.net.DatagramSocketImplFactory
is used by DatagramSocket
to create actual socket implementations. This addition makes
DatagramSocket consistent with the other socket types, by allowing
the user to set the DatagramSocketImplFactory through a public
API.java.net.HttpURLConnection
to make the HTTP status codes match the HTTP 1.1 RFC:public static final int HTTP_INTERNAL_ERROR =
500;
public static final int HTTP_NOT_IMPLEMENTED =
501;
public boolean getInstanceFollowRedirects()
public void setInstanceFollowRedirects(boolean
followRedirects)
java.net.Socket
and
java.net.SocketImpl
java.net.Socket.
Java sockets now support the keepalive option.java.net.Socket
and
java.net.SocketImpl.
This change is to support TCP half-closed sockets:public void shutdownInput()
public void shutdownOutput()
java.net.URL,java.net.URLConnection
, and
java.net.ContentHandler
java.net.URL
consistent
with the fields of a URL as described in the latest IETF
specification, RFC2396.public String
getAuthority()
public
String getPath()
public String
getQuery()
public String
getUserInfo()
public set(String protocol, String host, int port, String
authority, String userInfo, String path, String query, String
ref)
getContent()
method was added to
java.net.URL
,
java.net.URLConnection,
and java.net.ContentHandler
to allow requesting that the returned content object support one of
an ordered list of Java types. This allows mapping of MIME types to
more than one possible Java type, and improves system flexibility.
java.net.URLConnection.setDefaultRequestProperty()
and
java.net.URLConnection.getDefaultRequestProperty()
are
now deprecated.java.net.URLDecoder.decode(String)
no longer throws an exception.java.net.URLStreamHandler
java.net.URLStreamHandler.
protected boolean equals(URL u1, URL u2)
protected
getDefaultPort()
protected InetAddress getHostAddress(URL u)
protected int hashCode(URL u)
protected boolean hostsEqual(URL u1, URL u2)
protected boolean sameFile(URL u1, URL u2)
protected void setURL(URL u, String protocol, String host, int
port, String authority, String userInfo, String path, String query,
String ref)
java.util.jar.JarFile
and
java.util.zip.ZipFile
java.util.zip.ZipFile
and java.util.jar.JarFile
,
which automatically deletes temporary (cached) files associated
with each JarURLConnection when the Zip/Jar file opened in this
mode is closed and the process exits. This is useful when
downloading temporary jar files onto a local disk. Java Technology |
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved. |