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 voidclose()voidconnect(SocketAddress endpoint)voidconnect(SocketAddress endpoint, int timeout)voidshutdownInput()voidshutdownOutput()-
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:
connectin classDelegateSocket- Throws:
IOException
-
connect
public void connect(SocketAddress endpoint, int timeout) throws IOException
- Overrides:
connectin classDelegateSocket- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classDelegateSocket- Throws:
IOException
-
shutdownInput
public void shutdownInput() throws IOException- Overrides:
shutdownInputin classDelegateSocket- Throws:
IOException
-
shutdownOutput
public void shutdownOutput() throws IOException- Overrides:
shutdownOutputin classDelegateSocket- Throws:
IOException
-
-