Skip to content

Commit

Permalink
core: Stabilize ManagedChannelBuilder.overrideAuthority
Browse files Browse the repository at this point in the history
The CallOptions from #1767 are not included, so this is not enough to resolve
the issue.
  • Loading branch information
ejona86 authored Nov 17, 2017
1 parent da75b02 commit 02817e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/io/grpc/ManagedChannelBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ public static ManagedChannelBuilder<?> forTarget(String target) {
* Overrides the authority used with TLS and HTTP virtual hosting. It does not change what host is
* actually connected to. Is commonly in the form {@code host:port}.
*
* <p>Should only used by tests.
* <p>This method is intended for testing, but may safely be used outside of tests as an
* alternative to DNS overrides.
*
* @return this
* @since 1.0.0
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1767")
public abstract T overrideAuthority(String authority);

/**
Expand Down

0 comments on commit 02817e2

Please sign in to comment.