|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.knipp.rritoolkit.request.Request
de.knipp.rritoolkit.request.LoginRequest
public class LoginRequest
implementation of the login request
Field Summary | |
---|---|
private java.lang.String |
password
the password |
private java.lang.String |
userName
the user name |
Constructor Summary | |
---|---|
LoginRequest()
|
Method Summary | |
---|---|
LoginResponse |
execute(Port port)
execute the this request on the given port. |
protected java.lang.String |
getActionCode()
return the action string for this request |
java.lang.String |
getPassword()
return the password |
java.lang.String |
getUser()
return the user name |
protected void |
requestToKVList(KVList list)
method that needs to be implemented by subclasses for the key-value list conversion |
protected void |
requestToXml(org.w3c.dom.Node node)
method that needs to be implemented by subclasses for the XML conversion |
void |
setPassword(java.lang.String thePassword)
set the password |
void |
setUser(java.lang.String theUserName)
set the user name |
java.lang.String |
toString()
return a string representation for debugging purposes |
Methods inherited from class de.knipp.rritoolkit.request.Request |
---|
getClientTxnID, getProtocolVersion, setClientTxnID, toList, toXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String userName
private java.lang.String password
Constructor Detail |
---|
public LoginRequest()
Method Detail |
---|
public void setUser(java.lang.String theUserName)
theUserName
- the user namepublic java.lang.String getUser()
public void setPassword(java.lang.String thePassword)
thePassword
- the passwordpublic java.lang.String getPassword()
public LoginResponse execute(Port port) throws java.io.IOException
execute
in class Request
port
- the port on which this request shall
be executed
java.io.IOException
- if the execution failedprotected void requestToXml(org.w3c.dom.Node node) throws org.w3c.dom.DOMException, EncodeException
requestToXml
in class Request
node
- the node where the request shall be added to
org.w3c.dom.DOMException
- on DOM exceptions
EncodeException
- if the encoding fails for some reasonprotected java.lang.String getActionCode()
getActionCode
in class Request
protected void requestToKVList(KVList list) throws EncodeException
requestToKVList
in class Request
list
- the list that has to be filled
EncodeException
- if the encoding fails for some reasonpublic java.lang.String toString()
toString
in class Request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |