Class GrpcServiceDefinition.Builder
- java.lang.Object
-
- org.curioswitch.common.server.framework.grpc.GrpcServiceDefinition.Builder
-
- Enclosing interface:
- GrpcServiceDefinition
public static class GrpcServiceDefinition.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrpcServiceDefinition.Builder
addAllServices(java.lang.Iterable<? extends io.grpc.BindableService> arg0)
GrpcServiceDefinition.Builder
addServices(io.grpc.BindableService arg0)
GrpcServiceDefinition.Builder
addServices(io.grpc.BindableService... arg0)
GrpcServiceDefinition
build()
GrpcServiceDefinition.Builder
customizer(java.util.function.Consumer<com.linecorp.armeria.server.grpc.GrpcServiceBuilder> arg0)
GrpcServiceDefinition.Builder
decorator(java.util.function.Function<com.linecorp.armeria.server.Service<com.linecorp.armeria.common.HttpRequest,com.linecorp.armeria.common.HttpResponse>,? extends com.linecorp.armeria.server.Service<com.linecorp.armeria.common.HttpRequest,com.linecorp.armeria.common.HttpResponse>> arg0)
GrpcServiceDefinition.Builder
from(GrpcServiceDefinition arg0)
GrpcServiceDefinition.Builder
path(java.lang.String arg0)
GrpcServiceDefinition.Builder
services(java.lang.Iterable<? extends io.grpc.BindableService> arg0)
-
-
-
Method Detail
-
from
@CanIgnoreReturnValue public final GrpcServiceDefinition.Builder from(GrpcServiceDefinition arg0)
-
addServices
@CanIgnoreReturnValue public final GrpcServiceDefinition.Builder addServices(io.grpc.BindableService arg0)
-
addServices
@CanIgnoreReturnValue public final GrpcServiceDefinition.Builder addServices(io.grpc.BindableService... arg0)
-
services
@CanIgnoreReturnValue public final GrpcServiceDefinition.Builder services(java.lang.Iterable<? extends io.grpc.BindableService> arg0)
-
addAllServices
@CanIgnoreReturnValue public final GrpcServiceDefinition.Builder addAllServices(java.lang.Iterable<? extends io.grpc.BindableService> arg0)
-
decorator
@CanIgnoreReturnValue public final GrpcServiceDefinition.Builder decorator(java.util.function.Function<com.linecorp.armeria.server.Service<com.linecorp.armeria.common.HttpRequest,com.linecorp.armeria.common.HttpResponse>,? extends com.linecorp.armeria.server.Service<com.linecorp.armeria.common.HttpRequest,com.linecorp.armeria.common.HttpResponse>> arg0)
-
path
@CanIgnoreReturnValue public final GrpcServiceDefinition.Builder path(java.lang.String arg0)
-
customizer
@CanIgnoreReturnValue public final GrpcServiceDefinition.Builder customizer(java.util.function.Consumer<com.linecorp.armeria.server.grpc.GrpcServiceBuilder> arg0)
-
build
public GrpcServiceDefinition build()
-
-