Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4871 - 4880 of 6,972 for Class3 (0.04 sec)

  1. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

    import okhttp3.Callback
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.platform.AndroidPlatform
    import okio.IOException
    
    open class MainActivity : ComponentActivity() {
      override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
    
        val client = OkHttpClient()
    
        // Ensure we are compiling against the right variant
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt

     */
    package okhttp3.internal.publicsuffix
    
    import android.os.Build
    import java.io.IOException
    import okhttp3.internal.platform.PlatformRegistry
    import okio.Source
    import okio.source
    
    internal class AssetPublicSuffixList(
      override val path: String = PUBLIC_SUFFIX_RESOURCE,
    ) : BasePublicSuffixList() {
      override fun listSource(): Source {
        val assets = PlatformRegistry.applicationContext?.assets
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt

     */
    package okhttp3.internal
    
    import okhttp3.MediaType
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okio.Buffer
    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    internal class UnreadableResponseBody(
      private val mediaType: MediaType?,
      private val contentLength: Long,
    ) : ResponseBody(),
      Source {
      override fun contentType() = mediaType
    
      override fun contentLength() = contentLength
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 15:19:53 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt

    package okhttp3.tls.internal.der
    
    import okio.ByteString
    
    /**
     * A value whose type is not specified statically. Use this with [Adapters.any] which will attempt
     * to resolve a concrete type.
     */
    internal data class AnyValue(
      var tagClass: Int,
      var tag: Long,
      var constructed: Boolean = false,
      var length: Long = -1L,
      val bytes: ByteString,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

    /**
     * Tests the {@link Queue} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    public class OpenJdk6QueueTests extends TestsForQueuesInJavaUtil {
      public static Test suite() {
        return new OpenJdk6QueueTests().allTests();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import okhttp3.FormBody;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostForm {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        RequestBody formBody = new FormBody.Builder()
            .add("search", "Jurassic Park")
            .build();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  7. samples/slack/src/main/java/okhttp3/slack/OAuthSession.java

     * limitations under the License.
     */
    package okhttp3.slack;
    
    /** Authorization for an application to make Slack API calls on behalf of a user. */
    @SuppressWarnings("checkstyle:membername")
    public final class OAuthSession {
      public final boolean ok;
      public final String access_token;
      public final String scope;
      public final String user_id;
      public final String team_name;
      public final String team_id;
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Oct 23 15:24:22 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/UserAgentCapabilities.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.survey.ssllabs
    
    import com.squareup.moshi.JsonClass
    
    @JsonClass(generateAdapter = true)
    class UserAgentCapabilities(
      val abortsOnUnrecognizedName: Boolean,
      val alpnProtocols: List<String>,
      val ellipticCurves: List<Int>,
      val handshakeFormat: String,
      val hexHandshakeBytes: String,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TablesTransformValuesColumnMapTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.TableCollectionTest.ColumnMapTests;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    @GwtCompatible
    @NullMarked
    public class TablesTransformValuesColumnMapTest extends ColumnMapTests {
      public TablesTransformValuesColumnMapTest() {
        super(false, true, true, false);
      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TablesTransformValuesRowMapTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.TableCollectionTest.RowMapTests;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    @GwtCompatible
    @NullMarked
    public class TablesTransformValuesRowMapTest extends RowMapTests {
      public TablesTransformValuesRowMapTest() {
        super(false, true, true, true);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top