public class PushEventRestClient extends Object
Constructor and Description |
---|
PushEventRestClient(String proxyHost,
Integer proxyPort,
String proxyUsername,
String proxyPassword,
Integer connectionTimeout,
Integer readTimeout,
String apiVersion,
String basePath) |
Modifier and Type | Method and Description |
---|---|
String |
getRestBasePath() |
String |
getSessionId() |
List<PushEventResult> |
pushGenericEvents(List<GenericStreamingEvent> events,
String channelName) |
void |
setSessionId(String sessionId) |
@NotNull public String getRestBasePath()
@NotNull public String getSessionId()
public void setSessionId(@NotNull String sessionId)
public List<PushEventResult> pushGenericEvents(List<GenericStreamingEvent> events, String channelName) throws SalesforceException
SalesforceException
Copyright © 2010–2020. All rights reserved.