Package com.force.api

Class ForceApi

java.lang.Object
com.force.api.ForceApi

public class ForceApi
extends Object
main class for making API calls. This class is cheap to instantiate and throw away. It holds a user's session as state and thus should never be reused across multiple user sessions, unless that's explicitly what you want to do. For web apps, you should instantiate this class on every request and feed it the session information as obtained from a session cookie or similar. An exception to this rule is if you make all API calls as a single API user. Then you can keep a static reference to this class.
Author:
jjoergensen