public class EntityBodyChannel extends Object implements ByteChannel
Constructor and Description |
---|
EntityBodyChannel(InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isOpen() |
int |
read(ByteBuffer dst) |
int |
write(ByteBuffer src) |
public EntityBodyChannel(InputStream inputStream)
public int read(ByteBuffer dst) throws IOException
read
in interface ReadableByteChannel
IOException
public int write(ByteBuffer src) throws IOException
write
in interface WritableByteChannel
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
Copyright © 2019 WSO2. All rights reserved.