public class RestConnection<C extends BrowseContext> extends BaseConnection<C>
Constructor and Description |
---|
RestConnection(C context) |
Modifier and Type | Method and Description |
---|---|
AuthenticationType |
getAuthenticationType()
Returns the
AuthenticationType from the selected "auth" connection field. |
String |
getAWSAccessKey()
Returns the AWS access key value from "awsAccessKey" connection field.
|
String |
getAWSRegion()
Returns the AWS Service from the "awsRegion" connection field value, if the selected field is not "CUSTOM".
|
String |
getAWSSecretKey()
Returns the AWS secret key value from "awsSecretKey" connection field.
|
String |
getAWSService()
Returns the AWS Service from the "awsService" connection field value, if the selected field is not "CUSTOM".
|
String |
getCookieScope()
Returns the value of the "Cookie Scope" connection property.
|
String |
getCustomAuthCredentials()
Returns the connection property for "customAuthCredentials" field
|
String |
getHttpMethod()
Gets the selected HTTP method from the connector action / operation field.
|
OAuth2Context |
getOAuthContext()
Fetches the OAuth2Context from the "oauthContext" connection field.
|
String |
getPassword()
Returns the connection property for "password" field
|
boolean |
getPreemptive()
Retrieves the "preemptive" connection property value
|
PrivateKeyStore |
getPrivateKeyStore()
Returns the connection property "privateCertificate" as a
PrivateKeyStore |
PublicKeyStore |
getPublicKeyStore()
Returns the connection property "publicCertificate" as a
PublicKeyStore |
URL |
getUrl()
Gets the connection URL from the connection property "url"
|
String |
getUsername()
Returns the connection property for "username" field
|
generateConnectionInfo, generateConnectionInfo, getConnector, getContext, getOperationContext
public RestConnection(C context)
public URL getUrl()
public String getHttpMethod()
public String getUsername()
public String getPassword()
public String getCustomAuthCredentials()
public PrivateKeyStore getPrivateKeyStore()
PrivateKeyStore
public PublicKeyStore getPublicKeyStore()
PublicKeyStore
public String getCookieScope()
public boolean getPreemptive()
public OAuth2Context getOAuthContext()
public AuthenticationType getAuthenticationType()
AuthenticationType
from the selected "auth" connection field.public String getAWSAccessKey()
public String getAWSSecretKey()
public String getAWSService()
public String getAWSRegion()