Class Jep380SocketChannelImplAdapter
java.lang.Object
java.net.SocketImpl
org.apache.hc.client5.http.socket.Jep380SocketChannelImplAdapter
- All Implemented Interfaces:
SocketOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate class -
Field Summary
FieldsFields inherited from class SocketImpl
address, fd, localport, portFields inherited from interface SocketOptions
IP_MULTICAST_IF, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS, SO_BINDADDR, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, SO_OOBINLINE, SO_RCVBUF, SO_REUSEADDR, SO_REUSEPORT, SO_SNDBUF, SO_TIMEOUT, TCP_NODELAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept(SocketImpl s) protected intprotected voidbind(InetAddress host, int port) protected voidclose()protected voidprotected voidconnect(InetAddress address, int port) protected voidconnect(SocketAddress address, int timeout) protected voidcreate(boolean stream) protected InputStreamgetOption(int optID) protected OutputStreamprotected voidlisten(int backlog) protected voidsendUrgentData(int data) voidMethods inherited from class SocketImpl
getFileDescriptor, getInetAddress, getLocalPort, getOption, getPort, setOption, setPerformancePreferences, shutdownInput, shutdownOutput, supportedOptions, supportsUrgentData, toString
-
Field Details
-
channel
-
soTimeoutMs
volatile int soTimeoutMs
-
-
Constructor Details
-
Jep380SocketChannelImplAdapter
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
closein classSocketImpl- Throws:
IOException
-
getInputStream
- Specified by:
getInputStreamin classSocketImpl- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStreamin classSocketImpl- Throws:
IOException
-
getOption
- Throws:
SocketException
-
setOption
- Throws:
SocketException
-
accept
- Specified by:
acceptin classSocketImpl- Throws:
IOException
-
available
- Specified by:
availablein classSocketImpl- Throws:
IOException
-
bind
- Specified by:
bindin classSocketImpl- Throws:
IOException
-
connect
- Specified by:
connectin classSocketImpl- Throws:
IOException
-
connect
- Specified by:
connectin classSocketImpl- Throws:
IOException
-
connect
- Specified by:
connectin classSocketImpl- Throws:
IOException
-
create
- Specified by:
createin classSocketImpl- Throws:
IOException
-
listen
- Specified by:
listenin classSocketImpl- Throws:
IOException
-
sendUrgentData
- Specified by:
sendUrgentDatain classSocketImpl- Throws:
IOException
-