org.nakedobjects.remoting.exchange
Class OpenSessionRequest
java.lang.Object
org.nakedobjects.remoting.exchange.RequestAbstract
org.nakedobjects.remoting.exchange.OpenSessionRequest
- All Implemented Interfaces:
- Encodable, Request
public class OpenSessionRequest
- extends RequestAbstract
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OpenSessionRequest
public OpenSessionRequest(java.lang.String username,
java.lang.String password)
OpenSessionRequest
public OpenSessionRequest(DataInputExtended input)
throws java.io.IOException
- Throws:
java.io.IOException
encode
public void encode(DataOutputExtended output)
throws java.io.IOException
- Specified by:
encode in interface Encodable- Overrides:
encode in class RequestAbstract
- Throws:
java.io.IOException
getUsername
public java.lang.String getUsername()
getPassword
public java.lang.String getPassword()
execute
public void execute(ServerFacade serverFacade)
Sets a response of an AuthenticationSession.
getResponse
public OpenSessionResponse getResponse()
- Downcasts.
- Specified by:
getResponse in interface Request- Overrides:
getResponse in class RequestAbstract
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.