what-the-bank/sources/io/grpc/InternalServerInterceptors....

18 lines
809 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package io.grpc;
import io.grpc.ServerInterceptors;
/* loaded from: classes6.dex */
public final class InternalServerInterceptors {
public static <OrigReqT, OrigRespT, WrapReqT, WrapRespT> ServerMethodDefinition<WrapReqT, WrapRespT> wrapMethod(ServerMethodDefinition<OrigReqT, OrigRespT> serverMethodDefinition, MethodDescriptor<WrapReqT, WrapRespT> methodDescriptor) {
return ServerInterceptors.wrapMethod(serverMethodDefinition, methodDescriptor);
}
public static <ReqT, RespT> ServerCallHandler<ReqT, RespT> interceptCallHandlerCreate(ServerInterceptor serverInterceptor, ServerCallHandler<ReqT, RespT> serverCallHandler) {
return ServerInterceptors.InterceptCallHandler.create(serverInterceptor, serverCallHandler);
}
private InternalServerInterceptors() {
}
}