MCPcopy Create free account
hub / github.com/M66B/FairEmail / twoLinesCommand

Method twoLinesCommand

app/src/main/java/com/sun/mail/pop3/Protocol.java:1175–1187  ·  view source on GitHub ↗

Issue a two line POP3 command and return the response Refer to #simpleCommand(String) for a single line command @param firstCommand first command we want to pass to server e.g AUTH XOAUTH2 @param secondCommand second command e.g Base64 encoded authorization string @return Response @throws I

(String firstCommand, String secondCommand)

Source from the content-addressed store, hash-verified

1173 * @throws IOException
1174 */
1175 private Response twoLinesCommand(String firstCommand, String secondCommand) throws IOException {
1176 String cmd = firstCommand + " " + secondCommand;
1177
1178 batchCommandStart(cmd);
1179 simpleCommand(firstCommand);
1180 batchCommandContinue(cmd);
1181
1182 Response r = simpleCommand(secondCommand);
1183
1184 batchCommandEnd();
1185
1186 return r;
1187 }
1188
1189 /**
1190 * Send the specified command.

Callers 1

Calls 4

batchCommandStartMethod · 0.95
simpleCommandMethod · 0.95
batchCommandContinueMethod · 0.95
batchCommandEndMethod · 0.95

Tested by

no test coverage detected