Lines Matching defs:command

63     private static final String IMAP_REDACTED_LOG = "[IMAP command redacted]";
70 /** # of command/response lines to log upon crash. */
234 * Send a single command to the server. The command will be preceded by an IMAP command
237 * @param command The command to send to the server
238 * @param sensitive If true, the command will not be logged
239 * @return Returns the command tag that was sent
241 String sendCommand(String command, boolean sensitive)
245 String commandToSend = tag + " " + command;
253 * Send a single, complex command to the server. The command will be preceded by an IMAP
254 * command tag and followed by \r\n (caller need not supply them). After each piece of the
255 * command, a response will be read which MUST be a continuation request.
257 * @param commands An array of Strings comprising the command to be sent to the server
258 * @return Returns the command tag that was sent
267 // The first part of the command gets the tag
271 // Otherwise, read the response from the previous part of the command
278 // Send the command
285 List<ImapResponse> executeSimpleCommand(String command) throws IOException,
287 return executeSimpleCommand(command, false);
291 * Read and return all of the responses from the most recent command sent to the server
314 * Execute a simple command at the server, a simple command being one that is sent in a single
317 * @param command the command to send to the server
318 * @param sensitive whether the command should be redacted in logs (used for login)
323 List<ImapResponse> executeSimpleCommand(String command, boolean sensitive)
325 sendCommand(command, sensitive);
330 * Execute a complex command at the server, a complex command being one that must be sent in
333 * @param commands a list of strings that comprise the command to be sent to the server
334 * @param sensitive whether the command should be redacted in logs (used for login)
364 * the server does not support the ID command, this will perform no operation.
377 // Assign user-agent string (for RFC2971 ID command)
388 // Send user-agent in an RFC2971 ID command
408 * namespace command, this will perform no operation.
461 * Gets the path separator per the LIST command in RFC 3501. If the path separator