| Constructor and Description |
|---|
IMAPRequest(ByteBuffer line) |
IMAPRequest(Collection<ByteBuffer> lines) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArgument()
Return the current argument.
|
Iterator<ByteBuffer> |
getArguments()
Return an
Iterator which holds all argument lines. |
String |
getCommand()
Return the current command
|
String |
getTag()
Return the tag of the request
|
public IMAPRequest(Collection<ByteBuffer> lines)
public IMAPRequest(ByteBuffer line)
public String getTag()
public String getArgument()
RequestgetArgument in interface Requestpublic String getCommand()
RequestgetCommand in interface Requestpublic Iterator<ByteBuffer> getArguments()
Iterator which holds all argument lines. The returned ByteBuffer's will be
rewind by calling Buffer.rewind() before return themCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.