servlet: configurable methodNameResolver#12333
Conversation
|
There should be at least documentation mentioning that using this method is basically guaranteed to be incompatible with reflection, and that using https://grpc.github.io/grpc-java/javadoc/io/grpc/HandlerRegistry.html when possible is preferred. |
|
I didn't follow. The |
Introduces configuring a method name resolver in `ServletServerBuilder` for customizing the servlet context root path for request paths.
Introduces configuring a method name resolver in `ServletServerBuilder` for customizing the servlet context root path for request paths.
|
@panchenko u forgot original solution #11825 (comment) |
|
@long76 you don't need changes to the constructor, it's more flexible if registering servlets from |
instead of #11825