public class SocketHolder extends Object
Constructor and Description |
---|
SocketHolder(Socket socket) |
SocketHolder(SSLSocket sslSocket,
Socket baseSocket) |
Modifier and Type | Method and Description |
---|---|
Socket |
getBaseSocket() |
InputStream |
getInputStream() |
protected InputStream |
getInputStream(Socket socket) |
OutputStream |
getOutputStream() |
protected OutputStream |
getOutputStream(Socket socket) |
Socket |
getSocket() |
SSLSocket |
getSSLSocket() |
String |
toString() |
public SocketHolder(Socket socket)
public final Socket getSocket()
public final InputStream getInputStream() throws IOException
IOException
protected InputStream getInputStream(Socket socket) throws IOException
IOException
protected OutputStream getOutputStream(Socket socket) throws IOException
IOException
public final OutputStream getOutputStream() throws IOException
IOException
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.