Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for enums (0.15 sec)

  1. mockwebserver-deprecated/api/mockwebserver.api

    	public static final field STALL_SOCKET_AT_START Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field UPGRADE_TO_SSL_AT_END Lokhttp3/mockwebserver/SocketPolicy;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    	public static fun valueOf (Ljava/lang/String;)Lokhttp3/mockwebserver/SocketPolicy;
    	public static fun values ()[Lokhttp3/mockwebserver/SocketPolicy;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

        } catch (e: GeneralSecurityException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        }
      }
    }
    
    internal data class TbsCertificate(
      /** This is a integer enum. Use 0L for v1, 1L for v2, and 2L for v3. */
      val version: Long,
      val serialNumber: BigInteger,
      val signature: AlgorithmIdentifier,
      val issuer: List<List<AttributeTypeAndValue>>,
      val validity: Validity,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        @Volatile private var headersToRedact = emptySet<String>()
    
        @Volatile private var queryParamsNameToRedact = emptySet<String>()
    
        @set:JvmName("level")
        @Volatile
        var level = Level.NONE
    
        enum class Level {
          /** No logs. */
          NONE,
    
          /**
           * Logs request and response lines.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val requestAfter = server.takeRequest()
        assertThat(
          requestAfter.sequenceNumber == 0 ||
            server.requestCount == 3 && server.takeRequest().sequenceNumber == 0,
        ).isTrue()
      }
    
      internal enum class WriteKind {
        BYTE_BY_BYTE,
        SMALL_BUFFERS,
        LARGE_BUFFERS,
      }
    
      @Test
      fun chunkedUpload_byteByByte() {
        doUpload(TransferKind.CHUNKED, WriteKind.BYTE_BY_BYTE)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  5. okhttp/api/okhttp.api

    	public final fun toDns ([Lokhttp3/AsyncDns;)Lokhttp3/Dns;
    }
    
    public final class okhttp3/AsyncDns$DnsClass : java/lang/Enum {
    	public static final field IPV4 Lokhttp3/AsyncDns$DnsClass;
    	public static final field IPV6 Lokhttp3/AsyncDns$DnsClass;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    	public final fun getType ()I
    	public static fun valueOf (Ljava/lang/String;)Lokhttp3/AsyncDns$DnsClass;
    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)
  6. okhttp-logging-interceptor/api/logging-interceptor.api

    	public static final field BASIC Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field BODY Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field HEADERS Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field NONE Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 4.5K bytes
    - Viewed (1)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/SocketPolicy.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.mockwebserver
    
    enum class SocketPolicy {
      SHUTDOWN_SERVER_AFTER_RESPONSE,
      KEEP_OPEN,
      DISCONNECT_AT_END,
      UPGRADE_TO_SSL_AT_END,
      DISCONNECT_AT_START,
      DISCONNECT_AFTER_REQUEST,
      DISCONNECT_DURING_REQUEST_BODY,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        if (strategy == ResumePriority.AfterOtherTasks && otherTasksStarted) {
          return yieldUntil(strategy, condition)
        }
      }
    
      private enum class ResumePriority {
        /** Resumes as soon as the condition is satisfied. */
        BeforeOtherTasks,
    
        /** Resumes after the already-enqueued tasks. */
        AfterEnqueuedTasks,
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_3x.md

     *  **Cipher suites may now have arbitrary names.** Previously `CipherSuite` was
        a Java enum and it was impossible to define new cipher suites without first
        upgrading OkHttp. With this change it is now a regular Java class with
        enum-like constants. Application code that uses enum methods on cipher
        suites (`ordinal()`, `name()`, etc.) will break with this change.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

          e: IOException,
        )
      }
    
      /**
       * Class of DNS addresses, such that clients that treat these differently, such
       * as attempting IPv6 first, can make such decisions.
       */
      @ExperimentalOkHttpApi
      enum class DnsClass(val type: Int) {
        IPV4(TYPE_A),
        IPV6(TYPE_AAAA),
      }
    
      @ExperimentalOkHttpApi
      companion object {
        const val TYPE_A = 1
        const val TYPE_AAAA = 28
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top