Class Http.Builder

All Implemented Interfaces:
WithJson<Http.Builder>, ObjectBuilder<Http>
Enclosing class:
Http

public static class Http.Builder extends WithJsonObjectBuilderBase<Http.Builder> implements ObjectBuilder<Http>
Builder for Http.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • currentOpen

      public final Http.Builder currentOpen(@Nullable Integer value)
      Current number of open HTTP connections for the node.

      API name: current_open

    • totalOpened

      public final Http.Builder totalOpened(@Nullable Long value)
      Total number of HTTP connections opened for the node.

      API name: total_opened

    • clients

      public final Http.Builder clients(List<Client> list)
      Information on current and recently-closed HTTP client connections. Clients that have been closed longer than the http.client_stats.closed_channels.max_age setting will not be represented here.

      API name: clients

      Adds all elements of list to clients.

    • clients

      public final Http.Builder clients(Client value, Client... values)
      Information on current and recently-closed HTTP client connections. Clients that have been closed longer than the http.client_stats.closed_channels.max_age setting will not be represented here.

      API name: clients

      Adds one or more values to clients.

    • clients

      Information on current and recently-closed HTTP client connections. Clients that have been closed longer than the http.client_stats.closed_channels.max_age setting will not be represented here.

      API name: clients

      Adds a value to clients using a builder lambda.

    • self

      protected Http.Builder self()
      Specified by:
      self in class WithJsonObjectBuilderBase<Http.Builder>
    • build

      public Http build()
      Builds a Http.
      Specified by:
      build in interface ObjectBuilder<Http>
      Throws:
      NullPointerException - if some of the required fields are null.