Rule Execution Server API

ilog.rules.teamserver.auth
Class AuthenticationResponse

java.lang.Object
  extended by ilog.rules.teamserver.auth.AuthenticationResponse
All Implemented Interfaces:
Serializable

public class AuthenticationResponse
extends Object
implements Serializable

Defines an object to handle a response on the status of the connection.

See Also:
AuthenticationHandler.connect(String, AuthenticationCredentials), Serialized Form

Nested Class Summary
static class AuthenticationResponse.AuthenticateStatus
          The list of statuses that this response can handle.
 
Constructor Summary
AuthenticationResponse(AuthenticationResponse.AuthenticateStatus status, String message)
          Creates a response with a status and a message.
 
Method Summary
 org.apache.commons.httpclient.HttpClient getHttpClient()
          Returns the HTTP client used to establish the connection.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationResponse

public AuthenticationResponse(AuthenticationResponse.AuthenticateStatus status,
                              String message)
Creates a response with a status and a message.

Parameters:
status - The status.
message - The message associated with the response.
Method Detail

getMessage

public String getMessage()
Returns the message of this response.

Returns:
The message.

getStatus

public AuthenticationResponse.AuthenticateStatus getStatus()
Returns the status of this response.

Returns:
The status.

getHttpClient

public org.apache.commons.httpclient.HttpClient getHttpClient()
Returns the HTTP client used to establish the connection.

Returns:
The HTTP client.

setHttpClient

public void setHttpClient(org.apache.commons.httpclient.HttpClient httpClient)
Stores the HTTP client used to establish the connection.

Parameters:
httpClient - The HTTP client.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013