org.rribbit
Class Request
java.lang.Object
org.rribbit.Request
- All Implemented Interfaces:
- Serializable
public class Request
- extends Object
- implements Serializable
This class represents a request that is made to the RequestResponseBus. It is passed to a RequestDispatcher for dispatching to a RequestProcessor.
The hint and the desiredReturnType can be null if this request does not care about the returntype or if this request does not want to select listeners based on a hint.
This class implements Serializable, but in order to be truly serializable, the user should make sure that the Objects in the parameters are also Serializable.
- Author:
- G.J. Schouten
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Request
public Request(Class<?> desiredReturnType,
String hint,
Object[] parameters)
getHint
public String getHint()
getDesiredReturnType
public Class<?> getDesiredReturnType()
getParameters
public Object[] getParameters()
Copyright © 2013 RRiBbit.org. All Rights Reserved.