public class HeaderBodyElement extends MimeBodyElement
FetchResponse.BodyElement
which represent a HEADER element specified by for example (BODY[1.HEADER])headers, size
Constructor and Description |
---|
HeaderBodyElement(String name,
List<org.apache.james.mailbox.model.MessageResult.Header> headers) |
Modifier and Type | Method and Description |
---|---|
protected long |
calculateSize(List<org.apache.james.mailbox.model.MessageResult.Header> headers) |
void |
noBody()
Indicate that there is no text body in the message.
|
getInputStream, getName, size
public void noBody()
protected long calculateSize(List<org.apache.james.mailbox.model.MessageResult.Header> headers) throws org.apache.james.mailbox.exception.MailboxException
calculateSize
in class MimeBodyElement
org.apache.james.mailbox.exception.MailboxException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.