public class Request
extends java.lang.Object
Constructor and Description |
---|
Request()
Constructs an empty Request
|
Request(java.lang.Object type)
Constructs a Request with the specified type
|
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getExtendedData()
Returns a Map that can be used to save useful information in this
request.
|
java.lang.Object |
getType()
Returns the type of the request.
|
void |
setExtendedData(java.util.Map map)
Sets the given map to be the new extended data (by reference) for this
request.
|
void |
setType(java.lang.Object type)
Sets the type of the Request.
|
public Request()
public Request(java.lang.Object type)
type
- the Request typegetType()
public java.util.Map getExtendedData()
public java.lang.Object getType()
public void setExtendedData(java.util.Map map)
map
- The new mappublic void setType(java.lang.Object type)
type
- the Request typeCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.