Skip to content

Commit 378c1d0

Browse files
Meijuhonobc
authored andcommitted
Fix in-process docs and javadocs
Updates server.adoc with the proper target format to use for in-process calls. Also fixes typos in javadoc method for channel factories. Signed-off-by: Jeroen Meijer <[email protected]>
1 parent 3bb6c0d commit 378c1d0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

spring-grpc-core/src/main/java/org/springframework/grpc/client/DefaultGrpcChannelFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public DefaultGrpcChannelFactory(List<GrpcChannelBuilderCustomizer<T>> globalCus
7272

7373
/**
7474
* Whether this factory supports the given target string. The target can be either a
75-
* valid nameresolver-compliant URI, an authority string as described in
75+
* valid nameresolver-compliant URI or an authority string as described in
7676
* {@link Grpc#newChannelBuilder(String, ChannelCredentials)}.
7777
* @param target the target string as described in method javadocs
7878
* @return true unless the target begins with 'in-process:'

spring-grpc-core/src/main/java/org/springframework/grpc/client/GrpcChannelFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public interface GrpcChannelFactory {
3131

3232
/**
3333
* Whether this factory supports the given target string. The target can be either a
34-
* valid nameresolver-compliant URI, an authority string as described in
34+
* valid nameresolver-compliant URI or an authority string as described in
3535
* {@link Grpc#newChannelBuilder(String, ChannelCredentials)}.
3636
* @param target the target string as described in method javadocs
3737
* @return whether this factory supports the given target string

spring-grpc-core/src/main/java/org/springframework/grpc/client/InProcessGrpcChannelFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public InProcessGrpcChannelFactory(List<GrpcChannelBuilderCustomizer<InProcessCh
4444

4545
/**
4646
* Whether this factory supports the given target string. The target can be either a
47-
* valid nameresolver-compliant URI, an authority string as described in
47+
* valid nameresolver-compliant URI or an authority string as described in
4848
* {@link Grpc#newChannelBuilder(String, ChannelCredentials)}.
4949
* @param target the target string as described in method javadocs
5050
* @return true if the target begins with 'in-process:'

spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ You can run an in-process server (i.e. not listening on a network port) by inclu
9999

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

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

104104

105105
[[server-interceptor]]

0 commit comments

Comments
 (0)