public class ServerInfos
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
ServerInfos(java.lang.String url) |
ServerInfos(java.lang.String url,
int power) |
ServerInfos(java.net.URL url) |
ServerInfos(java.net.URL url,
int power) |
Modifier and Type | Method and Description |
---|---|
ServerInfos |
clone() |
java.net.URL |
getBaseURL()
Get the search-api base URL (without the path)
|
java.lang.String |
getIsAlivePath() |
java.lang.String |
getLogin()
Gets the search-api login
|
int |
getMaxConnectionsPerHost()
Gets number of max concurrent queries
|
java.lang.String |
getPassword()
Gets the search-api password
|
int |
getPower() |
java.lang.String |
getProxyHost() |
java.lang.String |
getProxyLogin() |
java.lang.String |
getProxyPassword() |
int |
getProxyPort() |
java.net.URL |
getUrl()
Gets the search-api URL
|
void |
setIsAlivePath(java.lang.String isAlivePath)
Sets the path of the isAlive service.
|
void |
setLogin(java.lang.String login)
Sets the search-api login.
|
void |
setMaxConnectionsPerHost(int maxConnectionsPerHost)
Sets the number of max concurrent queries.
|
void |
setPassword(java.lang.String password)
Sets the search-api password.
|
void |
setPower(int power)
Sets the priority of an host
|
void |
setProxyHost(java.lang.String proxyHost) |
void |
setProxyLogin(java.lang.String proxyLogin) |
void |
setProxyPassword(java.lang.String proxyPassword) |
void |
setProxyPort(int proxyPort) |
void |
setUrl(java.net.URL url)
Sets the URL of the search-api to query.
|
public ServerInfos(java.lang.String url) throws java.net.MalformedURLException
java.net.MalformedURLException
public ServerInfos(java.lang.String url, int power) throws java.net.MalformedURLException
java.net.MalformedURLException
public ServerInfos(java.net.URL url)
public ServerInfos(java.net.URL url, int power)
public java.net.URL getUrl()
public java.net.URL getBaseURL()
public void setUrl(java.net.URL url)
public java.lang.String getLogin()
public void setLogin(java.lang.String login)
SearchClientFactory
for more information.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
SearchClientFactory
for more information.public int getMaxConnectionsPerHost()
public void setMaxConnectionsPerHost(int maxConnectionsPerHost)
public java.lang.String getIsAlivePath()
public void setPower(int power)
public int getPower()
public void setIsAlivePath(java.lang.String isAlivePath)
public java.lang.String getProxyHost()
public void setProxyHost(java.lang.String proxyHost)
public int getProxyPort()
public void setProxyPort(int proxyPort)
public java.lang.String getProxyLogin()
public void setProxyLogin(java.lang.String proxyLogin)
public java.lang.String getProxyPassword()
public void setProxyPassword(java.lang.String proxyPassword)
public ServerInfos clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.