public class SMTPResponse extends AbstractResponse
lines
DISCONNECT
Modifier | Constructor and Description |
---|---|
protected |
SMTPResponse() |
|
SMTPResponse(String rawLine)
Construct a new SMTPResponse.
|
|
SMTPResponse(String code,
CharSequence description)
Construct a new SMTPResponse.
|
Modifier and Type | Method and Description |
---|---|
List<CharSequence> |
getLines()
Return a List of all response lines stored in this Response.
|
appendLine, getRetCode, immutable, isEndSession, setEndSession, setRetCode, toString
protected SMTPResponse()
public SMTPResponse(String code, CharSequence description)
code
- the returnCodedescription
- the descriptionpublic SMTPResponse(String rawLine)
rawLine
- the raw SMTPResponsepublic List<CharSequence> getLines()
Response
Response
before sending it to the client.Response.getLines()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.