File tree 1 file changed +11
-1
lines changed
google-http-client/src/main/java/com/google/api/client/http
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 21
21
/**
22
22
* Thread-safe abstract HTTP transport.
23
23
*
24
- * <p>Implementation is thread-safe, and sub-classes must be thread-safe. For maximum efficiency,
24
+ * <p>Implementation is thread-safe, and subclasses must be thread-safe. For maximum efficiency,
25
25
* applications should use a single globally-shared instance of the HTTP transport.
26
26
*
27
27
* <p>The recommended concrete implementation HTTP transport library to use depends on what
@@ -158,4 +158,14 @@ public boolean isMtls() {
158
158
* @since 1.4
159
159
*/
160
160
public void shutdown () throws IOException {}
161
+
162
+ /**
163
+ * Returns whether the transport is shutdown or not.
164
+ *
165
+ * @return true if the transport is shutdown.
166
+ * @since 1.44.0
167
+ */
168
+ public boolean isShutdown () {
169
+ return true ;
170
+ }
161
171
}
You can’t perform that action at this time.
0 commit comments