--To view this discussion on the web visit https://groups.google.com/d/msg/wro4j/-/s2gYzlDjvZcJ.
You received this message because you are subscribed to the Google Groups "wro4j" group.
To post to this group, send email to wr...@googlegroups.com.
To unsubscribe from this group, send email to wro4j+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wro4j?hl=en.
Alex
To unsubscribe from this group, send email to wro4j+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/wro4j/-/QK5otuK4QZQJ.
To unsubscribe from this group, send email to wro4j+un...@googlegroups.com.
public WroConfiguration create() { final WroConfiguration config = new WroConfiguration(); if (properties != null) { config.setDebug(valueAsBoolean(properties.get(ConfigConstants.debug.name()), true)); config.setGzipEnabled(valueAsBoolean(properties.get(ConfigConstants.gzipResources.name()), true)); config.setJmxEnabled(valueAsBoolean(properties.get(ConfigConstants.jmxEnabled.name()), true)); config.setCacheUpdatePeriod(valueAsLong(properties.get(ConfigConstants.cacheUpdatePeriod.name()), 0)); config.setModelUpdatePeriod(valueAsLong(properties.get(ConfigConstants.modelUpdatePeriod.name()), 0)); config.setDisableCache(valueAsBoolean(properties.get(ConfigConstants.disableCache.name()), false)); config.setIgnoreMissingResources(valueAsBoolean(properties.get(ConfigConstants.ignoreMissingResources.name()), true)); config.setEncoding(valueAsString(properties.get(ConfigConstants.encoding.name()))); config.setWroManagerClassName(valueAsString(properties.get(ConfigConstants.managerFactoryClassName.name()))); config.setMbeanName(valueAsString(properties.get(ConfigConstants.mbeanName.name()))); config.setHeader(valueAsString(properties.get(ConfigConstants.header.name()))); config.setCacheGzippedContent(valueAsBoolean(properties.get(ConfigConstants.cacheGzippedContent.name()), false)); config.setParallelPreprocessing(valueAsBoolean(properties.get(ConfigConstants.parallelPreprocessing.name()), false)); } LOG.debug("WroConfiguration created: {}", config); return config; }
// setting these timeouts ensures the client does not deadlock indefinitely // when the server has problems. //TimeUnit.MILLISECONDS.con final int timeout = (int) TimeUnit.MILLISECONDS.convert(Context.get().getConfig().getConnectionTimeout(), TimeUnit.SECONDS);
To view this discussion on the web visit https://groups.google.com/d/msg/wro4j/-/kWkQ1AZ_1JQJ.
To unsubscribe from this group, send email to wro4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/wro4j/-/nsOrRtb6FG0J.
To unsubscribe from this group, send email to wro4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/wro4j/-/E5fiC190MzIJ.
To unsubscribe from this group, send email to wro4j+un...@googlegroups.com.