Closeable
, Flushable
, AutoCloseable
public 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
IOException
public SocketOutputStream(Socket socket) throws IOException
IOException
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.