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.HeadergetName in interface MessageResult.HeaderMailboxExceptionMessageResult.Header.getName()public String getValue() throws MailboxException
MessageResult.HeadergetValue in interface MessageResult.HeaderMailboxExceptionMessageResult.Header.getValue()public long size()
Contentsize in interface ContentContent.size()public InputStream getInputStream() throws IOException
ContentInputStreamgetInputStream in interface ContentIOExceptionContent.getInputStream()Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.