|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object context.arch.comm.protocol.RequestData
This class maintains the data received in a request
Field Summary | |
static java.lang.String |
DECODE
Specifies that this type of request requires decoding |
Constructor Summary | |
RequestData()
Basic empty constructor |
|
RequestData(java.lang.String type,
java.lang.String line,
java.io.Reader data)
Constructor with request type, single input line and complete data |
Method Summary | |
java.io.Reader |
getData()
Returns the complete request data |
java.lang.String |
getLine()
Returns the single line of request data |
java.lang.String |
getType()
Returns the type of request |
void |
setData(java.io.Reader data)
Sets the complete request data Reader |
void |
setLine(java.lang.String line)
Sets the single line of request data |
void |
setType(java.lang.String type)
Sets the type of request |
java.lang.String |
toString()
Returns a string version of this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String DECODE
Constructor Detail |
public RequestData()
public RequestData(java.lang.String type, java.lang.String line, java.io.Reader data)
type
- Type of requestline
- Single line of inputdata
- Rest of request data in an ReaderMethod Detail |
public java.lang.String getType()
public java.lang.String getLine()
public java.io.Reader getData()
public void setLine(java.lang.String line)
line
- The single line of request datapublic void setData(java.io.Reader data)
data
- The complete request datapublic void setType(java.lang.String type)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |