public XListResponseEncoder(ImapEncoder next) {
super(next);
}
protected void doEncode(final ImapMessage acceptableMessage, final ImapResponseComposer composer, ImapSession session) throws IOException {
final AbstractListingResponse response = (AbstractListingResponse) acceptableMessage;
ListingEncodingUtils.encodeListingResponse(ImapConstants.XLIST_RESPONSE_NAME, composer, response);
}