public class SocketHolder extends Object
| Constructor and Description |
|---|
SocketHolder(Socket socket) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
protected InputStream |
getInputStream(Socket socket) |
OutputStream |
getOutputStream() |
protected OutputStream |
getOutputStream(Socket socket) |
Socket |
getSocket() |
String |
toString() |
public SocketHolder(Socket socket)
public final Socket getSocket()
public final InputStream getInputStream() throws IOException
IOExceptionprotected InputStream getInputStream(Socket socket) throws IOException
IOExceptionprotected OutputStream getOutputStream(Socket socket) throws IOException
IOExceptionpublic final OutputStream getOutputStream() throws IOException
IOExceptionCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.