Interface SolrHttpConstants
public interface SolrHttpConstants
Constants for HTTP Solr interaction.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final StringBasic auth passwordstatic final StringBasic auth usernamestatic final Stringconnection timeout measures in ms, closes a socket if connection cannot be established within x ms.static final StringMaximum total connections allowedstatic final StringMaximum connections allowed per hoststatic final StringSocket timeout measured in ms, closes a socket if read takes longer than x ms to complete.static final StringSystem property consulted to determine if HTTP based SolrClients will require hostname validation of SSL Certificates.
-
Field Details
-
DEFAULT_CONNECT_TIMEOUT
static final int DEFAULT_CONNECT_TIMEOUT- See Also:
-
DEFAULT_SO_TIMEOUT
static final int DEFAULT_SO_TIMEOUT- See Also:
-
DEFAULT_MAXCONNECTIONSPERHOST
static final int DEFAULT_MAXCONNECTIONSPERHOST- See Also:
-
DEFAULT_MAXCONNECTIONS
static final int DEFAULT_MAXCONNECTIONS- See Also:
-
PROP_SO_TIMEOUT
Socket timeout measured in ms, closes a socket if read takes longer than x ms to complete. throwsSocketTimeoutException: Read timed out exception- See Also:
-
PROP_CONNECTION_TIMEOUT
connection timeout measures in ms, closes a socket if connection cannot be established within x ms. with aSocketTimeoutException: Connection timed out- See Also:
-
PROP_MAX_CONNECTIONS_PER_HOST
Maximum connections allowed per host- See Also:
-
PROP_MAX_CONNECTIONS
Maximum total connections allowed- See Also:
-
SYS_PROP_CHECK_PEER_NAME
System property consulted to determine if HTTP based SolrClients will require hostname validation of SSL Certificates. The default behavior is to enforce peer name validation.- See Also:
-
PROP_BASIC_AUTH_USER
Basic auth username- See Also:
-
PROP_BASIC_AUTH_PASS
Basic auth password- See Also:
-