java.lang.Object
co.elastic.clients.elasticsearch.nodes.Http
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class Http extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

      public static Http of(Function<Http.Builder,ObjectBuilder<Http>> fn)
    • currentOpen

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

      API name: current_open

    • totalOpened

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

      API name: total_opened

    • clients

      public final List<Client> 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

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupHttpDeserializer

      protected static void setupHttpDeserializer(ObjectDeserializer<Http.Builder> op)