private Builder removeRawPostBodyForWwwUrlEncodedPost(String __value) { return removeRawPostBodyForWwwUrlEncodedPost(Boolean.valueOf(__value)); }
private Builder override(Builder __superior) { if (__superior.developerMode != null) developerMode(__superior.developerMode); if (__superior.responseCompressionLevel != null) responseCompressionLevel(__superior.responseCompressionLevel); if (__superior.httpKeepAliveEnabled != null) httpKeepAliveEnabled(__superior.httpKeepAliveEnabled); if (__superior.maxKeepAliveRequests != null) maxKeepAliveRequests(__superior.maxKeepAliveRequests); if (__superior.removeRawPostBodyForWwwUrlEncodedPost != null) removeRawPostBodyForWwwUrlEncodedPost(__superior.removeRawPostBodyForWwwUrlEncodedPost); if (!__superior.filter.isEmpty()) filter.addAll(__superior.filter); if (__superior.maxWorkerThreads != null) maxWorkerThreads(__superior.maxWorkerThreads); jmx(jmx.override(__superior.jmx)); return this; }
public Builder(ServerConfig config) { developerMode(config.developerMode()); responseCompressionLevel(config.responseCompressionLevel()); httpKeepAliveEnabled(config.httpKeepAliveEnabled()); maxKeepAliveRequests(config.maxKeepAliveRequests()); removeRawPostBodyForWwwUrlEncodedPost(config.removeRawPostBodyForWwwUrlEncodedPost()); for (Filter f : config.filter()) { filter(new Filter.Builder(f)); } maxWorkerThreads(config.maxWorkerThreads()); jmx(new Jmx.Builder(config.jmx())); }