Home
last modified time | relevance | path

Searched refs:ofString (Results 151 – 175 of 783) sorted by relevance

12345678910>>...32

/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/net/httpclient/http2/
H A DTimeout.java125 .POST(BodyPublishers.ofString("body")) in connect()
127 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in connect()
142 .POST(BodyPublishers.ofString("body")) in connectAsync()
144 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).join(); in connectAsync()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/net/httpclient/http2/
H A DTimeout.java125 .POST(BodyPublishers.ofString("body")) in connect()
127 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in connect()
142 .POST(BodyPublishers.ofString("body")) in connectAsync()
144 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).join(); in connectAsync()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/net/httpclient/
H A DNoBodyPartTwo.java66 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsByteArrayConsumer()
89 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsInputStream()
108 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testBuffering()
128 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testDiscard()
H A DLineBodyHandlerTest.java191 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher()
213 .POST(BodyPublishers.ofString(body)) in testAsStream()
235 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher2()
256 .POST(BodyPublishers.ofString(body)) in testAsStreamWithCRLF()
316 .POST(BodyPublishers.ofString(body)) in testAsStreamWithMixedCRLF()
396 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisher()
448 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisher()
475 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisherBlocking()
500 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisherBlocking()
536 .POST(BodyPublishers.ofString(bigtext)) in testBigTextFromLineSubscriber()
[all …]
H A DSubscriberPublisherAPIExceptions.java75 assertThrows(NPE, () -> BodyPublishers.ofString(null)); in publisherAPIExceptions()
76 assertThrows(NPE, () -> BodyPublishers.ofString("A", null)); in publisherAPIExceptions()
77 assertThrows(NPE, () -> BodyPublishers.ofString(null, UTF_8)); in publisherAPIExceptions()
78 assertThrows(NPE, () -> BodyPublishers.ofString(null, null)); in publisherAPIExceptions()
123 assertThrows(NPE, () -> BodyHandlers.ofString(null)); in handlerAPIExceptions()
147 assertThrows(NPE, () -> BodySubscribers.ofString(null)); in subscriberAPIExceptions()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/net/httpclient/http2/
H A DTimeout.java125 .POST(BodyPublishers.ofString("body")) in connect()
127 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in connect()
142 .POST(BodyPublishers.ofString("body")) in connectAsync()
144 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).join(); in connectAsync()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/net/httpclient/
H A DNoBodyPartTwo.java66 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsByteArrayConsumer()
89 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsInputStream()
108 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testBuffering()
128 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testDiscard()
H A DLineBodyHandlerTest.java203 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher()
224 .POST(BodyPublishers.ofString(body)) in testAsStream()
247 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher2()
268 .POST(BodyPublishers.ofString(body)) in testAsStreamWithCRLF()
328 .POST(BodyPublishers.ofString(body)) in testAsStreamWithMixedCRLF()
408 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisher()
459 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisher()
485 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisherBlocking()
509 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisherBlocking()
544 .POST(BodyPublishers.ofString(bigtext)) in testBigTextFromLineSubscriber()
[all …]
H A DSubscriberPublisherAPIExceptions.java75 assertThrows(NPE, () -> BodyPublishers.ofString(null)); in publisherAPIExceptions()
76 assertThrows(NPE, () -> BodyPublishers.ofString("A", null)); in publisherAPIExceptions()
77 assertThrows(NPE, () -> BodyPublishers.ofString(null, UTF_8)); in publisherAPIExceptions()
78 assertThrows(NPE, () -> BodyPublishers.ofString(null, null)); in publisherAPIExceptions()
123 assertThrows(NPE, () -> BodyHandlers.ofString(null)); in handlerAPIExceptions()
147 assertThrows(NPE, () -> BodySubscribers.ofString(null)); in subscriberAPIExceptions()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/net/httpclient/
H A DNoBodyPartTwo.java66 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsByteArrayConsumer()
89 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsInputStream()
108 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testBuffering()
128 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testDiscard()
H A DLineBodyHandlerTest.java191 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher()
213 .POST(BodyPublishers.ofString(body)) in testAsStream()
235 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher2()
256 .POST(BodyPublishers.ofString(body)) in testAsStreamWithCRLF()
316 .POST(BodyPublishers.ofString(body)) in testAsStreamWithMixedCRLF()
396 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisher()
448 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisher()
475 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisherBlocking()
500 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisherBlocking()
536 .POST(BodyPublishers.ofString(bigtext)) in testBigTextFromLineSubscriber()
[all …]
H A DSubscriberPublisherAPIExceptions.java75 assertThrows(NPE, () -> BodyPublishers.ofString(null)); in publisherAPIExceptions()
76 assertThrows(NPE, () -> BodyPublishers.ofString("A", null)); in publisherAPIExceptions()
77 assertThrows(NPE, () -> BodyPublishers.ofString(null, UTF_8)); in publisherAPIExceptions()
78 assertThrows(NPE, () -> BodyPublishers.ofString(null, null)); in publisherAPIExceptions()
123 assertThrows(NPE, () -> BodyHandlers.ofString(null)); in handlerAPIExceptions()
147 assertThrows(NPE, () -> BodySubscribers.ofString(null)); in subscriberAPIExceptions()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/net/httpclient/http2/
H A DTimeout.java125 .POST(BodyPublishers.ofString("body")) in connect()
127 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in connect()
142 .POST(BodyPublishers.ofString("body")) in connectAsync()
144 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).join(); in connectAsync()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/net/httpclient/
H A DNoBodyPartTwo.java66 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsByteArrayConsumer()
89 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsInputStream()
108 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testBuffering()
128 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testDiscard()
H A DLineBodyHandlerTest.java191 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher()
213 .POST(BodyPublishers.ofString(body)) in testAsStream()
235 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher2()
256 .POST(BodyPublishers.ofString(body)) in testAsStreamWithCRLF()
316 .POST(BodyPublishers.ofString(body)) in testAsStreamWithMixedCRLF()
396 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisher()
448 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisher()
475 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisherBlocking()
500 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisherBlocking()
536 .POST(BodyPublishers.ofString(bigtext)) in testBigTextFromLineSubscriber()
[all …]
H A DSubscriberPublisherAPIExceptions.java75 assertThrows(NPE, () -> BodyPublishers.ofString(null)); in publisherAPIExceptions()
76 assertThrows(NPE, () -> BodyPublishers.ofString("A", null)); in publisherAPIExceptions()
77 assertThrows(NPE, () -> BodyPublishers.ofString(null, UTF_8)); in publisherAPIExceptions()
78 assertThrows(NPE, () -> BodyPublishers.ofString(null, null)); in publisherAPIExceptions()
123 assertThrows(NPE, () -> BodyHandlers.ofString(null)); in handlerAPIExceptions()
147 assertThrows(NPE, () -> BodySubscribers.ofString(null)); in subscriberAPIExceptions()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/net/httpclient/
H A DNoBodyPartTwo.java66 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsByteArrayConsumer()
89 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsInputStream()
108 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testBuffering()
128 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testDiscard()
H A DLineBodyHandlerTest.java191 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher()
213 .POST(BodyPublishers.ofString(body)) in testAsStream()
235 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher2()
256 .POST(BodyPublishers.ofString(body)) in testAsStreamWithCRLF()
316 .POST(BodyPublishers.ofString(body)) in testAsStreamWithMixedCRLF()
396 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisher()
448 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisher()
475 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisherBlocking()
500 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisherBlocking()
536 .POST(BodyPublishers.ofString(bigtext)) in testBigTextFromLineSubscriber()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/net/httpclient/
H A DNoBodyPartTwo.java66 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsByteArrayConsumer()
89 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsInputStream()
108 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testBuffering()
128 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testDiscard()
H A DLineBodyHandlerTest.java203 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher()
224 .POST(BodyPublishers.ofString(body)) in testAsStream()
247 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher2()
268 .POST(BodyPublishers.ofString(body)) in testAsStreamWithCRLF()
328 .POST(BodyPublishers.ofString(body)) in testAsStreamWithMixedCRLF()
408 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisher()
459 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisher()
485 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisherBlocking()
509 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisherBlocking()
544 .POST(BodyPublishers.ofString(bigtext)) in testBigTextFromLineSubscriber()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/net/httpclient/http2/
H A DTimeout.java125 .POST(BodyPublishers.ofString("body")) in connect()
127 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in connect()
142 .POST(BodyPublishers.ofString("body")) in connectAsync()
144 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).join(); in connectAsync()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/net/httpclient/
H A DLineBodyHandlerTest.java191 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher()
213 .POST(BodyPublishers.ofString(body)) in testAsStream()
235 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher2()
256 .POST(BodyPublishers.ofString(body)) in testAsStreamWithCRLF()
316 .POST(BodyPublishers.ofString(body)) in testAsStreamWithMixedCRLF()
396 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisher()
448 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisher()
475 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisherBlocking()
500 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisherBlocking()
536 .POST(BodyPublishers.ofString(bigtext)) in testBigTextFromLineSubscriber()
[all …]
H A DSubscriberPublisherAPIExceptions.java75 assertThrows(NPE, () -> BodyPublishers.ofString(null)); in publisherAPIExceptions()
76 assertThrows(NPE, () -> BodyPublishers.ofString("A", null)); in publisherAPIExceptions()
77 assertThrows(NPE, () -> BodyPublishers.ofString(null, UTF_8)); in publisherAPIExceptions()
78 assertThrows(NPE, () -> BodyPublishers.ofString(null, null)); in publisherAPIExceptions()
123 assertThrows(NPE, () -> BodyHandlers.ofString(null)); in handlerAPIExceptions()
147 assertThrows(NPE, () -> BodySubscribers.ofString(null)); in subscriberAPIExceptions()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/net/httpclient/
H A DLineBodyHandlerTest.java191 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher()
213 .POST(BodyPublishers.ofString(body)) in testAsStream()
235 .POST(BodyPublishers.ofString(body)) in testStringWithFinisher2()
256 .POST(BodyPublishers.ofString(body)) in testAsStreamWithCRLF()
316 .POST(BodyPublishers.ofString(body)) in testAsStreamWithMixedCRLF()
396 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisher()
448 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisher()
475 .POST(BodyPublishers.ofString(body)) in testObjectWithFinisherBlocking()
500 .POST(BodyPublishers.ofString(body)) in testObjectWithoutFinisherBlocking()
536 .POST(BodyPublishers.ofString(bigtext)) in testBigTextFromLineSubscriber()
[all …]
H A DSubscriberPublisherAPIExceptions.java75 assertThrows(NPE, () -> BodyPublishers.ofString(null)); in publisherAPIExceptions()
76 assertThrows(NPE, () -> BodyPublishers.ofString("A", null)); in publisherAPIExceptions()
77 assertThrows(NPE, () -> BodyPublishers.ofString(null, UTF_8)); in publisherAPIExceptions()
78 assertThrows(NPE, () -> BodyPublishers.ofString(null, null)); in publisherAPIExceptions()
123 assertThrows(NPE, () -> BodyHandlers.ofString(null)); in handlerAPIExceptions()
147 assertThrows(NPE, () -> BodySubscribers.ofString(null)); in subscriberAPIExceptions()

12345678910>>...32