Package io.servicetalk.grpc.api
Interface GrpcServerBuilder.HttpInitializer
- Enclosing interface:
- GrpcServerBuilder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Initializes the underlying
HttpServerBuilder used for the transport layer.-
Method Summary
Modifier and TypeMethodDescriptionappend(GrpcServerBuilder.HttpInitializer toAppend) Appends the passedGrpcServerBuilder.HttpInitializerto thisGrpcServerBuilder.HttpInitializersuch that this instance is applied first and then the argument'sGrpcServerBuilder.HttpInitializer.voidinitialize(HttpServerBuilder builder) Configures the underlyingHttpServerBuilder.
-
Method Details
-
initialize
Configures the underlyingHttpServerBuilder.- Parameters:
builder- The builder to customize the HTTP layer.
-
append
Appends the passedGrpcServerBuilder.HttpInitializerto thisGrpcServerBuilder.HttpInitializersuch that this instance is applied first and then the argument'sGrpcServerBuilder.HttpInitializer.- Parameters:
toAppend-GrpcServerBuilder.HttpInitializerto append.- Returns:
- A composite
GrpcServerBuilder.HttpInitializerafter the append operation.
-