org.apache.openejb.client
Class AuthenticationResponse

java.lang.Object
  extended by org.apache.openejb.client.AuthenticationResponse
All Implemented Interfaces:
Externalizable, Serializable, Response

public class AuthenticationResponse
extends Object
implements Response

See Also:
Serialized Form

Constructor Summary
AuthenticationResponse()
           
AuthenticationResponse(int code)
           
 
Method Summary
 Throwable getDeniedCause()
           
 ClientMetaData getIdentity()
           
 AuthenticationRequest getRequest()
           
 int getResponseCode()
           
 ServerMetaData getServer()
           
 void readExternal(ObjectInput in)
           
 void setDeniedCause(Throwable deniedCause)
           
 void setIdentity(ClientMetaData identity)
           
 void setMetaData(ProtocolMetaData metaData)
          Set the protocol metadata that can be used for version checking
 void setRequest(AuthenticationRequest request)
           
 void setResponseCode(int responseCode)
           
 void setServer(ServerMetaData server)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationResponse

public AuthenticationResponse()

AuthenticationResponse

public AuthenticationResponse(int code)
Method Detail

setMetaData

public void setMetaData(ProtocolMetaData metaData)
Description copied from interface: Response
Set the protocol metadata that can be used for version checking

Specified by:
setMetaData in interface Response
Parameters:
metaData - ProtocolMetaData

getRequest

public AuthenticationRequest getRequest()

setRequest

public void setRequest(AuthenticationRequest request)

getResponseCode

public int getResponseCode()

getIdentity

public ClientMetaData getIdentity()

getServer

public ServerMetaData getServer()

setResponseCode

public void setResponseCode(int responseCode)

setIdentity

public void setIdentity(ClientMetaData identity)

setServer

public void setServer(ServerMetaData server)

getDeniedCause

public Throwable getDeniedCause()

setDeniedCause

public void setDeniedCause(Throwable deniedCause)

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Specified by:
readExternal in interface Response
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Specified by:
writeExternal in interface Response
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.