logout()

logout() performs a logout from every URL that was logged into on behalf of the Lawson HTTP Client user. As a good practice, this method should be called when the LawsonHttpClient object is no longer needed.

On success, this method returns true. If the logout was not successful, it returns false, throws a LawsonHTTPClientException, an attempts to log which portion of the logout procedure failed.

After the logout() method is called on an instance of LawsonHttpClient, that instance should never be used again. After a call has been made to logout(), set the value of the object to null to prevent further use of the object.