public class POP3StreamResponse extends POP3Response implements StreamResponse
StreamResponse implementation which allows to write back big-data to the client for POP3ERR, ERR_RESPONSE, OK, OK_RESPONSE, WSlinesDISCONNECT| Constructor and Description |
|---|
POP3StreamResponse(String code,
CharSequence description,
InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getStream()
Return the stream which needs to get written to the remote peer.
|
Response |
immutable()
|
getLinesappendLine, getRetCode, isEndSession, setEndSession, setRetCode, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLines, getRetCode, isEndSessionpublic POP3StreamResponse(String code, CharSequence description, InputStream stream)
public InputStream getStream()
StreamResponseInputStream on every call. So once it is consumed there is no way to re-process it.getStream in interface StreamResponsepublic Response immutable()
immutable in class AbstractResponseCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.