@Unstable
@Role
public interface PushServerResponse
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActionFailed_isUnknownAction() |
boolean |
isActionFailed_knownReason() |
boolean |
isActionFailed() |
boolean |
isClientDoesNotAcceptServerProtocolVersion() |
boolean |
isLoginFailed_IncorrectCredentials() |
boolean |
isLoginFailed_knownReason() |
boolean |
isLoginFailed_TokensNotSuported() |
boolean |
isLoginFailed_UnauthorizedServer() |
boolean |
isLoginFailed_UserTokenExpired() |
boolean |
isLoginFailed() |
boolean |
isServerDoesNotAcceptClientProtocolVersion() |
boolean |
isSuccessful()
Returns the status of the requested action.
|
boolean isSuccessful()
true iff all of the following was true:
false in all other cases, in which case one and only one of isLoginFailed(),
isActionFailed() or isServerDoesNotAcceptClientProtocolVersion() or
isClientDoesNotAcceptServerProtocolVersion will return true.
boolean isLoginFailed()
true for any problems related to authenticating the user on the remote server. E.g. server token
may be incorrect, or the password may be wrong, etc.boolean isActionFailed()
true for any problems executing the action requested after the user was successfully
authenticated.boolean isServerDoesNotAcceptClientProtocolVersion()
true if the version of the POST protocol used is not supported by the server
(the assumption is that client protocol version is outdated, since by default any
client version newer than the server is supported)boolean isClientDoesNotAcceptServerProtocolVersion()
true if the version of the POST protocol used by the server is not supported by the client
(the assumption is that server protocol version is outdated, since by default any
server version newer than the client is supported)boolean isLoginFailed_knownReason()
true iff the failure reason is known.false may indicate an unknown problem on the server side.boolean isLoginFailed_UnauthorizedServer()
true iff remote server does not allow pushes from this server.boolean isLoginFailed_IncorrectCredentials()
true iff the user name was a not a valid user on the remote server, or either the password or the
token were not correct for the user provided.boolean isLoginFailed_UserTokenExpired()
true iff the user token provided is expired.boolean isLoginFailed_TokensNotSuported()
true iff the user token are not accepted by the remote server (possibly after a config change).boolean isActionFailed_knownReason()
true iff the failure reason is known.false may indicate an unknown problem on the server side.boolean isActionFailed_isUnknownAction()
true iff the action requested is not supported by the serverCopyright © 2011–2016 University of Toronto, Computational Biology Lab. All rights reserved.