Class HttpTarget

java.lang.Object
com.couchbase.client.java.http.HttpTarget

public class HttpTarget extends Object
Specifies which Couchbase service should receive the request.

Create an instance using one of the static factory methods.

See Also:
  • Method Details

    • withNode

      @Internal public HttpTarget withNode(com.couchbase.client.core.topology.NodeIdentifier node)
      Returns a copy of this target with the given node identifier.
      Parameters:
      node - (nullable) null means let the SDK pick a node to receive the request.
    • toString

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

      public static HttpTarget analytics()
    • backup

      public static HttpTarget backup()
    • eventing

      public static HttpTarget eventing()
    • manager

      public static HttpTarget manager()
    • query

      public static HttpTarget query()
    • search

      public static HttpTarget search()