mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-27 21:29:12 +00:00
Make inner classes static (#405)
This commit is contained in:
parent
f78ec699ab
commit
f198fc0e62
@ -385,7 +385,7 @@ private static void copyBytes(final SessionInputBuffer srcBuf, final InputStream
|
||||
* Copied from DefaultHttpResponseWriter, but wrapping a SimpleHttpResponse instead of a ClassicHttpResponse
|
||||
*/
|
||||
// Seems like the DefaultHttpResponseWriter should be able to do this, but it doesn't seem to be able to
|
||||
private class SimpleHttpResponseWriter extends AbstractMessageWriter<SimpleHttpResponse> {
|
||||
private static class SimpleHttpResponseWriter extends AbstractMessageWriter<SimpleHttpResponse> {
|
||||
|
||||
public SimpleHttpResponseWriter() {
|
||||
super(BasicLineFormatter.INSTANCE);
|
||||
|
@ -634,7 +634,7 @@ public void setValidateAfterInactivity(final TimeValue validateAfterInactivity)
|
||||
|
||||
private static final PrefixedIncrementingId INCREMENTING_ID = new PrefixedIncrementingId("ep-");
|
||||
|
||||
class InternalConnectionEndpoint extends ConnectionEndpoint implements Identifiable {
|
||||
static class InternalConnectionEndpoint extends ConnectionEndpoint implements Identifiable {
|
||||
|
||||
private final AtomicReference<PoolEntry<HttpRoute, ManagedHttpClientConnection>> poolEntryRef;
|
||||
private final String id;
|
||||
|
@ -670,7 +670,7 @@ public void setValidateAfterInactivity(final TimeValue validateAfterInactivity)
|
||||
|
||||
private static final PrefixedIncrementingId INCREMENTING_ID = new PrefixedIncrementingId("ep-");
|
||||
|
||||
class InternalConnectionEndpoint extends AsyncConnectionEndpoint implements Identifiable {
|
||||
static class InternalConnectionEndpoint extends AsyncConnectionEndpoint implements Identifiable {
|
||||
|
||||
private final AtomicReference<PoolEntry<HttpRoute, ManagedAsyncClientConnection>> poolEntryRef;
|
||||
private final String id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user