Package org.apache.commons.net.imap
Interface IMAP.IMAPChunkListener
-
- All Known Implementing Classes:
IMAPExportMbox.MboxListener
- Enclosing class:
- IMAP
public static interface IMAP.IMAPChunkListenerImplement 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 booleanchunkReceived(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:
trueif the reply buffer is to be cleared on return
-
-