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, WS
lines
DISCONNECT
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()
|
getLines
appendLine, getRetCode, isEndSession, setEndSession, setRetCode, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLines, getRetCode, isEndSession
public POP3StreamResponse(String code, CharSequence description, InputStream stream)
public InputStream getStream()
StreamResponse
InputStream
on every call. So once it is consumed there is no way to re-process it.getStream
in interface StreamResponse
public Response immutable()
immutable
in class AbstractResponse
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.