org.nakedobjects.remoting.exchange
Class RequestAbstract
java.lang.Object
org.nakedobjects.remoting.exchange.RequestAbstract
- All Implemented Interfaces:
- Encodable, Request
- Direct Known Subclasses:
- AuthorizationRequestAbstract, ClearAssociationRequest, ClearValueRequest, CloseSessionRequest, ExecuteClientActionRequest, ExecuteServerActionRequest, FindInstancesRequest, GetObjectRequest, GetPropertiesRequest, HasInstancesRequest, OidForServiceRequest, OpenSessionRequest, ResolveFieldRequest, ResolveObjectRequest, SetAssociationRequest, SetValueRequest
public abstract class RequestAbstract
- extends java.lang.Object
- implements Request
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nakedobjects.remoting.exchange.Request |
execute |
response
protected transient java.lang.Object response
session
protected final AuthenticationSession session
RequestAbstract
public RequestAbstract(AuthenticationSession session)
RequestAbstract
public RequestAbstract(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
- Throws:
java.io.IOException
setResponse
public final void setResponse(java.lang.Object response)
- Specified by:
setResponse in interface Request
getResponse
public java.lang.Object getResponse()
- Specified by:
getResponse in interface Request
getSession
public AuthenticationSession getSession()
- Specified by:
getSession in interface Request
getId
public int getId()
- Description copied from interface:
Request
- Unique identifier for the request.
REVIEW: rather than using a simple int, wouldn't a UUID be preferable?
- Specified by:
getId in interface Request
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.