Methods Summary |
---|
public java.lang.String | echo(java.lang.String message)
/* append string to session data */
setSessionData(getSessionData() + " " + message);
System.out.println("The message is here : " + message);
return getSessionData();
|
private java.util.Hashtable | getSession()
return (Hashtable)context.getMessageContext()
.get("com.sun.xml.ws.session");
|
private java.lang.String | getSessionData()
Hashtable sess = getSession();
String ret = (String)sess.get("request_record");
return ret != null ? ret : "";
|
private void | setSessionData(java.lang.String data)
Hashtable session = getSession();
session.put("request_record", data);
|