All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nofdev.servicefacade.ServiceContext Maven / Gradle / Ivy

There is a newer version: 1.3.4
Show newest version
package org.nofdev.servicefacade;

import java.util.HashMap;

/**
 * Created by Qiang on 11/4/15.
 */
public class ServiceContext extends HashMap {

    public static final String PREFIX = "Service-Context";
    public static final String CALLID = "Service-Context-CallId";

    public void setCallId(CallId callId) {
        put(CALLID, callId);
    }

    public CallId getCallId() {
        if (get(CALLID) != null) {
            return (CallId) get(CALLID);
        } else {
            return null;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy