@Test public void defaultShouldOffloadAll() { HttpExecutionStrategy strategy = defaultStrategy(); assertThat("send not offloaded by default.", strategy.isSendOffloaded(), is(true)); assertThat("receive meta not offloaded by default.", strategy.isMetadataReceiveOffloaded(), is(true)); assertThat("receive data not offloaded by default.", strategy.isDataReceiveOffloaded(), is(true)); }
public static HttpExecutionStrategy defaultStrategy() { return Builder.DEFAULT; }
HttpExecutionStrategies { public static HttpExecutionStrategy defaultStrategy() { return Builder.DEFAULT; } }
HttpExecutionStrategies { public static HttpExecutionStrategy defaultStrategy() { return Builder.DEFAULT; } private  HttpExecutionStrategies(); }
HttpExecutionStrategies { public static HttpExecutionStrategy defaultStrategy() { return Builder.DEFAULT; } 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 HttpExecutionStrategy defaultStrategy() { return Builder.DEFAULT; } 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);  }