Class WsClientConfig.Builder

All Implemented Interfaces:
Prototype.Builder<WsClientConfig.Builder, WsClientConfig>, Builder<WsClientConfig.Builder, WsClient>, ConfigBuilderSupport.ConfiguredBuilder<WsClientConfig.Builder, WsClientConfig>, Supplier<WsClient>
Enclosing interface:
WsClientConfig

public static class WsClientConfig.Builder extends WsClientConfig.BuilderBase<WsClientConfig.Builder, WsClientConfig> implements Builder<WsClientConfig.Builder, WsClient>
Fluent API builder for WsClient.
  • Method Details

    • buildPrototype

      public WsClientConfig buildPrototype()
      Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.
      Specified by:
      buildPrototype in interface Prototype.Builder<WsClientConfig.Builder, WsClientConfig>
      Returns:
      an instance of the setup object created from this builder
    • build

      public WsClient build()
      Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.
      Specified by:
      build in interface Builder<WsClientConfig.Builder, WsClient>
      Returns:
      instance of the built type