Package oracle.jdbc
Class OracleConnectionStringBuilder.ConnectInfo
java.lang.Object
oracle.jdbc.OracleConnectionStringBuilder.ConnectInfo
- Enclosing interface:
- OracleConnectionStringBuilder
This class represents the ADDRESS node of the TNS Connect String.
This builder class follows fluent API style configuring the various
parameters of the ADDRESS node.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConfigures host name of the Oracle Database in the connection string.Factory method for building a new instance of ConnectInfo.port(int port) Configures port number of the Oracle Database in the connection string.Configures transport protocol type of the Oracle Database in the connection string.Configures host name of proxy server to connect to the Oracle Database.proxyPort(int proxyPort) Configures port of proxy server to connect to the Oracle Database.webSocketURI(String webSocketURI) Used to configure the web-socket URL for the "WSS" connections.
-
Constructor Details
-
ConnectInfo
public ConnectInfo()
-
-
Method Details
-
newInstance
Factory method for building a new instance of ConnectInfo.- Returns:
- connectInfo
-
host
Configures host name of the Oracle Database in the connection string.- Parameters:
host-- Returns:
- connectInfo
-
port
Configures port number of the Oracle Database in the connection string.- Parameters:
port-- Returns:
- connectInfo
-
protocol
Configures transport protocol type of the Oracle Database in the connection string.- Parameters:
protocol-- Returns:
- connectInfo
-
proxyHost
Configures host name of proxy server to connect to the Oracle Database.- Parameters:
proxyHost-- Returns:
- connectInfo
-
proxyPort
Configures port of proxy server to connect to the Oracle Database.- Parameters:
proxyPort-- Returns:
- connectInfo
-
webSocketURI
Used to configure the web-socket URL for the "WSS" connections.- Parameters:
webSocketURI-- Returns:
- connectInfo
-