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, toStringpublic int getLength()
getLength in class AbstractBodypublic byte[] getContent()
getContent in class AbstractBodyprotected void readLocal()
throws IOException
readLocal in class AbstractBodyIOExceptionprotected void writeAlreadyRead(AbstractBodyTransferrer out) throws IOException
writeAlreadyRead in class AbstractBodyIOExceptionprotected void writeNotRead(AbstractBodyTransferrer out) throws IOException
writeNotRead in class AbstractBodyIOExceptionprotected byte[] getRawLocal()
throws IOException
getRawLocal in class AbstractBodyIOExceptionpublic void write(AbstractBodyTransferrer out) throws IOException
write in class AbstractBodyIOExceptionpublic boolean isRead()
isRead in class AbstractBodyCopyright © 2012. All Rights Reserved.