Class OrderedServerInterceptor

java.lang.Object
net.devh.boot.grpc.server.interceptor.OrderedServerInterceptor
All Implemented Interfaces:
ServerInterceptor, Ordered

@Deprecated public class OrderedServerInterceptor extends Object implements ServerInterceptor, Ordered
Deprecated.
Use the original ServerInterceptor in combination with Order (either on the target class itself or the related factory method).
A server interceptor wrapper that assigns an order to the underlying server interceptor.
  • Constructor Details

    • OrderedServerInterceptor

      public OrderedServerInterceptor(ServerInterceptor serverInterceptor, int order)
      Deprecated.
      Creates a new OrderedServerInterceptor with the given server interceptor and order.
      Parameters:
      serverInterceptor - The server interceptor to delegate to.
      order - The order of this interceptor.
  • Method Details