|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.servlet.response.SuccessResponse
public class SuccessResponse
Every ServerResponse except the ErrorResponse extend this class. This class simply indicates that the response is successful. SubClasses will include other data in the response, such as a list of data.
Constructor Summary | |
---|---|
SuccessResponse()
|
Method Summary | |
---|---|
java.lang.String |
getError()
This method should not be called, as there was no error since this is a Successful Response. |
boolean |
isSuccessful()
Returns true. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SuccessResponse()
Method Detail |
---|
public final boolean isSuccessful()
isSuccessful
in interface CommandResponse
public final java.lang.String getError()
getError
in interface CommandResponse
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |