@Test public void noOffloadsWithExecutor() { Executor executor = mock(Executor.class); HttpExecutionStrategy strategy = customStrategyBuilder().executor(executor).build(); assertThat("Unexpected executor.", strategy.executor(), sameInstance(executor)); }
public static Builder customStrategyBuilder() { return new Builder(); }
HttpExecutionStrategies { public static Builder customStrategyBuilder() { return new Builder(); } }
HttpExecutionStrategies { public static Builder customStrategyBuilder() { return new Builder(); } private  HttpExecutionStrategies(); }
HttpExecutionStrategies { public static Builder customStrategyBuilder() { return new Builder(); } private  HttpExecutionStrategies(); static HttpExecutionStrategy defaultStrategy(); static HttpExecutionStrategy defaultStrategy(Executor executor); static HttpExecutionStrategy noOffloadsStrategy(); static Builder customStrategyBuilder(); @Nullable static HttpExecutionStrategy difference(final Executor fallback,
                                                   final HttpExecutionStrategy left,
                                                   final HttpExecutionStrategy right); }
HttpExecutionStrategies { public static Builder customStrategyBuilder() { return new Builder(); } private  HttpExecutionStrategies(); static HttpExecutionStrategy defaultStrategy(); static HttpExecutionStrategy defaultStrategy(Executor executor); static HttpExecutionStrategy noOffloadsStrategy(); static Builder customStrategyBuilder(); @Nullable static HttpExecutionStrategy difference(final Executor fallback,
                                                   final HttpExecutionStrategy left,
                                                   final HttpExecutionStrategy right);  }