Skip to content

Commit

Permalink
Tweak server docs on servlet customizations
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyer committed Nov 7, 2024
1 parent 4daf413 commit d630a41
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 `/<service-name>/*`.
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

Expand Down

0 comments on commit d630a41

Please sign in to comment.