|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CommandResponse
All ServerResponses implement this class; it contains two methods, one that returns whether the operation was successful and another that returns a String describing the error if the ServerRequest was not successful.
| Method Summary | |
|---|---|
java.lang.String |
getError()
Returns an error message if the request could not complete successfully. |
boolean |
isSuccessful()
Returns true if the request completed successfully |
| Method Detail |
|---|
boolean isSuccessful()
java.lang.String getError()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||