Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 225 for io (0.16 sec)

  1. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

     * limitations under the License.
     *
     */
    package okhttp3.coroutines
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import kotlin.time.Duration.Companion.seconds
    import kotlinx.coroutines.CancellationException
    import kotlinx.coroutines.Dispatchers
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.OutputStream
    import java.io.PrintStream
    import org.junit.platform.engine.TestExecutionResult
    import org.junit.platform.launcher.TestExecutionListener
    import org.junit.platform.launcher.TestIdentifier
    import org.junit.platform.launcher.TestPlan
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/Cache : java/io/Closeable, java/io/Flushable {
    	public static final field Companion Lokhttp3/Cache$Companion;
    	public final fun -deprecated_directory ()Ljava/io/File;
    	public fun <init> (Ljava/io/File;J)V
    	public fun <init> (Lokio/FileSystem;Lokio/Path;J)V
    	public fun close ()V
    	public final fun delete ()V
    	public final fun directory ()Ljava/io/File;
    	public final fun directoryPath ()Lokio/Path;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  4. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.File
    import java.io.PrintWriter
    import kotlin.system.exitProcess
    import org.junit.jupiter.engine.JupiterTestEngine
    import org.junit.platform.console.options.Theme
    import org.junit.platform.engine.DiscoverySelector
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestBodyTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.io.FileDescriptor
    import java.io.FileInputStream
    import java.io.IOException
    import java.nio.file.Path
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.asRequestBody
    import okhttp3.RequestBody.Companion.toRequestBody
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheRequest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.cache
    
    import java.io.IOException
    import okio.Sink
    
    interface CacheRequest {
      @Throws(IOException::class)
      fun body(): Sink
    
      fun abort()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 769 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/ConnectionShutdownException.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    
    /**
     * Thrown when an HTTP/2 connection is shutdown (either explicitly or if the peer has sent a GOAWAY
     * frame) and an attempt is made to use the connection.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 875 bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/guide/GetExample.java

     * 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.guide;
    
    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public class GetExample {
      final OkHttpClient client = new OkHttpClient();
    
      String run(String url) throws IOException {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    
    /** Attempt routes one at a time until one connects. */
    internal class SequentialExchangeFinder(
      override val routePlanner: RoutePlanner,
    ) : ExchangeFinder {
      override fun find(): RealConnection {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.cache
    
    import java.io.Closeable
    import java.io.EOFException
    import java.io.Flushable
    import java.io.IOException
    import okhttp3.internal.assertThreadHoldsLock
    import okhttp3.internal.cache.DiskLruCache.Editor
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.Task
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
Back to top