Package com.dropbox.core
-
Interface Summary Interface Description DbxSessionStore An interface that lets you save, retrieve, and clear a single value in the user's web session. -
Class Summary Class Description DbxAppInfo Identifying information about your application.DbxAuthFinish When you successfully complete the authorization process, the Dropbox server returns this information to you.DbxAuthInfo Used by the example code to remember auth information.DbxDownloader<R> Class for handling download requests.DbxHost This is for mocking things out during testing.DbxOAuth1AccessToken Use withDbxOAuth1Upgraderto convert old OAuth 1 access tokens to OAuth 2 access tokens.DbxOAuth1Upgrader Lets you convert OAuth 1 access tokens to OAuth 2 access tokens.DbxPKCEManager This class should be lib/jar private.DbxPKCEWebAuth This class does the OAuth2 "authorization code" flow with Proof Key for Code Exchange(PKCE).DbxRequestConfig A grouping of a few configuration parameters for how we should make requests to the Dropbox servers.DbxRequestConfig.Builder Builder forDbxRequestConfig.DbxRequestUtil DbxRequestUtil.RequestMaker<T,E extends java.lang.Throwable> DbxRequestUtil.ResponseHandler<T> DbxSdkVersion DbxStandardSessionStore ADbxSessionStoreimplementation that stores the value using the standardHttpSessioninterface from the Java Servlet API.DbxStreamReader<E extends java.lang.Throwable> A callback for streaming data from anInputStream.DbxStreamReader.ByteArrayCopier DbxStreamReader.OutputStreamCopier ADbxStreamReaderthat gets its source data from the givenOutputStream.DbxStreamWriter<E extends java.lang.Throwable> A callback for streaming data to anOutputStream.DbxStreamWriter.ByteArrayCopier DbxStreamWriter.InputStreamCopier ADbxStreamWriterthat gets its source data from the givenInputStream.DbxUploader<R,E,X extends DbxApiException> Class for completing upload requests.DbxWebAuth Does the OAuth 2 "authorization code" flow.DbxWebAuth.Request OAuth web-based authorization flow request.DbxWebAuth.Request.Builder Builder for OAuth2 requests.DbxWebAuthNoRedirect Deprecated. useDbxWebAuthinstead with aDbxWebAuth.Requestconfigured with no redirect URI (seeDbxWebAuth.Request.Builder.withNoRedirect()).LocalizedText Human-readable text localized to a specific locale.NoThrowInputStream Wraps an existing input stream, converting all the underlying stream'sIOExceptions to our ownNoThrowInputStream.HiddenException, which is a subclass ofRuntimeException.NoThrowOutputStream Wraps an existing output stream, converting all the underlying stream'sIOExceptions to our ownNoThrowOutputStream.HiddenException, which is a subclass ofRuntimeException. -
Enum Summary Enum Description IncludeGrantedScopes If this field is present, Dropbox server will return a token with all scopes user previously granted your app.TokenAccessType Whether or not to include refresh token inDbxAuthFinishNon-mobile apps use it inDbxWebAuth. -
Exception Summary Exception Description AccessErrorException Gets thrown when invalid access occurs.BadRequestException This is what is thrown when the Dropbox server tells us that it didn't like something about our request.BadResponseCodeException Thrown when the Dropbox server responds with an HTTP status code we didn't expect.BadResponseException Thrown when we the response from the Dropbox server isn't something we expect.DbxApiException Base class for API-specific exceptions raised by API v2 routes.DbxException The base exception thrown by Dropbox API calls.DbxWebAuth.BadRequestException Thrown when the parameters passed to your redirect URI are not well-formed.DbxWebAuth.BadStateException Thrown if all the parameters to your redirect URI are well-formed, but there's no CSRF token in the session.DbxWebAuth.CsrfException Thrown if the given 'state' parameter doesn't contain the expected CSRF token.DbxWebAuth.Exception The base class for authorization redirect errors.DbxWebAuth.NotApprovedException Thrown when Dropbox tells us that the user chose not to grant your app access to their Dropbox account (i.e.DbxWebAuth.ProviderException Thrown when Dropbox tells us that some other error occurred in the authorization process.DbxWrappedException For internal use only.InvalidAccessTokenException Gets thrown when the access token you're using to make API calls is invalid.NetworkIOException This gets thrown when there's anIOExceptionwhen reading or writing to the network (when communicating with the Dropbox API servers).NoThrowInputStream.HiddenException NoThrowOutputStream.HiddenException PathRootErrorException Gets thrown when an invalid path rood is supplied.ProtocolException Something unexpected happened with either the request or the response.RateLimitException The server is overloaded, or you have hit a rate limit.RetryException A transient exception has occurred and the request should be retried.ServerException The server said that something went wrong on its end (HTTP 500 error code).