Class SdkSocket
- java.lang.Object
-
- java.net.Socket
-
- software.amazon.awssdk.http.apache.internal.net.DelegateSocket
-
- software.amazon.awssdk.http.apache.internal.net.SdkSocket
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class SdkSocket extends DelegateSocket
-
-
Field Summary
-
Fields inherited from class software.amazon.awssdk.http.apache.internal.net.DelegateSocket
sock
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
connect(SocketAddress endpoint)
void
connect(SocketAddress endpoint, int timeout)
void
shutdownInput()
void
shutdownOutput()
-
Methods inherited from class software.amazon.awssdk.http.apache.internal.net.DelegateSocket
bind, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, toString
-
Methods inherited from class java.net.Socket
setSocketImplFactory
-
-
-
-
Constructor Detail
-
SdkSocket
public SdkSocket(Socket sock)
-
-
Method Detail
-
connect
public void connect(SocketAddress endpoint) throws IOException
- Overrides:
connect
in classDelegateSocket
- Throws:
IOException
-
connect
public void connect(SocketAddress endpoint, int timeout) throws IOException
- Overrides:
connect
in classDelegateSocket
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classDelegateSocket
- Throws:
IOException
-
shutdownInput
public void shutdownInput() throws IOException
- Overrides:
shutdownInput
in classDelegateSocket
- Throws:
IOException
-
shutdownOutput
public void shutdownOutput() throws IOException
- Overrides:
shutdownOutput
in classDelegateSocket
- Throws:
IOException
-
-