public class EmptyBody extends AbstractBody
chunks
Constructor and Description |
---|
EmptyBody() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent() |
int |
getLength() |
protected byte[] |
getRawLocal() |
boolean |
isRead() |
protected void |
readLocal() |
void |
write(AbstractBodyTransferrer out) |
protected void |
writeAlreadyRead(AbstractBodyTransferrer out) |
protected void |
writeNotRead(AbstractBodyTransferrer out) |
getBodyAsStream, getRaw, getRawLength, read, toString
public int getLength()
getLength
in class AbstractBody
public byte[] getContent()
getContent
in class AbstractBody
protected void readLocal() throws IOException
readLocal
in class AbstractBody
IOException
protected void writeAlreadyRead(AbstractBodyTransferrer out) throws IOException
writeAlreadyRead
in class AbstractBody
IOException
protected void writeNotRead(AbstractBodyTransferrer out) throws IOException
writeNotRead
in class AbstractBody
IOException
protected byte[] getRawLocal() throws IOException
getRawLocal
in class AbstractBody
IOException
public void write(AbstractBodyTransferrer out) throws IOException
write
in class AbstractBody
IOException
public boolean isRead()
isRead
in class AbstractBody
Copyright © 2012. All Rights Reserved.