@Test public void blockUnauthorized() { assertTrue(underTest.shouldBlock(SC_UNAUTHORIZED)); }
@Override public boolean shouldBlock(final int statusCode) { return statusCode == SC_UNAUTHORIZED || statusCode == PROXY_AUTHENTICATION_REQUIRED || statusCode >= 500; }
DefaultAutoBlockConfiguration implements AutoBlockConfiguration { @Override public boolean shouldBlock(final int statusCode) { return statusCode == SC_UNAUTHORIZED || statusCode == PROXY_AUTHENTICATION_REQUIRED || statusCode >= 500; } }
DefaultAutoBlockConfiguration implements AutoBlockConfiguration { @Override public boolean shouldBlock(final int statusCode) { return statusCode == SC_UNAUTHORIZED || statusCode == PROXY_AUTHENTICATION_REQUIRED || statusCode >= 500; }  }
DefaultAutoBlockConfiguration implements AutoBlockConfiguration { @Override public boolean shouldBlock(final int statusCode) { return statusCode == SC_UNAUTHORIZED || statusCode == PROXY_AUTHENTICATION_REQUIRED || statusCode >= 500; }  @Override boolean shouldBlock(final int statusCode); }
DefaultAutoBlockConfiguration implements AutoBlockConfiguration { @Override public boolean shouldBlock(final int statusCode) { return statusCode == SC_UNAUTHORIZED || statusCode == PROXY_AUTHENTICATION_REQUIRED || statusCode >= 500; }  @Override boolean shouldBlock(final int statusCode);  }