public class EntityWrapper extends Channel
Constructor and Description |
---|
EntityWrapper(EntityBodyChannel channel) |
Modifier and Type | Method and Description |
---|---|
Channel |
getChannel() |
boolean |
isSelectable() |
boolean |
remaining() |
void |
transfer(int position,
int count,
WritableByteChannel dstChannel) |
close, getByteChannel, getInputStream, hasReachedEnd, id, isReadable, read, readFull, setReadable, write
public EntityWrapper(EntityBodyChannel channel) throws BallerinaIOException
BallerinaIOException
public void transfer(int position, int count, WritableByteChannel dstChannel) throws IOException
transfer
in class Channel
IOException
public Channel getChannel()
public boolean isSelectable()
isSelectable
in interface IOChannel
isSelectable
in class Channel
public boolean remaining()
Copyright © 2019 WSO2. All rights reserved.