public class AuthenticationResponse
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthenticationResponse.AuthenticateStatus
The list of statuses that this response can handle.
|
| Constructor and Description |
|---|
AuthenticationResponse(AuthenticationResponse.AuthenticateStatus status,
java.lang.String message)
Creates a response with a status and a message.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.httpclient.HttpClient |
getHttpClient()
Returns the HTTP client used to establish the connection.
|
java.lang.String |
getMessage()
Returns the message of this response.
|
AuthenticationResponse.AuthenticateStatus |
getStatus()
Returns the status of this response.
|
void |
setHttpClient(org.apache.commons.httpclient.HttpClient httpClient)
Stores the HTTP client used to establish the connection.
|
public AuthenticationResponse(AuthenticationResponse.AuthenticateStatus status, java.lang.String message)
status - The status.message - The message associated with the response.public java.lang.String getMessage()
public AuthenticationResponse.AuthenticateStatus getStatus()
public org.apache.commons.httpclient.HttpClient getHttpClient()
public void setHttpClient(org.apache.commons.httpclient.HttpClient httpClient)
httpClient - The HTTP client.© Copyright IBM Corp. 1987, 2017