In GatewayBuilder, configure Server using a configurator, Consumer with ServerBuilder, instead of delegating ServerBuilder.
If keep delegating, GatewayBuilder should delegate all methods following Armeria changes. Instead of it, provide a way to configure the Server using ServerBuilder directly. Then users can configure the 'Server' as much as they want.
It breaks GatewayBuilder, some delegated methods (http, https, tls and tlsSelfSigned) are removed.
In
GatewayBuilder
, configureServer
using a configurator,Consumer
withServerBuilder
, instead of delegatingServerBuilder
. If keep delegating,GatewayBuilder
should delegate all methods following Armeria changes. Instead of it, provide a way to configure theServer
usingServerBuilder
directly. Then users can configure the 'Server' as much as they want. It breaksGatewayBuilder
, some delegated methods (http
,https
,tls
andtlsSelfSigned
) are removed.