| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| */ | ||
| public final BatchRequest batch(HttpRequestInitializer httpRequestInitializer) { | ||
| @SuppressWarnings("deprecated") | ||
| BatchRequest batch = |
There was a problem hiding this comment.
Should we migrate this to the new API?
Sorry, something went wrong.
There was a problem hiding this comment.
This one is the method that users should be using that sets the batch path.
Sorry, something went wrong.
| * declared by the service configuration. | ||
| */ | ||
| private static final String GLOBAL_BATCH_ENDPOINT = "https://www.googleapis.com/batch"; | ||
| private static final String GLOBAL_BATCH_ENDPOINT_WARNING = "You are using the global batch " |
There was a problem hiding this comment.
Maybe we can also link to javadoc or a more verbose example?
Sorry, something went wrong.
There was a problem hiding this comment.
We would like to migrate the docs off of developers.google.com for these clients, so I migrated the batching and media upload/download docs to the main README in #1334. That will give us a place to target with this message.
Sorry, something went wrong.
There was a problem hiding this comment.
Added a link to the new docs section in the warning message.
Sorry, something went wrong.
* Deprecate the BatchRequest public constructor * Update Javadoc sample for batch request * Log a warning if a user is using the global batch endpoint * Fix equality check for Strings * Swap equals comparison to avoid possible NPE * Add URL to visit in the warning message
* Deprecate the BatchRequest public constructor * Update Javadoc sample for batch request * Log a warning if a user is using the global batch endpoint * Fix equality check for Strings * Swap equals comparison to avoid possible NPE * Add URL to visit in the warning message
* Deprecate the BatchRequest public constructor * Update Javadoc sample for batch request * Log a warning if a user is using the global batch endpoint * Fix equality check for Strings * Swap equals comparison to avoid possible NPE * Add URL to visit in the warning message
* Deprecate the BatchRequest public constructor * Update Javadoc sample for batch request * Log a warning if a user is using the global batch endpoint * Fix equality check for Strings * Swap equals comparison to avoid possible NPE * Add URL to visit in the warning message
* Deprecate the BatchRequest public constructor * Update Javadoc sample for batch request * Log a warning if a user is using the global batch endpoint * Fix equality check for Strings * Swap equals comparison to avoid possible NPE * Add URL to visit in the warning message
* Deprecate the BatchRequest public constructor * Update Javadoc sample for batch request * Log a warning if a user is using the global batch endpoint * Fix equality check for Strings * Swap equals comparison to avoid possible NPE * Add URL to visit in the warning message
* Deprecate the BatchRequest public constructor * Update Javadoc sample for batch request * Log a warning if a user is using the global batch endpoint * Fix equality check for Strings * Swap equals comparison to avoid possible NPE * Add URL to visit in the warning message
| Back | FazBrowse Home | New Git URL |
Users should obtain a BatchRequest instance via their client's batch(HttpRequestInitializer) method.