Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for members (0.15 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            override fun decode(reader: DerReader): T {
              return reader.withTypeHint {
                val list = mutableListOf<Any?>()
    
                while (list.size < members.size) {
                  val member = members[list.size]
                  list += member.fromDer(reader)
                }
    
                if (reader.hasNext()) {
                  throw ProtocolException("unexpected ${reader.peekHeader()} at $reader")
                }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

        assertThat(cacheControl.minFreshSeconds).isEqualTo(3)
        assertThat(cacheControl.onlyIfCached).isTrue()
        assertThat(cacheControl.noTransform).isTrue()
        assertThat(cacheControl.immutable).isTrue()
    
        // These members are accessible to response headers only.
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.isPrivate).isFalse()
        assertThat(cacheControl.isPublic).isFalse()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          if (name != null) path.removeAt(path.size - 1)
        }
      }
    
      /**
       * Execute [block] with a new namespace for type hints. Type hints from the enclosing type are no
       * longer usable by the current type's members.
       */
      fun <T> withTypeHint(block: () -> T): T {
        typeHintStack.add(null)
        try {
          return block()
        } finally {
          typeHintStack.removeAt(typeHintStack.size - 1)
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.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.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.java.net.cookiejar
    
    import java.io.IOException
    import java.net.CookieHandler
    import java.net.HttpCookie
    import java.util.Collections
    import okhttp3.Cookie
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. okhttp-android/build.gradle.kts

      androidTestImplementation(libs.assertk)
      androidTestImplementation(projects.mockwebserver3Junit4)
      androidTestImplementation(libs.androidx.test.runner)
    }
    
    mavenPublishing {
      // AGP 7.2 embeds Dokka 4, which breaks publishing. Android modules are hardcoded to generate Javadoc instead of Gfm.
      configure(com.vanniktech.maven.publish.AndroidSingleVariantLibrary(publishJavadocJar=false))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.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.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.logging
    
    import java.io.IOException
    import java.nio.charset.Charset
    import java.util.TreeSet
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    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)
  7. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // ... but they're included in toString().
        assertThat(parse("http://[::1]/").toString()).isEqualTo("http://[::1]/")
    
        // IPv6 colons don't interfere with port numbers or passwords.
        assertThat(parse("http://[::1]:8080/").port).isEqualTo(8080)
        assertThat(parse("http://user:password@[::1]/").password).isEqualTo("password")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheControlTest.kt

        assertThat(cacheControl.minFreshSeconds).isEqualTo(3)
        assertThat(cacheControl.onlyIfCached).isTrue()
        assertThat(cacheControl.noTransform).isTrue()
        assertThat(cacheControl.immutable).isTrue()
    
        // These members are accessible to response headers only.
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.isPrivate).isFalse()
        assertThat(cacheControl.isPublic).isFalse()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Connection.kt

     *
     * Typically instances of this class are created, connected and exercised automatically by the HTTP
     * client. Applications may use this class to monitor HTTP connections as members of a
     * [connection pool][ConnectionPool].
     *
     * Do not confuse this class with the misnamed `HttpURLConnection`, which isn't so much a connection
     * as a single request/response exchange.
     *
     * ## Modern TLS
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        // Write the payload.
        sink.writeAll(content)
      }
    
      /**
       * Execute [block] with a new namespace for type hints. Type hints from the enclosing type are no
       * longer usable by the current type's members.
       */
      fun <T> withTypeHint(block: () -> T): T {
        typeHintStack.add(null)
        try {
          return block()
        } finally {
          typeHintStack.removeAt(typeHintStack.size - 1)
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top