Package org.apache.http.nio.reactor.ssl
Class SSLIOSession.InternalByteChannel
- java.lang.Object
-
- org.apache.http.nio.reactor.ssl.SSLIOSession.InternalByteChannel
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.nio.channels.ByteChannel
,java.nio.channels.Channel
,java.nio.channels.ReadableByteChannel
,java.nio.channels.WritableByteChannel
- Enclosing class:
- SSLIOSession
private class SSLIOSession.InternalByteChannel extends java.lang.Object implements java.nio.channels.ByteChannel
-
-
Constructor Summary
Constructors Modifier Constructor Description private
InternalByteChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
isOpen()
int
read(java.nio.ByteBuffer dst)
int
write(java.nio.ByteBuffer src)
-
-
-
Method Detail
-
write
public int write(java.nio.ByteBuffer src) throws java.io.IOException
- Specified by:
write
in interfacejava.nio.channels.WritableByteChannel
- Throws:
java.io.IOException
-
read
public int read(java.nio.ByteBuffer dst) throws java.io.IOException
- Specified by:
read
in interfacejava.nio.channels.ReadableByteChannel
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.nio.channels.Channel
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interfacejava.nio.channels.Channel
-
-