Package org.cy3sbml
Class ConnectionProxy
java.lang.Object
org.cy3sbml.ConnectionProxy
Sets the Java system proxy properties for the web services (OLS, UniProt, ChEBI,
identifiers.org, BioModels) from the proxy settings in the Cytoscape properties, when the
app starts.
Proxy authentication is not supported.
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionProxy(org.cytoscape.property.CyProperty<Properties> cyProperties) Creates the proxy settings from the Cytoscape properties. -
Method Summary
Modifier and TypeMethodDescriptionThe proxy host of the Cytoscape settings.The proxy port of the Cytoscape settings.The proxy type of the Cytoscape settings:direct,httporsocks.voidsetSystemProxy(String type, String host, String port) Sets the HTTP and HTTPS system proxy: none fordirect, the host and port forhttp.voidSets the system proxy from the Cytoscape proxy settings.
-
Constructor Details
-
ConnectionProxy
Creates the proxy settings from the Cytoscape properties.- Parameters:
cyProperties- the Cytoscape properties (cytoscape3.props)
-
-
Method Details
-
setSystemProxyFromCyProperties
public void setSystemProxyFromCyProperties()Sets the system proxy from the Cytoscape proxy settings. -
getProxyType
The proxy type of the Cytoscape settings:direct,httporsocks. -
getProxyHost
The proxy host of the Cytoscape settings. -
getProxyPort
The proxy port of the Cytoscape settings. -
setSystemProxy
Sets the HTTP and HTTPS system proxy: none fordirect, the host and port forhttp. Other types leave the system properties unchanged.- Parameters:
type- the proxy typehost- the proxy hostport- the proxy port
-