- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 54 for getHeader (0.06 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
.forEach(e -> map.put(e.getKey().toLowerCase(Locale.ROOT), e.getValue())); this.headers = map; } } public Map<String, List<String>> getHeaders() { return headers; } public String[] getHeaderValues(final String name) { final List<String> list = headers.get(name.toLowerCase(Locale.ROOT)); if (list == null) {
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java
} } } final Reader inputPending = getInputPending(); if (inputPending != ILLEGAL_STATE_READER) { tokenizer.setReader(inputPending); } tokenizer.reset(); } @Override public boolean incrementToken() throws IOException { return tokenizer.incrementToken();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/debugging/xattr/main.go
} if !set && value > 0 { log.Fatalln("to set a value please specify --set along with --value") } table := tablewriter.NewWriter(os.Stdout) table.SetHeader([]string{"Name", "Value"}) table.SetAutoWrapText(false) table.SetAutoFormatHeaders(true) table.SetHeaderAlignment(tablewriter.ALIGN_LEFT) table.SetAlignment(tablewriter.ALIGN_LEFT) table.SetCenterSeparator("")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 29 23:52:41 UTC 2023 - 3.2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.build() url = server.url("/") } @Test fun get() { assumeNotWindows() server.enqueue( MockResponse.Builder() .body("Hello!") .setHeader("Content-Type", PLAIN) .build(), ) val response = client.newCall(request().build()).execute() assertThat(response.body).isNotNull() response.body.bytes() logRecorder
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun mockResponse() { val mockResponse = MockResponse() var status: String = mockResponse.getStatus() var headers: Headers = mockResponse.getHeaders() var trailers: Headers = mockResponse.getTrailers() var socketPolicy: SocketPolicy = mockResponse.getSocketPolicy() var http2ErrorCode: Int = mockResponse.getHttp2ErrorCode() } @Test @Disabled
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val builder = MockResponse.Builder() .clearHeaders() .addHeader("Cookie: s=square") .addHeader("Cookie: a=android") .addHeader("Cookies: delicious") builder.setHeader("cookie", "r=robot") assertThat(headersToList(builder)).containsExactly("Cookies: delicious", "cookie: r=robot") } @Test fun mockResponseSetHeaders() { val builder = MockResponse.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
workspaceReaders.add(reactorReader); // 2) Repository system session-scoped workspace reader (contains ide and exec request reader) for (WorkspaceReader repoWorkspaceReader : chainedWorkspaceReader.getReaders()) { if (repoWorkspaceReader != null && repoWorkspaceReader != reactorReader) { workspaceReaders.add(repoWorkspaceReader); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
sink: BufferedSink, request: RecordedRequest, response: MockResponse, ) { val key = request.headers["Sec-WebSocket-Key"] val webSocketResponse = response.newBuilder() .setHeader("Sec-WebSocket-Accept", WebSocketProtocol.acceptHeader(key!!)) .build() writeHttpResponse(socket, sink, webSocketResponse) // Adapt the request and response into our Request and Response domain model.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
assertThat(recordedEvents).doesNotContain("DnsEnd") } @Test fun multipleDnsLookupsForSingleCall() { server.enqueue( MockResponse.Builder() .code(301) .setHeader("Location", "http://www.fakeurl:" + server.port) .build(), ) server.enqueue(MockResponse()) val dns = FakeDns() dns["fakeurl"] = client.dns.lookup(server.hostName)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2)