|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.inet.nntp.StatusResponse
public class StatusResponse
An NNTP status response. This represents the status code/message pair sent by the server in response to client commands.
Field Summary | |
---|---|
protected java.lang.String |
message
|
protected short |
status
|
Constructor Summary | |
---|---|
protected |
StatusResponse(short status,
java.lang.String message)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the message associated with this response. |
short |
getStatus()
Returns the status code associated with this response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected short status
protected java.lang.String message
Constructor Detail |
---|
protected StatusResponse(short status, java.lang.String message)
Method Detail |
---|
public short getStatus()
public java.lang.String getMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |