Package | Description |
---|---|
org.apache.hadoop.net |
Network-related classes.
|
Modifier and Type | Method and Description |
---|---|
static SocketInputWrapper |
NetUtils.getInputStream(Socket socket)
Same as
getInputStream(socket, socket.getSoTimeout()).
|
static SocketInputWrapper |
NetUtils.getInputStream(Socket socket,
long timeout)
Return a
SocketInputWrapper for the socket and set the given
timeout. |
Copyright © 2013 Apache Software Foundation. All rights reserved.