Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for nesse (0.2 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

                }
    
                println("Authenticating for response: $response")
                println("Challenges: ${response.challenges()}")
                val credential = Credentials.basic("jesse", "password1")
                return response.request.newBuilder()
                  .header("Authorization", credential)
                  .build()
              }
            },
          )
          .build()
    
      fun run() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      private fun postBodyRetransmittedAfterAuthorizationFail(body: String) {
        server.enqueue(
          MockResponse(code = 401),
        )
        server.enqueue(MockResponse())
        val credential = basic("jesse", "secret")
        client =
          client.newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val response =
          getResponse(
            Request(
    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)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        server.enqueue(MockResponse())
        val request =
          Request.Builder()
            .url(server.url("/"))
            .method("POST", body.toRequestBody(null))
            .build()
        val credential = basic("jesse", "secret")
        client =
          client.newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val response = client.newCall(request).execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/guide/PostExample.java

            + "]}";
      }
    
      public static void main(String[] args) throws IOException {
        PostExample example = new PostExample();
        String json = example.bowlingJson("Jesse", "Jake");
        String response = example.post("http://www.roundsapp.com/post", json);
        System.out.println(response);
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

          |Content-Type: application/pdf; charset=utf-8
          |
          |Jesse’s Resumé
          |--AaB03x--
          |
          """.trimMargin().replace("\n", "\r\n")
        val body =
          MultipartBody.Builder("AaB03x")
            .setType(MultipartBody.FORM)
            .addFormDataPart(
              "attachment",
              "resumé.pdf",
              "Jesse’s Resumé".toRequestBody("application/pdf".toMediaTypeOrNull()),
            )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/DuplexTest.kt

       * test makes a single call with two duplex requests!
       */
      @Test
      fun duplexWithAuthChallenge() {
        enableProtocol(Protocol.HTTP_2)
        val credential = basic("jesse", "secret")
        client =
          client.newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val body1 =
          MockStreamHandler()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  7. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    nc nc.tr nc.us nd.us ne ne.jp ne.ke ne.kr ne.pw ne.tz ne.ug ne.us neat-url.com nebraska.museum nec nedre-eiker.no neko.am nemuro.hokkaido.jp nerdpol.ovh nerima.tokyo.jp nes.akershus.no nes.buskerud.no nesna.no nesodden.no nesoddtangen.no nesseby.no nesset.no net net-freaks.com net.ac net.ae net.af net.ag net.ai net.al net.am net.ar net.au net.az net.ba net.bb net.bh net.bj net.bm net.bn net.bo net.br net.bs net.bt net.bz net.ci net.cm net.cn net.co net.cu net.cw net.cy net.dm net.do net.dz net.ec net.eg...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
  8. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    laakesvuemie.no
    nannestad.no
    narvik.no
    narviika.no
    naustdal.no
    nedre-eiker.no
    nes.akershus.no
    nes.buskerud.no
    nesna.no
    nesodden.no
    nesseby.no
    unjarga.no
    unjárga.no
    nesset.no
    nissedal.no
    nittedal.no
    nord-aurdal.no
    nord-fron.no
    nord-odal.no
    norddal.no
    nordkapp.no
    davvenjarga.no
    davvenjárga.no
    nordre-land.no
    nordreisa.no
    raisa.no
    ráisa.no
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top