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.HttpInitializer
to thisGrpcServerBuilder.HttpInitializer
such that this instance is applied first and then the argument'sGrpcServerBuilder.HttpInitializer
.void
initialize
(HttpServerBuilder builder) Configures the underlyingHttpServerBuilder
.
-
Method Details
-
initialize
Configures the underlyingHttpServerBuilder
.- Parameters:
builder
- The builder to customize the HTTP layer.
-
append
Appends the passedGrpcServerBuilder.HttpInitializer
to thisGrpcServerBuilder.HttpInitializer
such that this instance is applied first and then the argument'sGrpcServerBuilder.HttpInitializer
.- Parameters:
toAppend
-GrpcServerBuilder.HttpInitializer
to append.- Returns:
- A composite
GrpcServerBuilder.HttpInitializer
after the append operation.
-