Generated by
JDiff

Class org.apache.hadoop.net.NetUtils

Added Methods
void connect(Socket, SocketAddress, SocketAddress, int) Like SocketAddres int)} but also takes a local address and port to bind the socket to.
URI getCanonicalUri(URI, int) Resolve the uri's hostname and add the default port if not in the uri
List getIPs(String, boolean) Return an InetAddress for each interface that matches the given subnet specified using CIDR notation.
InetAddress getLocalInetAddress(String) Checks if {@code host} is a local host name and return InetAddress corresponding to that address.
boolean isValidSubnet(String) @return true if the given string is a subnet specified using CIDR notation false otherwise
InetSocketAddress makeSocketAddr(String, int) Create a socket address with the given host and port.
 

Changed Methods
SocketInputWrapper getInputStream(Socket, long) Change in return type from InputStream to SocketInputWrapper.
Return a SocketInputWrapper for the socket and set the given timeout.