Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 377 for Constructor (0.05 seconds)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

      public val pushPromises: List<PushPromise>
    
      public val settings: Settings
    
      public constructor(
        code: Int = 200,
        headers: Headers = headersOf(),
        body: String = "",
      ) : this(
        Builder()
          .code(code)
          .headers(headers)
          .body(body),
      )
    
      private constructor(builder: Builder) {
        this.status = builder.status
        this.headers = builder.headers
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

        internal var body: RequestBody? = null
        internal var cacheUrlOverride: HttpUrl? = null
        internal var tags: Tags = EmptyTags
    
        constructor() {
          this.method = "GET"
          this.headers = Headers.Builder()
        }
    
        internal constructor(request: Request) {
          this.url = request.url
          this.method = request.method
          this.body = request.body
          this.tags = request.tags
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * An [RFC 2387][rfc_2387]-compliant request body.
     *
     * [rfc_2387]: http://www.ietf.org/rfc/rfc2387.txt
     */
    @Suppress("NAME_SHADOWING")
    class MultipartBody internal constructor(
      private val boundaryByteString: ByteString,
      @get:JvmName("type") val type: MediaType,
      @get:JvmName("parts") val parts: List<Part>,
    ) : RequestBody() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

          throw new RuntimeException("bad constructor");
        }
    
        public ExceptionWithGoodAndBadConstructor(Throwable cause) {
          super(cause);
        }
      }
    
      static final class ExceptionWithBadConstructor extends Exception {
        public ExceptionWithBadConstructor(String message, Throwable cause) {
          throw new RuntimeException("bad constructor");
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

      /**
       * Constructor for use by subclasses. This hasher instance will process chunks of the specified
       * size.
       *
       * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
       *     must be at least 4
       */
      protected AbstractStreamingHasher(int chunkSize) {
        this(chunkSize, chunkSize);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

        extends ForwardingMap<K, V> implements SortedMap<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingSortedMap() {}
    
      @Override
      protected abstract SortedMap<K, V> delegate();
    
      @Override
      public @Nullable Comparator<? super K> comparator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

        private final ArrayBlockingQueue<Exchange> eventQueue;
    
        /**
         * Constructor that makes passed in delegate run on single thread, and will block on last event.
         */
        public SimplexTransferListener(TransferListener delegate) {
            this(delegate, QUEUE_SIZE, BATCH_MAX_SIZE, true);
        }
    
        /**
         * Constructor that may alter behaviour of this listener.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java

                            + cause.getMessage(),
                    cause);
            this.extension = extension;
        }
    
        /**
         * Constructor accepting the new API type for internal use.
         *
         * @param extension the new API extension
         * @param cause the cause
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/Partially.java

       * <a href="http://www.gwtproject.org/">Google Web Toolkit</a> (GWT) but that it has <i>some
       * restrictions</i>.
       */
      @Retention(RetentionPolicy.CLASS)
      @Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD})
      @Documented
      @interface GwtIncompatible {
        String value();
      }
    
      private Partially() {}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

        internal var cipherSuites: Array<String>? = null
        internal var tlsVersions: Array<String>? = null
        internal var supportsTlsExtensions: Boolean = false
    
        internal constructor(tls: Boolean) {
          this.tls = tls
        }
    
        constructor(connectionSpec: ConnectionSpec) {
          this.tls = connectionSpec.isTls
          this.cipherSuites = connectionSpec.cipherSuitesAsString
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.4K bytes
    - Click Count (0)
Back to Top