public final class URLBuilder extends ServiceConfigURL
| 构造器和说明 |
|---|
URLBuilder() |
URLBuilder(String protocol,
String host,
int port) |
URLBuilder(String protocol,
String host,
int port,
Map<String,String> parameters) |
URLBuilder(String protocol,
String host,
int port,
String path) |
URLBuilder(String protocol,
String host,
int port,
String[] pairs) |
URLBuilder(String protocol,
String host,
int port,
String path,
Map<String,String> parameters) |
URLBuilder(String protocol,
String host,
int port,
String path,
String... pairs) |
URLBuilder(String protocol,
String username,
String password,
String host,
int port,
String path,
Map<String,String> parameters) |
URLBuilder(String protocol,
String username,
String password,
String host,
int port,
String path,
Map<String,String> parameters,
Map<String,Object> attributes) |
addAttributes, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getUrlParameter, toFullString, toIdentityString, toParameterString, toStringbuildKey, cacheableValueOf, decode, encode, equals, getAbsolutePath, getAddress, getAllParameters, getAnyMethodParameter, getApplication, getApplication, getApplicationModel, getAttribute, getAttribute, getAttributes, getAuthority, getBackupAddress, getBackupAddress, getBackupUrls, getBooleanParameter, getBooleanParameter, getCategory, getCategory, getCategory, getColonSeparatedKey, getConcatenatedParameter, getDisplayServiceKey, getGroup, getGroup, getHost, getIntParameter, getIntParameter, getIp, getMethodBooleanParameter, getMethodBooleanParameter, getMethodIntParameter, getMethodIntParameter, getMethodParameter, getMethodParameter, getMethodParameter, getMethodParameterAndDecoded, getMethodParameterAndDecoded, getMethodParameterStrict, getMethodPositiveIntParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getMethodPositiveParameter, getOrDefaultApplicationModel, getOrDefaultFrameworkModel, getOrDefaultModuleModel, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameterAndDecoded, getParameterAndDecoded, getParameters, getParameters, getPassword, getPath, getPathKey, getPort, getPort, getPositiveIntParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getPositiveServiceParameter, getProtocol, getProtocolServiceKey, getRawParameter, getRemoteApplication, getScopeModel, getServiceInterface, getServiceKey, getServiceMethodParameter, getServiceMethodParameter, getServiceMethodParameterAndDecoded, getServiceMethodParameterAndDecoded, getServiceMethodParameterStrict, getServiceModel, getServiceName, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameter, getServiceParameters, getSide, getSide, getUrlAddress, getUrlParam, getUserInformation, getUsername, getVersion, getVersion, hasAttribute, hashCode, hasMethodParameter, hasServiceMethodParameter, hasServiceMethodParameter, hasServiceParameter, isAnyHost, isLocalHost, putMethodParameter, setServiceInterface, setServiceModel, toConfiguration, toFullString, toIdentityString, toInetSocketAddress, toJavaURL, toMap, toParameterString, toSerializableURL, toServiceString, toServiceStringWithoutResolving, toString, valueOf, valueOf, valueOf, valueOf, valueOfpublic URLBuilder()
public URLBuilder(String protocol, String host, int port, String path, Map<String,String> parameters)
public URLBuilder(String protocol, String username, String password, String host, int port, String path, Map<String,String> parameters)
public static URLBuilder from(URL url)
public ServiceConfigURL build()
public URLBuilder putAttribute(String key, Object obj)
putAttribute 在类中 ServiceConfigURLpublic URLBuilder removeAttribute(String key)
removeAttribute 在类中 ServiceConfigURLpublic URLBuilder setProtocol(String protocol)
setProtocol 在类中 URLpublic URLBuilder setUsername(String username)
setUsername 在类中 URLpublic URLBuilder setPassword(String password)
setPassword 在类中 URLpublic URLBuilder setHost(String host)
public URLBuilder setPort(int port)
public URLBuilder setAddress(String address)
setAddress 在类中 URLpublic URLBuilder setPath(String path)
public URLBuilder setScopeModel(ScopeModel scopeModel)
setScopeModel 在类中 URLpublic URLBuilder addParameterAndEncoded(String key, String value)
addParameterAndEncoded 在类中 URLpublic URLBuilder addParameter(String key, boolean value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, char value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, byte value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, short value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, int value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, long value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, float value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, double value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, Enum<?> value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, Number value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, CharSequence value)
addParameter 在类中 URLpublic URLBuilder addParameter(String key, String value)
addParameter 在类中 URLpublic URLBuilder addMethodParameter(String method, String key, String value)
public URLBuilder addParameterIfAbsent(String key, String value)
addParameterIfAbsent 在类中 URLpublic URLBuilder addMethodParameterIfAbsent(String method, String key, String value)
public URLBuilder addParameters(Map<String,String> parameters)
URLaddParameters 在类中 URLparameters - parameters in key-value pairspublic URLBuilder addMethodParameters(Map<String,Map<String,String>> methodParameters)
public URLBuilder addParametersIfAbsent(Map<String,String> parameters)
addParametersIfAbsent 在类中 URLpublic URLBuilder addParameters(String... pairs)
addParameters 在类中 URLpublic URLBuilder addParameterString(String query)
addParameterString 在类中 URLpublic URLBuilder removeParameter(String key)
removeParameter 在类中 URLpublic URLBuilder removeParameters(Collection<String> keys)
removeParameters 在类中 URLpublic URLBuilder removeParameters(String... keys)
removeParameters 在类中 URLpublic URLBuilder clearParameters()
clearParameters 在类中 URLpublic boolean hasParameter(String key)
hasParameter 在类中 URLpublic boolean hasMethodParameter(String method, String key)
hasMethodParameter 在类中 URLpublic String getParameter(String key)
getParameter 在类中 URLpublic String getMethodParameter(String method, String key)
getMethodParameter 在类中 URLCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.