Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for status (0.18 sec)

  1. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        if (mockWebServer == null) throw new IllegalStateException();
    
        ByteString state = randomToken();
        synchronized (this) {
          listeners.put(state, listener);
        }
    
        return slackApi.authorizeUrl(scopes, redirectUrl(), state, team);
      }
    
      private ByteString randomToken() {
        byte[] bytes = new byte[16];
        secureRandom.nextBytes(bytes);
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

       * no data frames to follow.
       *
       * @param streamId server-initiated stream ID: an even number.
       * @param responseHeaders minimally includes `:status`.
       * @param last when true, there is no response data.
       */
      fun onHeaders(
        streamId: Int,
        responseHeaders: List<Header>,
        last: Boolean,
      ): Boolean
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. docs/security/security_providers.md

    Security Providers
    ==================
    
    ## Provider Status
    
    | Provider         | HTTP/2  | TLSv1.3      | Powered By      | Notes                                                        |
    | :--------------- | :------ | :----------- | :-------------- | :----------------------------------------------------------- |
    | JVM default      | Java 9+ | Java 11+     | [OpenJDK]       |                                                              |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

         *
         * The file is newline separated. The first two lines are the URL and the request method. Next
         * is the number of HTTP Vary request header lines, followed by those lines.
         *
         * Next is the response status line, followed by the number of HTTP response header lines,
         * followed by those lines.
         *
         * HTTPS responses also contain SSL session information. This begins with a blank line, and then
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          "Expected HTTP 101 response but was '200 OK'",
        )
      }
    
      @Test
      @Throws(IOException::class)
      fun notFound() {
        webServer.enqueue(
          MockResponse.Builder()
            .status("HTTP/1.1 404 Not Found")
            .build(),
        )
        newWebSocket()
        clientListener.assertFailure(
          404,
          null,
          ProtocolException::class.java,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  6. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val subtype: String = mediaType.subtype()
        val parse: MediaType? = MediaType.parse("")
      }
    
      @Test @Disabled
      fun mockResponse() {
        val mockResponse = MockResponse()
        var status: String = mockResponse.getStatus()
        var headers: Headers = mockResponse.getHeaders()
        var trailers: Headers = mockResponse.getTrailers()
        var socketPolicy: SocketPolicy = mockResponse.getSocketPolicy()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val parse: MediaType? = "".toMediaTypeOrNull()
      }
    
      @Test
      fun mockResponse() {
        var mockResponse: MockResponse = MockResponse()
        var status: String = mockResponse.status
        status = mockResponse.status
        mockResponse.status = ""
        mockResponse = mockResponse.setResponseCode(0)
        var headers: Headers = mockResponse.headers
        var trailers: Headers = mockResponse.trailers
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

    import okhttp3.internal.ws.WebSocketProtocol.B0_MASK_OPCODE
    import okhttp3.internal.ws.WebSocketProtocol.B1_FLAG_MASK
    import okhttp3.internal.ws.WebSocketProtocol.B1_MASK_LENGTH
    import okhttp3.internal.ws.WebSocketProtocol.CLOSE_NO_STATUS_CODE
    import okhttp3.internal.ws.WebSocketProtocol.OPCODE_BINARY
    import okhttp3.internal.ws.WebSocketProtocol.OPCODE_CONTINUATION
    import okhttp3.internal.ws.WebSocketProtocol.OPCODE_CONTROL_CLOSE
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. mockwebserver/api/mockwebserver3.api

    	public static final field INSTANCE Lmockwebserver3/SocketPolicy$DisconnectAtStart;
    }
    
    public final class mockwebserver3/SocketPolicy$DisconnectDuringRequestBody : mockwebserver3/SocketPolicy {
    	public static final field INSTANCE Lmockwebserver3/SocketPolicy$DisconnectDuringRequestBody;
    }
    
    public final class mockwebserver3/SocketPolicy$DisconnectDuringResponseBody : mockwebserver3/SocketPolicy {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 03 21:59:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

          Headers.Builder().add("foo bar")
        }
      }
    
      @Test fun addThrowsOnMultiColon() {
        assertFailsWith<IllegalArgumentException> {
          Headers.Builder().add(":status: 200 OK")
        }
      }
    
      @Test fun addUnsafeNonAsciiRejectsUnicodeName() {
        assertFailsWith<IllegalArgumentException> {
          Headers.Builder()
            .addUnsafeNonAscii("héader1", "value1")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top