ServerInterceptor
in combination with Order
(either on the target class
itself or the related factory method).@Deprecated public class OrderedServerInterceptor extends Object implements io.grpc.ServerInterceptor, Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
OrderedServerInterceptor(io.grpc.ServerInterceptor serverInterceptor,
int order)
Deprecated.
Creates a new OrderedServerInterceptor with the given server interceptor and order.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrder()
Deprecated.
|
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata headers,
io.grpc.ServerCallHandler<ReqT,RespT> next)
Deprecated.
|
String |
toString()
Deprecated.
|
public OrderedServerInterceptor(io.grpc.ServerInterceptor serverInterceptor, int order)
serverInterceptor
- The server interceptor to delegate to.order
- The order of this interceptor.