File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
client/src/main/java/org/asynchttpclient Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,12 @@ public abstract class RequestBuilderBase<T extends RequestBuilderBase<T>> {
9494 protected ChannelPoolPartitioning channelPoolPartitioning = ChannelPoolPartitioning .PerHostChannelPoolPartitioning .INSTANCE ;
9595 protected NameResolver <InetAddress > nameResolver = DEFAULT_NAME_RESOLVER ;
9696 // Flag to track if Content-Type was explicitly set by user (should not be modified)
97- private boolean contentTypeLocked ;
97+ // Keep this field protected for binary compatibility with subclasses compiled
98+ // against earlier versions that may have accessed the field directly. New
99+ // code should use the doContentTypeLock/resetContentTypeLock/isContentTypeLocked
100+ // API instead.
101+ @ Deprecated
102+ protected boolean contentTypeLocked ;
98103
99104 /**
100105 * Mark the Content-Type header as explicitly set by the user. When locked, the
You can’t perform that action at this time.
0 commit comments