com.sforce.ws
Interface SessionRenewer


public interface SessionRenewer


Nested Class Summary
static class SessionRenewer.SessionRenewalHeader
           
 
Method Summary
 SessionRenewer.SessionRenewalHeader renewSession(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


Copyright © 2014. All Rights Reserved.