public class RemoteHttpSource extends SecuritySourceBase implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_SERVICE |
java.lang.String |
isAlivePath |
int |
maxRetries |
java.util.List<RemoteHttpConfig> |
remoteHttpConfig |
java.lang.String |
service |
DEFAULT_DEPLOY, deploy, name
Constructor and Description |
---|
RemoteHttpSource() |
RemoteHttpSource(RemoteHttpSource o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this RemoteHttpSource.
|
static RemoteHttpSource |
fromString(java.lang.String s)
String representation of this RemoteHttpSource.
|
java.lang.String |
getIsAlivePath()
The path to determine if the service is available on hosts.
Not used if null. |
int |
getMaxRetries()
Number of retries before skipping an host
|
java.util.List<RemoteHttpConfig> |
getRemoteHttpConfig()
Hosts on which authentication will be performed
|
java.lang.String |
getService()
Service path on the remote security source
|
RemoteHttpSource |
makeCopy()
Creates and returns a deep copy of this RemoteHttpSource.
|
static RemoteHttpSource |
readFrom(java.io.InputStream is)
Read this RemoteHttpSource from an XML fragment.
|
void |
setIsAlivePath(java.lang.String isAlivePath)
The path to determine if the service is available on hosts.
Not used if null. |
void |
setMaxRetries(int maxRetries)
Number of retries before skipping an host
|
void |
setService(java.lang.String service)
Service path on the remote security source
|
java.lang.String |
toString()
String representation of this RemoteHttpSource.
|
RemoteHttpSource |
withDeploy(boolean deploy) |
RemoteHttpSource |
withDeploy(java.lang.Boolean deploy) |
RemoteHttpSource |
withIsAlivePath(java.lang.String isAlivePath) |
RemoteHttpSource |
withMaxRetries(int maxRetries) |
RemoteHttpSource |
withMaxRetries(java.lang.Integer maxRetries) |
RemoteHttpSource |
withName(java.lang.String name) |
RemoteHttpSource |
withRemoteHttpConfig(java.util.Collection<RemoteHttpConfig> __values) |
RemoteHttpSource |
withRemoteHttpConfig(RemoteHttpConfig... __values)
Hosts on which authentication will be performed
|
RemoteHttpSource |
withService(java.lang.String service) |
void |
writeTo(java.io.OutputStream os)
Write this RemoteHttpSource as an XML fragment
|
getName, isDeploy, setDeploy, setName
public java.util.List<RemoteHttpConfig> remoteHttpConfig
public java.lang.String service
public static final java.lang.String DEFAULT_SERVICE
public java.lang.String isAlivePath
public int maxRetries
public RemoteHttpSource()
public RemoteHttpSource(RemoteHttpSource o)
public RemoteHttpSource withName(java.lang.String name)
withName
in class SecuritySourceBase
public RemoteHttpSource withDeploy(boolean deploy)
withDeploy
in class SecuritySourceBase
public RemoteHttpSource withDeploy(java.lang.Boolean deploy)
withDeploy
in class SecuritySourceBase
public java.util.List<RemoteHttpConfig> getRemoteHttpConfig()
public RemoteHttpSource withRemoteHttpConfig(RemoteHttpConfig... __values)
public RemoteHttpSource withRemoteHttpConfig(java.util.Collection<RemoteHttpConfig> __values)
public void setService(java.lang.String service)
public java.lang.String getService()
public RemoteHttpSource withService(java.lang.String service)
public void setIsAlivePath(java.lang.String isAlivePath)
public java.lang.String getIsAlivePath()
public RemoteHttpSource withIsAlivePath(java.lang.String isAlivePath)
public void setMaxRetries(int maxRetries)
public int getMaxRetries()
public RemoteHttpSource withMaxRetries(int maxRetries)
public RemoteHttpSource withMaxRetries(java.lang.Integer maxRetries)
public RemoteHttpSource makeCopy()
makeCopy
in class SecuritySourceBase
public static RemoteHttpSource readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class SecuritySourceBase
javax.xml.bind.JAXBException
java.io.IOException
public static RemoteHttpSource fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class SecuritySourceBase
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class SecuritySourceBase
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.