正在查看: SpeedCash v6.5.1482 应用的 ForwardingServerBuilder.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: SpeedCash v6.5.1482 应用的 ForwardingServerBuilder.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package io.grpc;
import com.google.common.base.MoreObjects;
import com.google.errorprone.annotations.DoNotCall;
import io.grpc.ServerBuilder;
import io.grpc.ServerStreamTracer;
import java.io.File;
import java.io.InputStream;
import java.util.concurrent.Executor;
import java.util.concurrent.TimeUnit;
import javax.annotation.Nullable;
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/7393")
public abstract class ForwardingServerBuilder<T extends ServerBuilder<T>> extends ServerBuilder<T> {
private T a() {
return this;
}
@DoNotCall("Unsupported")
public static ServerBuilder<?> forPort(int i) {
throw new UnsupportedOperationException("Subclass failed to hide static factory");
}
@Override
public T addService(ServerServiceDefinition serverServiceDefinition) {
delegate().addService(serverServiceDefinition);
return a();
}
@Override
public T addStreamTracerFactory(ServerStreamTracer.Factory factory) {
delegate().addStreamTracerFactory(factory);
return a();
}
@Override
public T addTransportFilter(ServerTransportFilter serverTransportFilter) {
delegate().addTransportFilter(serverTransportFilter);
return a();
}
@Override
public Server build() {
return delegate().build();
}
@Override
public T callExecutor(ServerCallExecutorSupplier serverCallExecutorSupplier) {
delegate().callExecutor(serverCallExecutorSupplier);
return a();
}
@Override
public T compressorRegistry(@Nullable CompressorRegistry compressorRegistry) {
delegate().compressorRegistry(compressorRegistry);
return a();
}
@Override
public T decompressorRegistry(@Nullable DecompressorRegistry decompressorRegistry) {
delegate().decompressorRegistry(decompressorRegistry);
return a();
}
public abstract ServerBuilder<?> delegate();
@Override
public T directExecutor() {
delegate().directExecutor();
return a();
}
@Override
public T executor(@Nullable Executor executor) {
delegate().executor(executor);
return a();
}
@Override
public T fallbackHandlerRegistry(@Nullable HandlerRegistry handlerRegistry) {
delegate().fallbackHandlerRegistry(handlerRegistry);
return a();
}
@Override
public T handshakeTimeout(long j, TimeUnit timeUnit) {
delegate().handshakeTimeout(j, timeUnit);
return a();
}
@Override
public T intercept(ServerInterceptor serverInterceptor) {
delegate().intercept(serverInterceptor);
return a();
}
@Override
public T keepAliveTime(long j, TimeUnit timeUnit) {
delegate().keepAliveTime(j, timeUnit);
return a();
}
@Override
public T keepAliveTimeout(long j, TimeUnit timeUnit) {
delegate().keepAliveTimeout(j, timeUnit);
return a();
}
@Override
public T maxConnectionAge(long j, TimeUnit timeUnit) {
delegate().maxConnectionAge(j, timeUnit);
return a();
}
@Override
public T maxConnectionAgeGrace(long j, TimeUnit timeUnit) {
delegate().maxConnectionAgeGrace(j, timeUnit);
return a();
}
@Override
public T maxConnectionIdle(long j, TimeUnit timeUnit) {
delegate().maxConnectionIdle(j, timeUnit);
return a();
}
@Override
public T maxInboundMessageSize(int i) {
delegate().maxInboundMessageSize(i);
return a();
}
@Override
public T maxInboundMetadataSize(int i) {
delegate().maxInboundMetadataSize(i);
return a();
}
@Override
public T permitKeepAliveTime(long j, TimeUnit timeUnit) {
delegate().permitKeepAliveTime(j, timeUnit);
return a();
}
@Override
public T permitKeepAliveWithoutCalls(boolean z) {
delegate().permitKeepAliveWithoutCalls(z);
return a();
}
@Override
public T setBinaryLog(BinaryLog binaryLog) {
delegate().setBinaryLog(binaryLog);
return a();
}
public String toString() {
return MoreObjects.toStringHelper(this).add("delegate", delegate()).toString();
}
@Override
public T useTransportSecurity(File file, File file2) {
delegate().useTransportSecurity(file, file2);
return a();
}
@Override
public T addService(BindableService bindableService) {
delegate().addService(bindableService);
return a();
}
@Override
public T useTransportSecurity(InputStream inputStream, InputStream inputStream2) {
delegate().useTransportSecurity(inputStream, inputStream2);
return a();
}
}