Closeable, Flushable, AutoCloseablepublic class SocketOutputStream extends FilterOutputStream
out| Constructor | Description |
|---|---|
SocketOutputStream(InetSocketAddress inetSocketAddress) |
|
SocketOutputStream(Socket socket) |
| Modifier and Type | Method | Description |
|---|---|---|
Socket |
getSocket() |
Return the underlying Socket
|
String |
toString() |
public SocketOutputStream(InetSocketAddress inetSocketAddress) throws IOException
IOExceptionpublic SocketOutputStream(Socket socket) throws IOException
IOExceptionCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.