ServerInterceptor
in combination with Order
(either on the target class
itself or the related factory method).@Deprecated public class OrderedServerInterceptor extends Object implements ServerInterceptor, Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
OrderedServerInterceptor(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(ServerCall<ReqT,RespT> call,
Metadata headers,
ServerCallHandler<ReqT,RespT> next)
Deprecated.
|
String |
toString()
Deprecated.
|
public OrderedServerInterceptor(ServerInterceptor serverInterceptor, int order)
serverInterceptor
- The server interceptor to delegate to.order
- The order of this interceptor.public <ReqT,RespT> ServerCall.Listener<ReqT> interceptCall(ServerCall<ReqT,RespT> call, Metadata headers, ServerCallHandler<ReqT,RespT> next)
interceptCall
in interface ServerInterceptor