Package io.servicetalk.http.api
Interface HttpProviders.HttpServerBuilderProvider
- Enclosing class:
- HttpProviders
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provider for
HttpServerBuilder.-
Method Summary
Modifier and TypeMethodDescriptionnewBuilder(SocketAddress address, HttpServerBuilder builder) Returns aHttpServerBuilderbased on the address and pre-initializedHttpServerBuilder.
-
Method Details
-
newBuilder
Returns aHttpServerBuilderbased on the address and pre-initializedHttpServerBuilder.This method may return the pre-initialized
builderas-is, or apply custom builder settings before returning it, or wrap it (DelegatingHttpServerBuildermay be helpful).- Parameters:
address- a server address used to create aHttpServerBuilderbuilder- pre-initializedHttpServerBuilder- Returns:
- a
HttpServerBuilderbased on the address and pre-initializedHttpServerBuilder. - See Also:
-