Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for responseCode (0.12 sec)

  1. manifests/addons/dashboards/istio-service-dashboard.json

              "format": "time_series",
              "intervalFactor": 1,
              "legendFormat": "{{ source_workload }}.{{ source_workload_namespace }} : {{ response_code }} (🔐mTLS)",
              "refId": "A",
              "step": 2
            },
            {
              "datasource": {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 111.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Call.kt

      /**
       * Invokes the request immediately, and blocks until the response can be processed or is in error.
       *
       * To avoid leaking resources callers should close the [Response] which in turn will close the
       * underlying [ResponseBody].
       *
       * ```java
       * // ensure the response (and underlying response body) is closed
       * try (Response response = client.newCall(request).execute()) {
       *   ...
       * }
       * ```
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. manifests/addons/dashboards/lib/queries.libsonnet

            sum(rate(labels('istio_requests_total', { reporter: '~source|waypoint', response_code: '!~5..' }))) + ' / ' +
            sum(rate(labels('istio_requests_total', { reporter: '~source|waypoint' })))
          ),
    
          globalRequest4xx: self.rawQuery(
            round(sum(rate(labels('istio_requests_total', { reporter: '~source|waypoint', response_code: '~4..' })))) + 'or vector(0)'
          ),
    
          globalRequest5xx: self.rawQuery(
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

          @Override public void onFailure(Call call, IOException e) {
            e.printStackTrace();
          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
            try (ResponseBody responseBody = response.body()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              Headers responseHeaders = response.headers();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ResponseBodyTest.kt

        assertThat(source.exhausted()).isTrue()
        assertThat(source.readUtf8()).isEqualTo("")
      }
    
      @Test
      fun sourceClosesUnderlyingSource() {
        var closed = false
    
        val body: ResponseBody =
          object : ResponseBody() {
            override fun contentType(): MediaType? {
              return null
            }
    
            override fun contentLength(): Long {
              return 5
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/RealResponseBody.kt

    import okhttp3.ResponseBody
    import okio.BufferedSource
    
    class RealResponseBody(
      /**
       * Use a string to avoid parsing the content type until needed. This also defers problems caused
       * by malformed content types.
       */
      private val contentTypeString: String?,
      private val contentLength: Long,
      private val source: BufferedSource,
    ) : ResponseBody() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java

            final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper");
            try (final InputStream responseBody = responseData.getResponseBody()) {
                final SitemapSet sitemapSet = sitemapsHelper.parse(responseBody);
                final Set<RequestData> requestDataSet = new LinkedHashSet<>();
                for (final Sitemap sitemap : sitemapSet.getSitemaps()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

        if (transparentGzip &&
          "gzip".equals(networkResponse.header("Content-Encoding"), ignoreCase = true) &&
          networkResponse.promisesBody()
        ) {
          val responseBody = networkResponse.body
          if (responseBody != null) {
            val gzipSource = GzipSource(responseBody.source())
            val strippedHeaders =
              networkResponse.headers.newBuilder()
                .removeAll("Content-Encoding")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/Stream.kt

    @ExperimentalOkHttpApi
    interface Stream {
      val requestBody: BufferedSource
      val responseBody: BufferedSink
    
      /**
       * Terminate the stream so that no further data is transmitted or received. Note that
       * [requestBody] may return data after this call; that is the buffered data received before this
       * stream was canceled.
       *
       * This does nothing if [requestBody] and [responseBody] are already closed.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

          |
          |abcd
          |--simple boundary--
          """.trimMargin()
            .replace("\n", "\r\n")
    
        val responseBody =
          multipart.toResponseBody(
            "application/multipart; boundary=\"simple boundary\"".toMediaType(),
          )
    
        val parts = MultipartReader(responseBody)
        assertThat(parts.boundary).isEqualTo("simple boundary")
    
        val part = parts.nextPart()!!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top