3737import okhttp3 .Response ;
3838
3939/**
40- * @deprecated
41- * {@link BoxAPIConnection} class, and the entire the com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
42- * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
43- *
44- * Represents an authenticated connection to the Box API.
45- *
46- * <p>This class handles storing authentication information, automatic token refresh, and
47- * rate-limiting. It can also be used to configure the Box API endpoint URL in order to hit a
48- * different version of the API. Multiple instances of BoxAPIConnection may be created to support
49- * multi-user login.
40+ * @deprecated {@link BoxAPIConnection} class, and the entire the com.box.sdk package is deprecated,
41+ * it is recommended to use {@link com.box.sdkgen} package. Instead of this class use {@link
42+ * com.box.sdkgen.client.BoxClient}
43+ * <p>Represents an authenticated connection to the Box API.
44+ * <p>This class handles storing authentication information, automatic token refresh, and
45+ * rate-limiting. It can also be used to configure the Box API endpoint URL in order to hit a
46+ * different version of the API. Multiple instances of BoxAPIConnection may be created to
47+ * support multi-user login.
5048 */
5149@ Deprecated
5250public class BoxAPIConnection {
@@ -141,12 +139,10 @@ public class BoxAPIConnection {
141139 private Authenticator authenticator ;
142140
143141 /**
144- * @deprecated
145- * {@link BoxAPIConnection} class, and the entire com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
146- * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
147- *
148- * Constructs a new BoxAPIConnection that authenticates with a developer or access token.
149- *
142+ * @deprecated {@link BoxAPIConnection} class, and the entire com.box.sdk package is deprecated,
143+ * it is recommended to use {@link com.box.sdkgen} package. Instead of this class use {@link
144+ * com.box.sdkgen.client.BoxClient}
145+ * <p>Constructs a new BoxAPIConnection that authenticates with a developer or access token.
150146 * @param accessToken a developer or access token to use for authenticating with the API.
151147 */
152148 @ Deprecated
@@ -155,12 +151,10 @@ public BoxAPIConnection(String accessToken) {
155151 }
156152
157153 /**
158- * @deprecated
159- * {@link BoxAPIConnection} class, and the entire com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
160- * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
161- *
162- * Constructs a new BoxAPIConnection with an access token that can be refreshed.
163- *
154+ * @deprecated {@link BoxAPIConnection} class, and the entire com.box.sdk package is deprecated,
155+ * it is recommended to use {@link com.box.sdkgen} package. Instead of this class use {@link
156+ * com.box.sdkgen.client.BoxClient}
157+ * <p>Constructs a new BoxAPIConnection with an access token that can be refreshed.
164158 * @param clientID the client ID to use when refreshing the access token.
165159 * @param clientSecret the client secret to use when refreshing the access token.
166160 * @param accessToken an initial access token to use for authenticating with the API.
@@ -190,13 +184,11 @@ public BoxAPIConnection(
190184 }
191185
192186 /**
193- * @deprecated
194- * {@link BoxAPIConnection} class, and the entire com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
195- * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
196- *
197- * Constructs a new BoxAPIConnection with an auth code that was obtained from the first half of
198- * OAuth.
199- *
187+ * @deprecated {@link BoxAPIConnection} class, and the entire com.box.sdk package is deprecated,
188+ * it is recommended to use {@link com.box.sdkgen} package. Instead of this class use {@link
189+ * com.box.sdkgen.client.BoxClient}
190+ * <p>Constructs a new BoxAPIConnection with an auth code that was obtained from the first
191+ * half of OAuth.
200192 * @param clientID the client ID to use when exchanging the auth code for an access token.
201193 * @param clientSecret the client secret to use when exchanging the auth code for an access token.
202194 * @param authCode an auth code obtained from the first half of the OAuth process.
@@ -208,12 +200,10 @@ public BoxAPIConnection(String clientID, String clientSecret, String authCode) {
208200 }
209201
210202 /**
211- * @deprecated
212- * {@link BoxAPIConnection} class, and the entire com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
213- * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
214- *
215- * Constructs a new BoxAPIConnection.
216- *
203+ * @deprecated {@link BoxAPIConnection} class, and the entire com.box.sdk package is deprecated,
204+ * it is recommended to use {@link com.box.sdkgen} package. Instead of this class use {@link
205+ * com.box.sdkgen.client.BoxClient}
206+ * <p>Constructs a new BoxAPIConnection.
217207 * @param clientID the client ID to use when exchanging the auth code for an access token.
218208 * @param clientSecret the client secret to use when exchanging the auth code for an access token.
219209 */
@@ -223,12 +213,10 @@ public BoxAPIConnection(String clientID, String clientSecret) {
223213 }
224214
225215 /**
226- * @deprecated
227- * {@link BoxAPIConnection} class, and the entire com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
228- * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
229- *
230- * Constructs a new BoxAPIConnection leveraging BoxConfig.
231- *
216+ * @deprecated {@link BoxAPIConnection} class, and the entire com.box.sdk package is deprecated,
217+ * it is recommended to use {@link com.box.sdkgen} package. Instead of this class use {@link
218+ * com.box.sdkgen.client.BoxClient}
219+ * <p>Constructs a new BoxAPIConnection leveraging BoxConfig.
232220 * @param boxConfig BoxConfig file, which should have clientId and clientSecret
233221 */
234222 @ Deprecated
0 commit comments