public final class ResultHeader extends Object implements MessageResult.Header
Constructor and Description |
---|
ResultHeader(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream()
Return the content as
InputStream |
String |
getName()
Gets the name of this header.
|
String |
getValue()
Gets the (unparsed) value of this header.
|
long |
size()
Size (in octets) of the content.
|
String |
toString() |
public String getName() throws MailboxException
MessageResult.Header
getName
in interface MessageResult.Header
MailboxException
MessageResult.Header.getName()
public String getValue() throws MailboxException
MessageResult.Header
getValue
in interface MessageResult.Header
MailboxException
MessageResult.Header.getValue()
public long size()
Content
size
in interface Content
Content.size()
public InputStream getInputStream() throws IOException
Content
InputStream
getInputStream
in interface Content
IOException
Content.getInputStream()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.