Package com.complexible.common.protocols.server

# Interface ServerBuilder

public interface ServerBuilder

Interface for configuring and creating a Stardog server.

Since:
  2.0
Version:
  2.0
Author:
  Michael Grove
See Also:
  - `ServerOptions`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Server`
  `bind(SocketAddress theAddress)`
  Create the server which will bind to the specified address.
  `<V> ServerBuilder`
  `set(Option<V> theOption, V theValue)`
  Set the specified server configuration option
  `ServerBuilder`
  `setAll(Options theOptions)`
  Set all the configuration options on the builder.

- ## Method Details

  - ### setAll

    ServerBuilder setAll(Options theOptions)
    Set all the configuration options on the builder.
    Parameters:
      `theOptions` - the options to set
    Returns:
      this builder

  - ### set

    <V> ServerBuilder set(Option<V> theOption, V theValue)
    Set the specified server configuration option
    Parameters:
      `theOption` - the option
      `theValue` - the option value
    Returns:
      this builder

  - ### bind

    Server bind(SocketAddress theAddress)
    Create the server which will bind to the specified address.
    Parameters:
      `theAddress` - the address the server should bind to
    Returns:
      the server