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

com.taobao.api.internal.toplink.channel.websocket.WebSocketClientHelper Maven / Gradle / Ivy

The newest version!
package com.taobao.api.internal.toplink.channel.websocket;

import java.net.URI;
import java.util.HashMap;
import java.util.Map;

public class WebSocketClientHelper {
	private static Map> headersByUri = new HashMap>();

	public static void setHeaders(URI uri, Map headers) {
		headersByUri.put(uri.toASCIIString(), headers);
	}

	public static Map getHeaders(URI uri) {
		return headersByUri.get(uri.toASCIIString());
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy