- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for ofString (0.05 seconds)
-
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
) val request = HttpRequest .newBuilder(server.url("/").toUri()) .header("Accept", "text/plain") .build() val response = httpClient.send(request, BodyHandlers.ofString()) assertThat(response.statusCode()).isEqualTo(200) assertThat(response.body()).isEqualTo("hello, Java HTTP Client") val recorded = server.takeRequest()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 2.8K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
header("Authorization", "token ${githubToken.get()}") } } .build() val response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString()) if (response.statusCode() > 399) { throw RuntimeException("Failed to get pull requests: $uri ${response.statusCode()} ${response.body()}") }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 24 07:54:08 GMT 2025 - 5.7K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/package-info.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ /** * Provides an immutable XML processing API for Maven, offering classes and interfaces * for reading, manipulating, and writing XML documents in a thread-safe manner. * This package is used extensively for POM, settings, and other Maven configuration files. * * @since 4.0.0 */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 04 14:17:18 GMT 2025 - 1.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java
* <li>Inserting existing {@link UrlQueueImpl} objects into the queue.</li> * <li>Deleting URL queues associated with a session.</li> * <li>Deleting all URL queues.</li> * <li>Offering a list of URLs to the queue, ensuring duplicates are not added.</li> * <li>Polling (retrieving and removing) a URL from the queue.</li> * <li>Saving the session (currently a no-op).</li>
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 9.3K bytes - Click Count (0)