- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 718 for Headers (0.77 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
val request = Builder().url(url).build() client .newCall(request) .execute() .use { response -> if (!response.isSuccessful) { val responseHeaders = response.headers for (i in 0 until responseHeaders.size) { println(responseHeaders.name(i) + ": " + responseHeaders.value(i)) } throw IOException("Unexpected code $response") }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
* limitations under the License. */ package okhttp3.internal.connection import java.io.IOException import java.net.ProtocolException import okhttp3.EventListener import okhttp3.Headers import okhttp3.Request import okhttp3.Response import okhttp3.ResponseBody import okhttp3.internal.http.ExchangeCodec import okhttp3.internal.http.RealResponseBody import okio.Buffer import okio.ForwardingSink
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 10.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
"custom-foo", "custom-header", "custom-bar", "custom-header", "custom-baz", "custom-header", ) bytesIn.writeByte(0x40) // Literal indexed bytesIn.writeByte(0x0a) // Literal name (len = 10) bytesIn.writeUtf8("custom-foo") bytesIn.writeByte(0x0d) // Literal value (len = 13) bytesIn.writeUtf8("custom-header") bytesIn.writeByte(0x40) // Literal indexedRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
client.execute(action, request, listener); } @Override public Client filterWithHeader(final Map<String, String> headers) { client = client.filterWithHeader(headers); return this; } /** * Deletes documents matching the specified query using scroll and bulk delete. * * @param index The index to delete from.
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 02:01:26 UTC 2025 - 26.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
import okhttp3.CallEvent.ResponseHeadersEnd import okhttp3.CallEvent.ResponseHeadersStart import okhttp3.CallEvent.SecureConnectEnd import okhttp3.CallEvent.SecureConnectStart import okhttp3.Headers.Companion.headersOf import okhttp3.internal.duplex.AsyncRequestBody import okhttp3.testing.PlatformRule import okio.BufferedSink import okio.IOException import org.junit.jupiter.api.BeforeEach
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
if (opcode == OPCODE_TEXT) { frameCallback.onReadMessage(messageFrameBuffer.readUtf8()) } else { frameCallback.onReadMessage(messageFrameBuffer.readByteString()) } } /** Read headers and process any control frames until we reach a non-control frame. */ @Throws(IOException::class) private fun readUntilNonControlFrame() { while (!receivedCloseFrame) { readHeader()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
* <li>PUT - Updates a current resource with new data.</li> * <li>DELETE - Deletes the specified resource.</li> * <li>HEAD - Same as GET but returns only HTTP headers and no document body.</li> * <li>OPTIONS - Returns the HTTP methods that the server supports.</li> * <li>TRACE - Echoes back the received request, used for debugging.</li>
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 5.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
import okhttp3.CallEvent.ResponseHeadersEnd import okhttp3.CallEvent.ResponseHeadersStart import okhttp3.CallEvent.SecureConnectEnd import okhttp3.CallEvent.SecureConnectStart import okhttp3.Credentials.basic import okhttp3.Headers.Companion.headersOf import okhttp3.RequestBody.Companion.toRequestBody import okhttp3.TestUtil.assumeNotWindows import okhttp3.internal.RecordingOkAuthenticator import okhttp3.internal.duplex.AsyncRequestBody
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 25.8K bytes - Viewed (0) -
README.md
mvn test -Dtest=BeanUtilTest#testCopyBeanToBean ``` ### Code Quality and Formatting ```bash # Format code according to project standards mvn formatter:format # Apply license headers to source files mvn license:format # Build JAR with all verifications mvn clean package # Generate test coverage report mvn verify # Coverage report available at: target/site/jacoco/index.html ```
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
paramList.add(encode(key) + "=" + encode(value)); return this; } /** * Adds a request header. * * @param key the header key * @param value the header value * @return this CurlRequest instance */ public CurlRequest header(final String key, final String value) { if (headerList == null) { headerList = new ArrayList<>(); }
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0)