Java Code Examples for com.alibaba.dubbo.common.utils.CollectionUtils#toStringMap()

The following examples show how to use com.alibaba.dubbo.common.utils.CollectionUtils#toStringMap() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: URL.java    From dubbox-hystrix with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String username, String password, String host, int port, String path, String... pairs) {
    this(protocol, username, password, host, port, path, CollectionUtils.toStringMap(pairs));
}
 
Example 2
Source File: URL.java    From dubbox with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String username, String password, String host, int port, String path, String... pairs) {
    this(protocol, username, password, host, port, path, CollectionUtils.toStringMap(pairs));
}
 
Example 3
Source File: URL.java    From dubbox with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String path, String... pairs) {
    this(protocol, null, null, host, port, path, CollectionUtils.toStringMap(pairs));
}
 
Example 4
Source File: URL.java    From dubbox with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String[] pairs) { // 变长参数...与下面的path参数冲突,改为数组
    this(protocol, null, null, host, port, null, CollectionUtils.toStringMap(pairs));
}
 
Example 5
Source File: URL.java    From dubbox with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String username, String password, String host, int port, String path, String... pairs) {
    this(protocol, username, password, host, port, path, CollectionUtils.toStringMap(pairs));
}
 
Example 6
Source File: URL.java    From dubbox with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String path, String... pairs) {
    this(protocol, null, null, host, port, path, CollectionUtils.toStringMap(pairs));
}
 
Example 7
Source File: URL.java    From dubbox with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String[] pairs) { // 变长参数...与下面的path参数冲突,改为数组
    this(protocol, null, null, host, port, null, CollectionUtils.toStringMap(pairs));
}
 
Example 8
Source File: Parameters.java    From dubbo3 with Apache License 2.0 4 votes vote down vote up
public Parameters(String... pairs) {
    this(CollectionUtils.toStringMap(pairs));
}
 
Example 9
Source File: URL.java    From dubbo3 with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String path, String... pairs) {
    this(protocol, null, null, host, port, path, CollectionUtils.toStringMap(pairs));
}
 
Example 10
Source File: URL.java    From dubbo-2.6.5 with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String[] pairs) { // varargs ... confilict with the following path argument, use array instead.
    this(protocol, null, null, host, port, null, CollectionUtils.toStringMap(pairs));
}
 
Example 11
Source File: URL.java    From dubbox-hystrix with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String path, String... pairs) {
    this(protocol, null, null, host, port, path, CollectionUtils.toStringMap(pairs));
}
 
Example 12
Source File: URL.java    From dubbox-hystrix with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String[] pairs) { // 变长参数...与下面的path参数冲突,改为数组
    this(protocol, null, null, host, port, null, CollectionUtils.toStringMap(pairs));
}
 
Example 13
Source File: URL.java    From dubbox with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String username, String password, String host, int port, String path, String... pairs) {
    this(protocol, username, password, host, port, path, CollectionUtils.toStringMap(pairs));
}
 
Example 14
Source File: URL.java    From dubbox with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String path, String... pairs) {
    this(protocol, null, null, host, port, path, CollectionUtils.toStringMap(pairs));
}
 
Example 15
Source File: URL.java    From dubbox with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String[] pairs) { // 变长参数...与下面的path参数冲突,改为数组
    this(protocol, null, null, host, port, null, CollectionUtils.toStringMap(pairs));
}
 
Example 16
Source File: URL.java    From dubbo-2.6.5 with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String username, String password, String host, int port, String path, String... pairs) {
    this(protocol, username, password, host, port, path, CollectionUtils.toStringMap(pairs));
}
 
Example 17
Source File: URL.java    From dubbo-2.6.5 with Apache License 2.0 4 votes vote down vote up
public URL(String protocol, String host, int port, String path, String... pairs) {
    this(protocol, null, null, host, port, path, CollectionUtils.toStringMap(pairs));
}