We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a04ad90 commit 19b0916Copy full SHA for 19b0916
api/src/main/java/io/grpc/ManagedChannelBuilder.java
@@ -181,15 +181,12 @@ public T usePlaintext(boolean skipNegotiation) {
181
* <p>This assumes prior knowledge that the target of this channel is using plaintext. It will
182
* not perform HTTP/1.1 upgrades.
183
*
184
- *
185
- * @throws UnsupportedOperationException if plaintext mode is not supported.
186
* @return this
+ * @throws UnsupportedOperationException if plaintext mode is not supported.
187
* @since 1.11.0
188
*/
189
- @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1772")
190
- @SuppressWarnings("deprecation")
191
public T usePlaintext() {
192
- return usePlaintext(true);
+ throw new UnsupportedOperationException();
193
}
194
195
/**
0 commit comments