Skip to content

Fix in-process channel target doc #206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public DefaultGrpcChannelFactory(List<GrpcChannelBuilderCustomizer<T>> globalCus

/**
* Whether this factory supports the given target string. The target can be either a
* valid nameresolver-compliant URI, an authority string as described in
* valid nameresolver-compliant URI or an authority string as described in
* {@link Grpc#newChannelBuilder(String, ChannelCredentials)}.
* @param target the target string as described in method javadocs
* @return true unless the target begins with 'in-process:'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public interface GrpcChannelFactory {

/**
* Whether this factory supports the given target string. The target can be either a
* valid nameresolver-compliant URI, an authority string as described in
* valid nameresolver-compliant URI or an authority string as described in
* {@link Grpc#newChannelBuilder(String, ChannelCredentials)}.
* @param target the target string as described in method javadocs
* @return whether this factory supports the given target string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public InProcessGrpcChannelFactory(List<GrpcChannelBuilderCustomizer<InProcessCh

/**
* Whether this factory supports the given target string. The target can be either a
* valid nameresolver-compliant URI, an authority string as described in
* valid nameresolver-compliant URI or an authority string as described in
* {@link Grpc#newChannelBuilder(String, ChannelCredentials)}.
* @param target the target string as described in method javadocs
* @return true if the target begins with 'in-process:'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ You can run an in-process server (i.e. not listening on a network port) by inclu

In this mode, the in-process server factory is auto-configured in *addition* to the regular server factory (e.g. Netty).

NOTE: To use the inprocess server the channel target must be set to `in-process://<in-process-name>`
NOTE: To use the inprocess server the channel target must be set to `in-process:<in-process-name>`


[[server-interceptor]]
Expand Down