public class DigitalArchitecture extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AuditLog |
auditLog |
protected InvalidParameterHandler |
invalidParameterHandler |
protected static NullRequestBody |
nullRequestBody |
protected String |
serverName |
protected String |
serverPlatformRootURL |
| Constructor and Description |
|---|
DigitalArchitecture(String serverName,
String serverPlatformRootURL)
Create a new client with no authentication embedded in the HTTP request.
|
DigitalArchitecture(String serverName,
String serverPlatformRootURL,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request.
|
DigitalArchitecture(String serverName,
String serverPlatformRootURL,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
DigitalArchitecture(String serverName,
String serverPlatformRootURL,
String userId,
String password,
AuditLog auditLog)
Create a new client that passes userId and password in each HTTP request.
|
protected String serverName
protected String serverPlatformRootURL
protected AuditLog auditLog
protected InvalidParameterHandler invalidParameterHandler
protected static NullRequestBody nullRequestBody
public DigitalArchitecture(String serverName, String serverPlatformRootURL, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public DigitalArchitecture(String serverName, String serverPlatformRootURL) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public DigitalArchitecture(String serverName, String serverPlatformRootURL, String userId, String password, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public DigitalArchitecture(String serverName, String serverPlatformRootURL, String userId, String password) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.Copyright © 2018–2020 ODPi. All rights reserved.