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

Method multilineCommand

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

Issue a POP3 command that expects a multi-line response. size is an estimate of the response size.

(String cmd, int size)

Source from the content-addressed store, hash-verified

1256 * <code>size</code> is an estimate of the response size.
1257 */
1258 private Response multilineCommand(String cmd, int size) throws IOException {
1259 multilineCommandStart(cmd);
1260 issueCommand(cmd);
1261 Response r = readResponse();
1262 if (!r.ok) {
1263 multilineCommandEnd();
1264 return r;
1265 }
1266 r.bytes = readMultilineResponse(size);
1267 multilineCommandEnd();
1268 return r;
1269 }
1270
1271 /**
1272 * Read the response to a multiline command after the command response.

Callers 4

listMethod · 0.95
topMethod · 0.95
uidlMethod · 0.95
capaMethod · 0.95

Calls 5

multilineCommandStartMethod · 0.95
issueCommandMethod · 0.95
readResponseMethod · 0.95
multilineCommandEndMethod · 0.95
readMultilineResponseMethod · 0.95

Tested by

no test coverage detected