- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 247 for unsuccessful (0.14 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt
.addHeader("Accept", "application/json; q=0.5") .addHeader("Accept", "application/vnd.github.v3+json") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println("Server: ${response.header("Server")}") println("Date: ${response.header("Date")}") println("Vary: ${response.headers("Vary")}") } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
.url("https://api.imgur.com/3/image") .post(new ProgressRequestBody(requestBody, progressListener)) .build(); Response response = client.newCall(request).execute(); if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } public static void main(String... args) throws Exception { new UploadProgress().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
contextHandle = new byte[20]; } buf.readOctetArray(contextHandle, 0, 20); } /** * Checks if the context handle has been invalidated (all zeros). * A successful unregistration typically results in a zeroed context handle. * * @return true if the context handle has been invalidated */ public boolean isContextHandleInvalidated() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 3.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostForm.java
.url("https://en.wikipedia.org/w/index.php") .post(formBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostForm().run();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
*/ public void setReturnCode(int returnCode) { this.returnCode = returnCode; } /** * Checks if the RPC operation was successful. * * @return true if successful (return code is ERROR_SUCCESS) */ public boolean isSuccess() { return returnCode == ERROR_SUCCESS; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
.url("https://api.github.com/markdown/raw") .post(requestBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostStreaming().run();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
@Test void testInitWithNullProperties() throws CIFSException { // Test successful initialization with null properties assertDoesNotThrow(() -> SingletonContext.init(null)); assertNotNull(SingletonContext.getInstance()); } @Test void testInitWithCustomProperties() throws CIFSException { // Test successful initialization with custom properties Properties props = new Properties();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
/** * Processes thumbnail generation with a consumer function. * @param id The document ID. * @param consumer The consumer function to process thumbnail and config ID. * @return True if processing was successful, false otherwise. */ protected boolean process(final String id, final BiPredicate<String, String> consumer) { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* value is <a href="#bitEquals">bitwise equal</a> to the expected value. * * @param i the index * @param expect the expected value * @param update the new value * @return true if successful. False return indicates that the actual value was not equal to the * expected value. */ public final boolean compareAndSet(int i, double expect, double update) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.2K bytes - Viewed (0)