FileDocCategorySizeDatePackage
IPingImpl.javaAPI DocExample3465Tue May 29 16:58:40 BST 2007wssc.secureroundtrip.server

IPingImpl

public class IPingImpl extends Object

Fields Summary
private WebServiceContext
context
Constructors Summary
Methods Summary
public java.lang.Stringecho(java.lang.String message)

param
String

        /* append string to session data */
        setSessionData(getSessionData() + " " + message);
        System.out.println("The message is here : " + message);
        return getSessionData();
    
private java.util.HashtablegetSession()

        return (Hashtable)context.getMessageContext()
                .get("com.sun.xml.ws.session");
    
private java.lang.StringgetSessionData()

	Hashtable sess = getSession();
        String ret = (String)sess.get("request_record");
        return ret != null ? ret : "";

    
private voidsetSessionData(java.lang.String data)

        Hashtable session = getSession();
        session.put("request_record", data);