Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 103 for closeable1 (0.06 seconds)

  1. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.slack;
    
    import java.io.Closeable;
    import java.io.IOException;
    import java.security.SecureRandom;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import okhttp3.HttpUrl;
    import okhttp3.mockwebserver.Dispatcher;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Click Count (1)
  2. CLAUDE.md

    - **`CurlResponse`**: Response wrapper implementing `Closeable`. Provides HTTP status code, headers, and content access methods.
    
    - **`CurlException`**: Unchecked RuntimeException for HTTP errors.
    
    ### I/O Layer
    
    - **`ContentCache`**: In-memory or file-based caching. Implements `Closeable` and auto-deletes file cache on close.
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jan 08 07:28:24 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3
    
    import java.io.Closeable
    
    /** Handler for mock server requests. */
    public abstract class Dispatcher : Closeable {
      /**
       * Returns a response to satisfy `request`. This method may block (for instance, to wait on
       * a CountdownLatch).
       */
      @Throws(InterruptedException::class)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import java.io.Closeable
    import java.io.IOException
    import java.util.zip.Deflater
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.DeflaterSink
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt

     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import java.io.Closeable
    import java.io.IOException
    import java.util.zip.Inflater
    import okio.Buffer
    import okio.InflaterSource
    
    private const val OCTETS_TO_ADD_BEFORE_INFLATION = 0x0000ffff
    
    class MessageInflater(
      private val noContextTakeover: Boolean,
    ) : Closeable {
      private val deflatedBytes = Buffer()
    
      // Lazily-created.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:26:07 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/Flushables.java

       *     method
       * @throws IOException if {@code swallowIOException} is false and {@link Flushable#flush} throws
       *     an {@code IOException}.
       * @see Closeables#close
       */
      @SuppressWarnings("IdentifierName") // See Closeables.close
      public static void flush(Flushable flushable, boolean swallowIOException) throws IOException {
        try {
          flushable.flush();
        } catch (IOException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 02:48:50 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.Closeable
    import java.util.logging.Handler
    import java.util.logging.LogRecord
    
    object JsseDebugLogging {
      data class JsseDebugMessage(
        val message: String,
        val param: String?,
      ) {
        enum class Type {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt

    package gradlebuild.nullaway
    
    import org.gradle.api.services.BuildService
    import org.gradle.api.services.BuildServiceParameters
    import java.io.Closeable
    import java.util.concurrent.ConcurrentHashMap
    
    internal abstract class NullawayStatusService : BuildService<BuildServiceParameters.None>, Closeable {
        private val projectsWithNullAwayEnabled = ConcurrentHashMap.newKeySet<String>()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.Closeable
    import java.io.IOException
    import java.util.concurrent.LinkedBlockingDeque
    import okhttp3.internal.concurrent.TaskFaker
    import okhttp3.internal.connection.RealConnection
    import okhttp3.internal.connection.RoutePlanner
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/curl/CurlResponse.java

    package org.codelibs.curl;
    
    import java.io.Closeable;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.function.Function;
    
    import org.codelibs.curl.io.ContentCache;
    
    /**
     * The CurlResponse class represents the response from a cURL request.
     * It implements the Closeable interface to allow proper resource management.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
Back to Top