本文整理了Java中javax.ws.rs.core.Configuration.getPropertyNames()
方法的一些代码示例,展示了Configuration.getPropertyNames()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Configuration.getPropertyNames()
方法的具体详情如下:
包路径:javax.ws.rs.core.Configuration
类名称:Configuration
方法名:getPropertyNames
[英]Returns an immutable java.util.Collection containing the property names available within the context of the current configuration instance.
Use the #getProperty method with a property name to get the value of a property.
[中]返回一个不可变的java。util。集合,其中包含当前配置实例上下文中可用的属性名称。
使用带有属性名称的#getProperty方法获取属性的值。
代码示例来源:origin: resteasy/Resteasy
@Override
public Collection<String> getPropertyNames()
{
return delegate.getPropertyNames();
}
代码示例来源:origin: org.jboss.resteasy/resteasy-client-microprofile
@Override
public Collection<String> getPropertyNames()
{
return delegate.getPropertyNames();
}
代码示例来源:origin: io.smallrye/smallrye-rest-client
@Override
public Collection<String> getPropertyNames() {
return delegate.getPropertyNames();
}
代码示例来源:origin: io.thorntail/microprofile-restclient-api
@Override
public Collection<String> getPropertyNames() {
return delegate.getPropertyNames();
}
代码示例来源:origin: org.apache.tomee/openejb-core
@Override
public Collection<String> getPropertyNames() {
return get().getPropertyNames();
}
代码示例来源:origin: icode/ameba
for (String key : configuration.getPropertyNames()) {
if (key.startsWith(ASSETS_CONF_PREFIX) || key.equals("resource.assets")) {
String routePath = key.replaceFirst("^resource\\.assets", "");
代码示例来源:origin: usnistgov/iheos-toolkit2
/**
* This will initialize the SPI to contact the test engine at
* http://hostname:port/xdstools2
* @param urlRoot URL Root - http://hostname:port/xdstools2 for example
*/
public EngineSpi(String urlRoot) {
ClientConfig cc = new ClientConfig().register(new JacksonFeature());
Client c = ClientBuilder.newClient(cc);
c.register(new LoggingFilter(java.util.logging.Logger.getLogger("SYSTEM"), true));
Configuration conf = c.getConfiguration();
logger.info(conf.getPropertyNames());
logger.info("target is " + urlRoot + "/rest/");
target = c.target(urlRoot + "/rest/");
}
代码示例来源:origin: icode/ameba
for (String key : config.getPropertyNames()) {
if (key.startsWith(TemplateHelper.TPL_ENGINE_DIR_PR)) {//模板引擎默认路径
String engine = key.replaceFirst(Pattern.quote(
内容来源于网络,如有侵权,请联系作者删除!