Package org.apache.hc.core5.http
Interface SocketModalCloseable
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable,ModalCloseable
- All Known Subinterfaces:
BHttpConnection,HttpClientConnection,HttpConnection,HttpConnectionEventHandler,HttpServerConnection,IOSession,ProtocolIOSession
- All Known Implementing Classes:
ClientHttp1IOEventHandler,ClientHttp1StreamDuplexer,DefaultBHttpClientConnection,DefaultBHttpServerConnection,ServerHttp1IOEventHandler,ServerHttp1StreamDuplexer,SSLIOSession
public interface SocketModalCloseable extends ModalCloseable
A genericModalCloseablebacked by a network socket.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeoutgetSocketTimeout()Returns the socket timeout value.voidsetSocketTimeout(Timeout timeout)Sets the socket timeout value.-
Methods inherited from interface org.apache.hc.core5.io.ModalCloseable
close
-
-