Package org.apache.http.impl.nio.conn
Class LoggingIOSession.LoggingByteChannel
java.lang.Object
org.apache.http.impl.nio.conn.LoggingIOSession.LoggingByteChannel
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ByteChannel
,Channel
,ReadableByteChannel
,WritableByteChannel
- Enclosing class:
LoggingIOSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
isOpen()
int
read
(ByteBuffer dst) int
write
(ByteBuffer src)
-
Constructor Details
-
LoggingByteChannel
LoggingByteChannel()
-
-
Method Details
-
read
- Specified by:
read
in interfaceReadableByteChannel
- Throws:
IOException
-
write
- Specified by:
write
in interfaceWritableByteChannel
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
isOpen
public boolean isOpen()
-