Uses of Class
com.smartfile.api.SmartFileException

Uses of SmartFileException in com.smartfile.api
 

Methods in com.smartfile.api that throw SmartFileException
 java.io.InputStream Client.delete(java.lang.String endpoint)
          Executes delete request to the endpoint with no params.
 java.io.InputStream Client.delete(java.lang.String endpoint, java.lang.String id)
          Executes delete request to the endpoint and id with no params.
 java.io.InputStream Client.delete(java.lang.String endpoint, java.lang.String id, java.util.Map<java.lang.String,java.lang.String> args)
          Executes delete request to the endpoint and id with params as Map<String, String>
 java.io.InputStream Client.delete(java.lang.String endpoint, java.lang.String id, java.lang.String args)
          Executes delete request to the endpoint and id with params as String Use it when you need few params with same name, like when copying or moving objects
 void OAuthClient.get_access_token(java.lang.String verifier)
          Retrieves access token
 java.lang.String OAuthClient.get_authorization_url()
          Returns an URL where Verifier must be obtained
 void OAuthClient.get_request_token()
          Retrieves request token
 void OAuthClient.get_request_token(java.lang.String callback)
          Retrieves request token to a specific callback
 java.io.InputStream Client.get(java.lang.String endpoint)
          Executes get request to the endpoint with no params.
 java.io.InputStream Client.get(java.lang.String endpoint, java.lang.String id)
          Executes get request to the endpoint and id with no params.
 java.io.InputStream Client.get(java.lang.String endpoint, java.lang.String id, java.util.Map<java.lang.String,java.lang.String> args)
          Executes get request to the endpoint and id with params as Map<String, String>
 java.io.InputStream Client.get(java.lang.String endpoint, java.lang.String id, java.lang.String args)
          Executes get request to the endpoint and id with params as String Use it when you need few params with same name, like when copying or moving objects
 java.io.InputStream Client.post(java.lang.String endpoint, java.lang.String id, java.io.File file)
          Executes post request to the endpoint and id with file in request body.
 java.io.InputStream Client.post(java.lang.String endpoint, java.lang.String id, java.io.File[] files)
          Executes post request to the endpoint and id with files in request body.
 java.io.InputStream Client.post(java.lang.String endpoint, java.lang.String id, java.util.List<java.io.File> files)
          Executes post request to the endpoint and id with files in request body.
 java.io.InputStream Client.post(java.lang.String endpoint, java.lang.String id, java.util.Map<java.lang.String,java.lang.String> args)
          Executes post request to the endpoint and id with params as Map<String, String>
 java.io.InputStream Client.post(java.lang.String endpoint, java.lang.String id, java.lang.String args)
          Executes post request to the endpoint and id with params as String Use it when you need few params with same name, like when copying or moving objects
 java.io.InputStream Client.put(java.lang.String endpoint)
          Executes put request to the endpoint with no params.
 java.io.InputStream Client.put(java.lang.String endpoint, java.lang.String id)
          Executes put request to the endpoint and id with no params.
 java.io.InputStream Client.put(java.lang.String endpoint, java.lang.String id, java.util.Map<java.lang.String,java.lang.String> args)
          Executes put request to the endpoint and id with params as Map<String, String>
 java.io.InputStream Client.put(java.lang.String endpoint, java.lang.String id, java.lang.String args)
          Executes put request to the endpoint and id with params as String Use it when you need few params with same name, like when copying or moving objects
 

Constructors in com.smartfile.api that throw SmartFileException
BasicClient()
          Creates basic auth client using credentials stored at environment variables SMARTFILE_API_KEY and SMARTFILE_API_PASS or from the ~/.netrc file
BasicClient(java.lang.String netrcfile)
          Creates basic auth client using credentials stored at netrc file
BasicClient(java.lang.String key, java.lang.String pwd)
          Creates basic auth client
OAuthClient(java.lang.String client_token, java.lang.String client_secret)
          Creates OAuth client