Package com.couchbase.client.java.http
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:
analytics(),backup(),eventing(),manager(),query(),search()
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpTargetanalytics()static HttpTargetbackup()static HttpTargeteventing()static HttpTargetmanager()static HttpTargetquery()static HttpTargetsearch()StringtoString()HttpTargetwithNode(NodeIdentifier node)Returns a copy of this target with the given node identifier.
-
-
-
Method Detail
-
withNode
@Internal public HttpTarget withNode(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.
-
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()
-
-