| Constructor and Description |
|---|
RFC822DATA(FetchResponse r)
Constructor, header flag is false.
|
RFC822DATA(FetchResponse r,
boolean isHeader)
Constructor, specifying header flag.
|
| Modifier and Type | Method and Description |
|---|---|
ByteArray |
getByteArray() |
ByteArrayInputStream |
getByteArrayInputStream() |
boolean |
isHeader() |
public RFC822DATA(FetchResponse r) throws ParsingException
r - the FetchResponseParsingException - for parsing failurespublic RFC822DATA(FetchResponse r, boolean isHeader) throws ParsingException
r - the FetchResponseisHeader - just header information?ParsingException - for parsing failurespublic ByteArray getByteArray()
public ByteArrayInputStream getByteArrayInputStream()
public boolean isHeader()
Copyright © 2016 JBoss by Red Hat. All rights reserved.