- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 224 for postal (0.74 sec)
-
README.md
```java import org.codelibs.curl.Curl; Curl.post("https://api.example.com/items") .body("{\"name\":\"item1\"}") .header("Content-Type", "application/json") .execute( response -> System.out.println("Async status: " + response.getHttpStatusCode()), error -> error.printStackTrace()); ``` ## API Overview - `org.codelibs.curl.Curl`: entry point for HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE).Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
@Test @DisplayName("Should handle mismatched chunk and total bytes") void testMismatchedValues() throws SMBProtocolDecodingException { // This could happen if the last chunk is smaller byte[] buffer = createValidCopyChunkResponse(10, // 10 chunks 65536, // Last chunk size (not average) 589824 // Total less than 10 * 65536 );Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/ResolverTypeTest.java
assertNotNull(ResolverType.RESOLVER_DNS, "RESOLVER_DNS should not be null."); assertNotNull(ResolverType.RESOLVER_LMHOSTS, "RESOLVER_LMHOSTS should not be null."); } /** * Tests the total number of enum constants. */ @Test void testNumberOfEnumConstants() { // Ensure there are exactly 4 resolver types
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
} @Test public void testReadString() throws IOException, PACDecodingException { // total=4, unused=1, used=2, string="AB" byte[] data = new byte[] { 0x04, 0x00, 0x00, 0x00, // total 0x01, 0x00, 0x00, 0x00, // unused 0x02, 0x00, 0x00, 0x00, // used 0x00, 0x00, // unused charRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java
assertEquals("https://example.com/get", data1.getUrl()); RequestData data2 = RequestDataBuilder.newRequestData().post().url("https://example.com/post").weight(2.0f).build(); assertEquals(Method.POST, data2.getMethod()); assertEquals("https://example.com/post", data2.getUrl()); RequestData data3 = RequestDataBuilder.newRequestData().head().url("https://example.com/head").build();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
assertEquals(0, (dst[5] << 8) | (dst[4] & 0xFF)); } @Test void testWriteDataWireFormat() { // Given // writeInt8 writes 8 bytes but needs to access dst[dstIndex+7] // Total bytes written: 8+8+8+8+2+6=40 // But writeInt8 at position 34 needs to access position 34+7=41 // So we need at least 42 bytes in the array byte[] dst = new byte[42]; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
* * @param b the buffer into which the data is read * @param off the start offset in array b at which the data is written * @param len the maximum number of bytes to read * @return the total number of bytes read into the buffer, or -1 if there is no more data * @throws IOException if an I/O error occurs */ @OverrideRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/AccessTokenPager.java
} /** * The default current page number. */ public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1; /** * The total number of records available. */ private int allRecordCount; /** * The total number of pages available. */ private int allPageCount; /** * Whether a previous page exists. */ private boolean existPrePage;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
} /** * Creates a new CurlRequest with the HTTP POST method for the specified URL. * * @param url the URL to which the POST request will be sent * @return a new CurlRequest object configured with the POST method and the specified URL */ public static CurlRequest post(final String url) { return new CurlRequest(Method.POST, url); } /**Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 5.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java
// Test method getter/setter ResponseData data = new ResponseData(); data.setMethod("GET"); assertEquals("GET", data.getMethod()); data.setMethod("POST"); assertEquals("POST", data.getMethod()); } public void test_parentUrlGetterSetter() { // Test parent URL getter/setter ResponseData data = new ResponseData();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.3K bytes - Viewed (0)