The alternate host name associated with the
forest in the MarkLogic server. If this is not null this forest
cannot be accessed directly and should instead be accessed through
this alternate host. One reason a forest could not be accessed
directly is if the forest is on a d-node (a MarkLogic instance with
no app servers).
Returns:
the host name of the alternat host in the MarkLogic server
The request host name associated with the forest
in the MarkLogic server. The host name with which we have created
the client - host name on the request header.
Returns:
the host name of the request host in the MarkLogic server
Returns the host your application should talk to
for this forest. If getAlternateHost() is not null, return it.
Otherwise, if getOpenReplicaHost() is not null, return it.
Otherwise, if getRequestHost() is not null, return it. Otherwise,
return getHost().
Returns the preferred host type for this forest.
If getAlternateHost() is not null, return ALTERNATE_HOST.
Otherwise, if getOpenReplicaHost() is not null, return
OPEN_REPLICA_HOST. Otherwise, if getRequestHost() is not null,
return REQUEST_HOST. Otherwise, return FOREST_HOST.
Returns:
the host type of the forest
Copyright (c) 2010-2025 Progress
Software Corporation and/or its subsidiaries or affiliates. All
Rights Reserved.