Skip to content

Commit d630a41

Browse files
author
Dave Syer
committed
Tweak server docs on servlet customizations
1 parent 4daf413 commit d630a41

File tree

1 file changed

+4
-1
lines changed
  • spring-grpc-docs/src/main/antora/modules/ROOT/pages

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,13 @@ dependencies {
8383
}
8484
----
8585

86-
The `spring.grpc.server.*` properties will be ignored in facour of the regular `server.*` properties in this case.
86+
The `spring.grpc.server.*` properties will be ignored in facour of the regular `server.*` properties in this case (with the exception of `spring.grpc.server.max-inbound-message-size`).
8787
The servlet that is created is mapped to process HTTP POST requests to the paths defined by the registered services, as `/<service-name>/*`.
8888
Clients can connect to the server using that path, which is what any gRPC client library will do.
8989

90+
The gRPC server has fewer configuration options when running in a servlet container, as the servlet container is responsible for the network layer.
91+
You can still add `ServerBuilderCustomizer` beans to customize the server as it is built, but some features common in the "native" builders are not available and may throw exceptions at runtime.
92+
9093
[[server-interceptor]]
9194
== Server Interceptors
9295

0 commit comments

Comments
 (0)