- Sort Score
- Result 10 results
- Languages All
Results 41 - 48 of 48 for writeHeader (0.24 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
* @param flushHeaders true to force flush the response headers. This should be true unless the * response body exists and will be written immediately. */ @Throws(IOException::class) fun writeHeaders( responseHeaders: List<Header>, outFinished: Boolean, flushHeaders: Boolean, ) { lock.assertNotHeld() var flushHeaders = flushHeaders this.withLock {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 23.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 32.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
api/go1.txt
pkg net/http, type Response struct, TransferEncoding []string pkg net/http, type ResponseWriter interface { Header, Write, WriteHeader } pkg net/http, type ResponseWriter interface, Header() Header pkg net/http, type ResponseWriter interface, Write([]uint8) (int, error) pkg net/http, type ResponseWriter interface, WriteHeader(int) pkg net/http, type RoundTripper interface { RoundTrip }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
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)