public class OpenShiftConnectionFactory extends AbstractOpenShiftConnectionFactory
Constructor and Description |
---|
OpenShiftConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
IOpenShiftConnection |
getConnection(String clientId,
String password)
Establish a connection with the clientId along with user's password.
|
IOpenShiftConnection |
getConnection(String clientId,
String login,
String password)
Establish a connection with the clientId along with user's login and
password.
|
IOpenShiftConnection |
getConnection(String clientId,
String login,
String password,
String serverUrl)
Establish a connection with the clientId along with user's login and
password.
|
IOpenShiftConnection |
getConnection(String clientId,
String login,
String password,
String authKey,
String authIV,
String serverUrl)
Establish a connection with the clientId along with user's login and
password.
|
getConnection
public IOpenShiftConnection getConnection(String clientId, String password) throws OpenShiftException
clientId
- http client idpassword
- user's passwordFileNotFoundException
IOException
OpenShiftException
public IOpenShiftConnection getConnection(String clientId, String login, String password) throws OpenShiftException
clientId
- http client idlogin
- user's loginpassword
- user's passwordFileNotFoundException
IOException
OpenShiftException
public IOpenShiftConnection getConnection(String clientId, String login, String password, String serverUrl) throws OpenShiftException
clientId
- http client idlogin
- user's login.password
- user's password.serverUrl
- the server url.FileNotFoundException
IOException
OpenShiftException
public IOpenShiftConnection getConnection(String clientId, String login, String password, String authKey, String authIV, String serverUrl) throws OpenShiftException
clientId
- http client idlogin
- user's login.password
- user's password.serverUrl
- the server url.FileNotFoundException
IOException
OpenShiftException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.