|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImapMessage
An IMAP message.
| Method Summary | |
|---|---|
String |
getCommand()
|
org.jboss.netty.buffer.ChannelBuffer |
getLiteral()
Returns the content of this message. |
long |
getLiteralLength()
Returns the length of the content. |
LinkedList<Token> |
getTokens()
|
boolean |
isNeedContinuationRequest()
Returns true if and only if we need to send command continuation
request before reading literal data. |
void |
setLiteral(org.jboss.netty.buffer.ChannelBuffer literal)
Sets the content of this message. |
void |
setLiteralLength(long literalLength)
|
| Method Detail |
|---|
String getCommand()
LinkedList<Token> getTokens()
org.jboss.netty.buffer.ChannelBuffer getLiteral()
ChannelBuffers.EMPTY_BUFFER is returned.
void setLiteral(org.jboss.netty.buffer.ChannelBuffer literal)
null is specified, the
content of this message will be set to
ChannelBuffers.EMPTY_BUFFER.
long getLiteralLength()
#getContent() but from the
"Content-Length" header, and thus they are independent from each
other.
0 if this message does not have
the "Content-Length" headervoid setLiteralLength(long literalLength)
boolean isNeedContinuationRequest()
true if and only if we need to send command continuation
request before reading literal data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||