protected ImapMessage decode(ImapCommand command, ImapRequestLineReader request, String tag, boolean useUids, ImapSession session) throws DecodingException {
IdRange[] idSet = request.parseIdRange(session);
FetchData fetch = fetchRequest(request);
request.eol();
final ImapMessage result = new FetchRequest(command, useUids, idSet, fetch, tag);
return result;
}