Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for Exchange (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

      }
    
      /**
       * Revoke this exchange's access to streams. This is necessary when a follow-up request is
       * required but the preceding exchange hasn't completed yet.
       */
      fun detachWithViolence() {
        codec.cancel()
        call.messageDone(
          exchange = this,
          requestDone = true,
          responseDone = true,
          e = null,
        )
      }
    
      private fun trackFailure(e: IOException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

            if ("100-continue".equals(request.header("Expect"), ignoreCase = true)) {
              exchange.flushRequest()
              responseBuilder = exchange.readResponseHeaders(expectContinue = true)
              exchange.responseHeadersStart()
              invokeStartEvent = false
            }
            if (responseBuilder == null) {
              if (requestBody.isDuplex()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        open fun receivedResponseAtMillis(receivedResponseAtMillis: Long) =
          apply {
            this.receivedResponseAtMillis = receivedResponseAtMillis
          }
    
        internal fun initExchange(exchange: Exchange) {
          this.exchange = exchange
        }
    
        open fun build(): Response {
          check(code >= 0) { "code < 0: $code" }
          return Response(
            checkNotNull(request) { "request == null" },
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

        exchange: Exchange,
        requestDone: Boolean = false,
        responseDone: Boolean = false,
        e: IOException?,
      ): IOException? {
        if (exchange != this.exchange) return e // This exchange was detached violently!
    
        var bothStreamsDone = false
        var callDone = false
        withLock {
          if (requestDone && requestBodyOpen || responseDone && responseBodyOpen) {
            if (requestDone) requestBodyOpen = false
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       * connection index, they also shared a socket connection.
       */
      public val connectionIndex: Int,
      /**
       * The index of this exchange on its HTTP connection. A request is uniquely identified by the
       * (connection index, exchange index) pair.
       */
      public val exchangeIndex: Int,
      /**
       * The TLS handshake of the connection that carried this request, or null if the request was
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      val carrier: Carrier
    
      /** Returns true if the response body and (possibly empty) trailers have been received. */
      val isResponseComplete: Boolean
    
      /** The socket that carries this exchange. */
      val socket: Socket
    
      /** Returns an output stream where the request body can be streamed. */
      @Throws(IOException::class)
      fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/SsoAuthenticator.java

     * OAuth, SPNEGO, or other authentication mechanisms. Each authenticator is responsible
     * for obtaining login credentials, resolving user information, and managing SSO
     * lifecycle operations like logout and metadata exchange.
     */
    public interface SsoAuthenticator {
    
        /**
         * Gets the login credential for SSO authentication.
         * @return The login credential.
         */
        LoginCredential getLoginCredential();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

       * provides support.
       */
      QUIC("quic"),
    
      /**
       * HTTP/3 is the third and upcoming major version of the Hypertext Transfer Protocol used to
       * exchange information. HTTP/3 runs over QUIC, which is published as RFC 9000.
       *
       * HTTP/3 is not natively supported by OkHttp, but provided to allow a theoretical interceptor
       * that provides support.
       */
      HTTP_3("h3"),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

            }
        }
    
        /**
         * SSO metadata endpoint.
         *
         * This method handles requests for SSO metadata, typically used by SAML or
         * other SSO protocols that require metadata exchange. The actual metadata
         * content is generated by the configured SSO authenticator.
         *
         * @return ActionResponse containing the SSO metadata or error page
         */
        @Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          val socket = MockWebServerSocket(raw)
          while (true) {
            val socketStillGood = processOneRequest(socket)
    
            // Clean up after the last exchange on a socket.
            if (!socketStillGood) {
              raw.close()
              openClientSockets.remove(raw)
              return false
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
Back to top