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

18 lines
809 B
Java

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() {
}
}