Package org.apache.commons.net.imap
Interface IMAP.IMAPChunkListener
-
- Enclosing class:
- IMAP
public static interface IMAP.IMAPChunkListener
Implement this interface and register it viaIMAP.setChunkListener(IMAPChunkListener)
in order to get access to multi-line partial command responses. Useful when processing large FETCH responses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
chunkReceived(IMAP imap)
Called when a multi-line partial response has been received.
-
-
-
Method Detail
-
chunkReceived
boolean chunkReceived(IMAP imap)
Called when a multi-line partial response has been received.- Parameters:
imap
- the instance, get the response by callingIMAP.getReplyString()
orIMAP.getReplyStrings()
- Returns:
true
if the reply buffer is to be cleared on return
-
-