Home
last modified time | relevance | path

Searched refs:ofString (Results 51 – 75 of 783) sorted by relevance

12345678910>>...32

/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/net/httpclient/
H A DNoBodyPartOne.java66 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsString()
68 BodyHandler<String> handler = i % 2 == 0 ? BodyHandlers.ofString() in testAsString()
69 : BodyHandlers.ofString(UTF_8); in testAsString()
87 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsFile()
108 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsByteArray()
H A DFlowAdapterSubscriberTest.java135 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithFinisher()
151 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithoutFinisher()
201 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisher()
217 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisher()
233 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisherBlocking()
249 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisheBlocking()
267 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisher()
283 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisher()
299 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisherBlocking()
315 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisherBlocking()
[all …]
H A DExpectContinue.java90 .POST(BodyPublishers.ofString(data)) in test()
94 BodyHandlers.ofString()); in test()
100 response = client.send(request, BodyHandlers.ofString()); in test()
116 .POST(BodyPublishers.ofString(data)) in testAsync()
120 BodyHandlers.ofString()).join(); in testAsync()
126 response = client.sendAsync(request, BodyHandlers.ofString()).join(); in testAsync()
H A DConnectExceptionTest.java86 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousGET()
104 .POST(BodyPublishers.ofString("Does not matter")) in testSynchronousPOST()
107 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousPOST()
126 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousGET()
149 .POST(BodyPublishers.ofString("Does not matter")) in testAsynchronousPOST()
152 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousPOST()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/net/httpclient/
H A DNoBodyPartOne.java66 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsString()
68 BodyHandler<String> handler = i % 2 == 0 ? BodyHandlers.ofString() in testAsString()
69 : BodyHandlers.ofString(UTF_8); in testAsString()
87 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsFile()
108 .PUT(BodyPublishers.ofString(SIMPLE_STRING)) in testAsByteArray()
H A DFlowAdapterSubscriberTest.java135 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithFinisher()
151 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithoutFinisher()
201 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisher()
217 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisher()
233 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisherBlocking()
249 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisheBlocking()
267 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisher()
283 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisher()
299 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisherBlocking()
315 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisherBlocking()
[all …]
H A DExpectContinue.java90 .POST(BodyPublishers.ofString(data)) in test()
94 BodyHandlers.ofString()); in test()
100 response = client.send(request, BodyHandlers.ofString()); in test()
116 .POST(BodyPublishers.ofString(data)) in testAsync()
120 BodyHandlers.ofString()).join(); in testAsync()
126 response = client.sendAsync(request, BodyHandlers.ofString()).join(); in testAsync()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/net/httpclient/
H A DExpectContinue.java90 .POST(BodyPublishers.ofString(data)) in test()
94 BodyHandlers.ofString()); in test()
100 response = client.send(request, BodyHandlers.ofString()); in test()
116 .POST(BodyPublishers.ofString(data)) in testAsync()
120 BodyHandlers.ofString()).join(); in testAsync()
126 response = client.sendAsync(request, BodyHandlers.ofString()).join(); in testAsync()
H A DFlowAdapterSubscriberTest.java135 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithFinisher()
151 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithoutFinisher()
201 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisher()
217 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisher()
233 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisherBlocking()
249 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisheBlocking()
267 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisher()
283 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisher()
299 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisherBlocking()
315 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisherBlocking()
[all …]
H A DConnectExceptionTest.java86 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousGET()
104 .POST(BodyPublishers.ofString("Does not matter")) in testSynchronousPOST()
107 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousPOST()
126 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousGET()
149 .POST(BodyPublishers.ofString("Does not matter")) in testAsynchronousPOST()
152 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousPOST()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/net/httpclient/
H A DExpectContinue.java90 .POST(BodyPublishers.ofString(data)) in test()
94 BodyHandlers.ofString()); in test()
100 response = client.send(request, BodyHandlers.ofString()); in test()
116 .POST(BodyPublishers.ofString(data)) in testAsync()
120 BodyHandlers.ofString()).join(); in testAsync()
126 response = client.sendAsync(request, BodyHandlers.ofString()).join(); in testAsync()
H A DFlowAdapterSubscriberTest.java135 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithFinisher()
151 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithoutFinisher()
201 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisher()
217 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisher()
233 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisherBlocking()
249 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisheBlocking()
267 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisher()
283 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisher()
299 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisherBlocking()
315 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisherBlocking()
[all …]
H A DConnectExceptionTest.java86 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousGET()
104 .POST(BodyPublishers.ofString("Does not matter")) in testSynchronousPOST()
107 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousPOST()
126 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousGET()
149 .POST(BodyPublishers.ofString("Does not matter")) in testAsynchronousPOST()
152 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousPOST()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/net/httpclient/
H A DFlowAdapterSubscriberTest.java135 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithFinisher()
151 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithoutFinisher()
201 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisher()
217 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisher()
233 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisherBlocking()
249 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisheBlocking()
267 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisher()
283 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisher()
299 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisherBlocking()
315 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisherBlocking()
[all …]
H A DExpectContinue.java90 .POST(BodyPublishers.ofString(data)) in test()
94 BodyHandlers.ofString()); in test()
100 response = client.send(request, BodyHandlers.ofString()); in test()
116 .POST(BodyPublishers.ofString(data)) in testAsync()
120 BodyHandlers.ofString()).join(); in testAsync()
126 response = client.sendAsync(request, BodyHandlers.ofString()).join(); in testAsync()
H A DConnectExceptionTest.java86 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousGET()
104 .POST(BodyPublishers.ofString("Does not matter")) in testSynchronousPOST()
107 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousPOST()
126 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousGET()
149 .POST(BodyPublishers.ofString("Does not matter")) in testAsynchronousPOST()
152 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousPOST()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/net/httpclient/
H A DFlowAdapterSubscriberTest.java135 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithFinisher()
151 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithoutFinisher()
201 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisher()
217 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisher()
233 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisherBlocking()
249 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisheBlocking()
267 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisher()
283 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisher()
299 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisherBlocking()
315 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisherBlocking()
[all …]
H A DExpectContinue.java90 .POST(BodyPublishers.ofString(data)) in test()
94 BodyHandlers.ofString()); in test()
100 response = client.send(request, BodyHandlers.ofString()); in test()
116 .POST(BodyPublishers.ofString(data)) in testAsync()
120 BodyHandlers.ofString()).join(); in testAsync()
126 response = client.sendAsync(request, BodyHandlers.ofString()).join(); in testAsync()
H A DConnectExceptionTest.java86 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousGET()
104 .POST(BodyPublishers.ofString("Does not matter")) in testSynchronousPOST()
107 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousPOST()
126 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousGET()
149 .POST(BodyPublishers.ofString("Does not matter")) in testAsynchronousPOST()
152 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousPOST()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/net/httpclient/
H A DFlowAdapterSubscriberTest.java135 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build();
151 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build();
201 .POST(BodyPublishers.ofString("What's the craic?")).build();
217 .POST(BodyPublishers.ofString("What's the craic?")).build();
233 .POST(BodyPublishers.ofString("What's the craic?")).build();
249 .POST(BodyPublishers.ofString("What's the craic?")).build();
267 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in main()
283 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build();
299 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build();
315 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build();
[all …]
H A DConnectExceptionTest.java86 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousGET()
104 .POST(BodyPublishers.ofString("Does not matter")) in testSynchronousPOST()
107 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousPOST()
126 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousGET()
149 .POST(BodyPublishers.ofString("Does not matter")) in testAsynchronousPOST()
152 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousPOST()
H A DExpectContinue.java90 .POST(BodyPublishers.ofString(data))
94 BodyHandlers.ofString());
100 response = client.send(request, BodyHandlers.ofString());
116 .POST(BodyPublishers.ofString(data))
120 BodyHandlers.ofString()).join();
126 response = client.sendAsync(request, BodyHandlers.ofString()).join();
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/net/httpclient/
H A DFlowAdapterSubscriberTest.java135 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithFinisher()
151 .POST(BodyPublishers.ofString("May the luck of the Irish be with you!")).build(); in testListWithoutFinisher()
201 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisher()
217 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisher()
233 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithFinisherBlocking()
249 .POST(BodyPublishers.ofString("What's the craic?")).build(); in testCollectionWithoutFinisheBlocking()
267 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisher()
283 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisher()
299 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithFinisherBlocking()
315 .POST(BodyPublishers.ofString("We're sucking diesel now!")).build(); in testIterableWithoutFinisherBlocking()
[all …]
H A DConnectExceptionTest.java86 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousGET()
104 .POST(BodyPublishers.ofString("Does not matter")) in testSynchronousPOST()
107 HttpResponse<String> response = client.send(request, BodyHandlers.ofString()); in testSynchronousPOST()
126 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousGET()
149 .POST(BodyPublishers.ofString("Does not matter")) in testAsynchronousPOST()
152 … HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).get(); in testAsynchronousPOST()
H A DExpectContinue.java90 .POST(BodyPublishers.ofString(data)) in test()
94 BodyHandlers.ofString()); in test()
100 response = client.send(request, BodyHandlers.ofString()); in test()
116 .POST(BodyPublishers.ofString(data)) in testAsync()
120 BodyHandlers.ofString()).join(); in testAsync()
126 response = client.sendAsync(request, BodyHandlers.ofString()).join(); in testAsync()

12345678910>>...32