Filter - Type for service filterService - Type for serviceStreamingHttpServiceFilterFactory and if the access to the decoded payload is necessary, then performing
that logic can be done in the particular service implementation.
Please use HttpServerBuilder.appendServiceFilter(StreamingHttpServiceFilterFactory)
upon the builder obtained using GrpcServerBuilder.initializeHttp(GrpcServerBuilder.HttpInitializer)
if HTTP filters are acceptable in your use case.@FunctionalInterface
@Deprecated
public interface GrpcServiceFilterFactory<Filter extends Service,Service>
| Modifier and Type | Method and Description |
|---|---|
Filter |
create(Service service)
Deprecated.
Create a
Filter using the provided Service. |