public class ApexClient extends Object
Constructor and Description |
---|
ApexClient(String proxyHost,
Integer proxyPort,
String proxyUsername,
String proxyPassword,
Integer connectionTimeout,
Integer readTimeout,
String basePath) |
Modifier and Type | Method and Description |
---|---|
String |
getRestBasePath() |
String |
getSessionId() |
String |
getSoapBasePath() |
Map<String,Object> |
invokeRestMethod(String methodName,
ApexClassType apexClass,
Map<String,Object> input,
ApexRequestHeaders requestHeadersReference,
Map<String,String> queryParameters) |
XMLStreamReader |
invokeSoapMethod(String type,
XMLStreamReader input) |
void |
setSessionId(String sessionId) |
@Nullable public XMLStreamReader invokeSoapMethod(@NotNull String type, @Nullable XMLStreamReader input) throws org.mule.modules.wsdl.runtime.SoapCallException, SalesforceException
org.mule.modules.wsdl.runtime.SoapCallException
SalesforceException
@NotNull public Map<String,Object> invokeRestMethod(@NotNull String methodName, @NotNull ApexClassType apexClass, @NotNull Map<String,Object> input, ApexRequestHeaders requestHeadersReference, Map<String,String> queryParameters) throws SalesforceException
SalesforceException
@NotNull public String getSoapBasePath()
@NotNull public String getRestBasePath()
@NotNull public String getSessionId()
public void setSessionId(@NotNull String sessionId)
Copyright © 2010–2020. All rights reserved.