- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for isRedirect (0.41 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
level = DeprecationLevel.ERROR, ) fun body() = body fun newBuilder(): Builder = Builder(this) /** Returns true if this response redirects to another resource. */ val isRedirect: Boolean = when (code) { HTTP_PERM_REDIRECT, HTTP_TEMP_REDIRECT, HTTP_MULT_CHOICE, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_SEE_OTHER -> true else -> false }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val peekBody: ResponseBody = response.peekBody(0L) val body: ResponseBody = response.body val builder: Response.Builder = response.newBuilder() val redirect: Boolean = response.isRedirect val networkResponse: Response? = response.networkResponse val cacheResponse: Response? = response.cacheResponse val priorResponse: Response? = response.priorResponse
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public final fun headers ()Lokhttp3/Headers; public final fun headers (Ljava/lang/String;)Ljava/util/List; public final fun isRedirect ()Z public final fun isSuccessful ()Z public final fun message ()Ljava/lang/String; public final fun networkResponse ()Lokhttp3/Response; public final fun newBuilder ()Lokhttp3/Response$Builder;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
okhttp/api/android/okhttp.api
public final fun headers ()Lokhttp3/Headers; public final fun headers (Ljava/lang/String;)Ljava/util/List; public final fun isRedirect ()Z public final fun isSuccessful ()Z public final fun message ()Ljava/lang/String; public final fun networkResponse ()Lokhttp3/Response; public final fun newBuilder ()Lokhttp3/Response$Builder;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
* @param isDirect whether to use direct transmission * @throws IOException if an I/O error occurs */ protected abstract void doSendFragment(byte[] buf, int off, int length, boolean isDirect) throws IOException; /** * Receives a DCERPC fragment from the remote endpoint * @param buf the buffer to receive the fragment * @param isDirect whether to use direct reception
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
out = (SmbFileOutputStream) pipe.getNamedPipeOutputStream(); } if (isDirect) { out.writeDirect(buf, off, length, 1); return; } out.write(buf, off, length); } @Override protected void doReceiveFragment(final byte[] buf, final boolean isDirect) throws IOException { int off, flags, length; if (buf.length < max_recv) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java
// In real implementation, this would get the native memory address: // For direct ByteBuffers, this could be obtained through unsafe operations // or DiSNI-specific methods if (buffer.isDirect()) { // Assign a unique address to each buffer instance return bufferAddresses.computeIfAbsent(buffer, b -> addressCounter.getAndIncrement()); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
assertNotNull(buffer, "Buffer should not be null"); assertTrue(buffer.capacity() >= 2048, "Buffer should be at least requested size"); assertTrue(buffer.isDirect(), "Buffer should be direct"); } @Test public void testReleaseBuffer() { ByteBuffer buffer = bufferManager.allocateBuffer(1024); // Release should not throw exception
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
off += fragSize; } throw new IOException(); } /** * @param msg * @param in * @param off * @param isDirect * @return * @throws IOException * @throws DcerpcException * @throws NdrException */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0)