public static Builder builder() {
		return new Builder() {
			private final ImmutableList.Builder<HttpServiceHandler> handlers = ImmutableList.builder();
			private int threads = DEFAULT_THREADS;
			
			@Override
			public Builder threading(int threads) {
				this.threads = threads;
				return this;
			}
			
			@Override
			public Builder register(HttpServiceHandler handler) {
				//%% final HandlerElement h = new HandlerElement();
				//%% h.handler = handler;
				handlers.add(handler);
				/*%%
				return new HandlerBuilder() {
					@Override
					public HandlerBuilder limit(double streamingRate) {
						h.streamingRate = streamingRate;
						return this;
					}
				};
				*/
				return this;
			}
			
			@Override
			public HttpService build() {
				return new HttpService(threads, handlers.build());
			}
		};
	}
public static Builder builder() {
		return new Builder() {
			private final ImmutableList.Builder<HttpServiceHandler> handlers = ImmutableList.builder();
			private int threads = DEFAULT_THREADS;
			
			@Override
			public Builder threading(int threads) {
				this.threads = threads;
				return this;
			}
			
			@Override
			public Builder register(HttpServiceHandler handler) {
				
				
				handlers.add(handler);
				
				return this;
			}
			
			@Override
			public HttpService build() {
				return new HttpService(threads, handlers.build());
			}
		};
	}
public static Builder builder ( ) { return new Builder ( ) { private final ImmutableList . Builder < HttpServiceHandler > handlers = ImmutableList . builder ( ) ; private int threads = DEFAULT_THREADS ; @ Override public Builder threading ( int threads ) { this . threads = threads ; return this ; } @ Override public Builder register ( HttpServiceHandler handler ) { //%% final HandlerElement h = new HandlerElement(); //%% h.handler = handler; handlers . add ( handler ) ; /*%%
				return new HandlerBuilder() {
					@Override
					public HandlerBuilder limit(double streamingRate) {
						h.streamingRate = streamingRate;
						return this;
					}
				};
				*/ return this ; } @ Override public HttpService build ( ) { return new HttpService ( threads , handlers . build ( ) ) ; } } ; }
/*%%
private static final class HandlerElement {
public HttpServiceHandler handler;
public double streamingRate = Double.NaN;
}
/ * %% private static final class HandlerElement { public HttpServiceHandler handler ; public double streamingRate = Double . NaN ; }