public void setAttribute(String key, Object value) {
        attributes.put(key, value);
    }
Set attribute key=value.

@param key attribute key
@param value attribute value
src/main/java/com/alipay/remoting/Connection.java