Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for WriteHeaders (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          }
        }
    
        if (flushHeaders) {
          writer.flush()
        }
    
        return stream
      }
    
      @Throws(IOException::class)
      internal fun writeHeaders(
        streamId: Int,
        outFinished: Boolean,
        alternating: List<Header>,
      ) {
        writer.headers(outFinished, streamId, alternating)
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

           *
           * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-6.2.3
           */
          @Throws(IOException::class)
          fun writeHeaders(headerBlock: List<Header>) {
            if (emitDynamicTableSizeUpdate) {
              if (smallestHeaderTableSizeSetting < maxDynamicTableByteCount) {
                // Multiple dynamic table size updates!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

          assertThat(expected.message).isEqualTo("reserved bit set: -2147483645")
        }
      }
    
      private fun literalHeaders(sentHeaders: List<Header>): Buffer {
        val out = Buffer()
        Hpack.Writer(out = out).writeHeaders(sentHeaders)
        return out
      }
    
      private fun sendHeaderFrames(
        outFinished: Boolean,
        headers: List<Header>,
      ): Buffer {
        val out = Buffer()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        // Play it back.
        val connection = connect(peer)
        connection.writePingAndAwaitPong()
        val stream = connection.newStream(headerEntries("a", "android"), true)
        // finish the stream
        stream.writeHeaders(headerEntries("b", "berserk"), true, false)
        assertFailsWith<IllegalStateException> {
          stream.enqueueTrailers(headersOf("trailers", "boom"))
        }
      }
    
      @Test fun noTrailersFrameYieldsEmptyTrailers() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
    
            @Override
            public HighlightInfo getHighlightInfo() {
                return new HighlightInfo();
            }
        }
    
        @Override
        protected void writeHeaders(final HttpServletResponse response) {
            ComponentUtil.getFessConfig().getApiJsonResponseHeaderList().forEach(e -> response.setHeader(e.getFirst(), e.getSecond()));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/http2/Hpack$Writer;->insertIntoDynamicTable(Lokhttp3/internal/http2/Header;)V
    HSPLokhttp3/internal/http2/Hpack$Writer;->writeByteString(Lokio/ByteString;)V
    HSPLokhttp3/internal/http2/Hpack$Writer;->writeHeaders(Ljava/util/List;)V
    HSPLokhttp3/internal/http2/Hpack$Writer;->writeInt(III)V
    HSPLokhttp3/internal/http2/Hpack;-><clinit>()V
    HSPLokhttp3/internal/http2/Hpack;-><init>()V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top