Issue a POP3 command that expects a multi-line response. size is an estimate of the response size.
(String cmd, int size)
| 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. |
no test coverage detected