From d630a41988fd7aafa0bbdbe3c3d617227f906b9e Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Thu, 7 Nov 2024 08:49:15 +0000 Subject: [PATCH] Tweak server docs on servlet customizations --- .../src/main/antora/modules/ROOT/pages/server.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc index 2e21938..98d6458 100644 --- a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc +++ b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc @@ -83,10 +83,13 @@ dependencies { } ---- -The `spring.grpc.server.*` properties will be ignored in facour of the regular `server.*` properties in this case. +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`). The servlet that is created is mapped to process HTTP POST requests to the paths defined by the registered services, as `//*`. Clients can connect to the server using that path, which is what any gRPC client library will do. +The gRPC server has fewer configuration options when running in a servlet container, as the servlet container is responsible for the network layer. +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. + [[server-interceptor]] == Server Interceptors