Package io.grpc

Interface ServerInterceptor

  • All Known Implementing Classes:
    MonitoringServerInterceptor

    @ThreadSafe
    public interface ServerInterceptor
    Interface for intercepting incoming calls before that are dispatched by ServerCallHandler.

    Implementers use this mechanism to add cross-cutting behavior to server-side calls. Common example of such behavior include:

    • Enforcing valid authentication credentials
    • Logging and monitoring call behavior
    • Delegating calls to other servers