Package com.sforce.ws
Interface SessionRenewer
-
public interface SessionRenewer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSessionRenewer.SessionRenewalHeader
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionRenewer.SessionRenewalHeaderrenewSession(ConnectorConfig config)This method is called when an expired session is detected.
-
-
-
Method Detail
-
renewSession
SessionRenewer.SessionRenewalHeader renewSession(ConnectorConfig config) throws ConnectionException
This method is called when an expired session is detected. The returned object needs to be a valid SessionRenewAlHeader so that the current request can be re-tried. If the return value is null current call shall not be retired even though the session has been refreshed.- Throws:
ConnectionException
-
-