- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Clauss (0.34 sec)
-
src/main/java/org/codelibs/curl/CurlException.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.curl; public class CurlException extends RuntimeException { private static final long serialVersionUID = 1L; public CurlException(final String message, final Throwable cause) { super(message, cause); }
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 950 bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
import java.io.InputStream; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.function.Function; import org.codelibs.curl.io.ContentCache; public class CurlResponse implements Closeable { private int httpStatusCode; private ContentCache contentCache; private String encoding; private Exception contentException;
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
import static org.codelibs.curl.io.ContentOutputStream.SUFFIX; import static org.junit.Assert.assertEquals; public class IOIntegrationTest { private static final Logger logger = Logger.getLogger(IOIntegrationTest.class.getName()); class MockCurlRequest extends CurlRequest { MockCurlRequest(Curl.Method method, String url) { super(method, url); }
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.util.logging.Logger; public class ContentCache implements Closeable { protected static final Logger logger = Logger.getLogger(ContentCache.class.getName()); private final byte[] data; private final File file; public ContentCache(final byte[] data) { this.data = data;
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 1.6K bytes - Viewed (1) -
src/test/java/org/codelibs/curl/CurlTest.java
import static org.junit.Assert.fail; import java.util.logging.Level; import java.util.logging.Logger; import org.junit.Test; public class CurlTest { private static final Logger logger = Logger.getLogger(CurlTest.class.getName()); @Test public void test_Get() { Curl.get("https://www.codelibs.org/").execute(response -> {
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 2.5K bytes - Viewed (1) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import org.codelibs.curl.Curl; import org.junit.Test; public class ContentOutputStreamTest { @Test public void inMemory() throws IOException { ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4 });
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
import org.codelibs.curl.Curl.Method; import org.codelibs.curl.io.ContentCache; import org.codelibs.curl.io.ContentOutputStream; public class CurlRequest { protected static final String GZIP = "gzip"; protected static final Logger logger = Logger.getLogger(CurlRequest.class.getName()); protected String url; protected Proxy proxy; protected String encoding = "UTF-8";
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Sun Feb 12 12:21:25 GMT 2023 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.curl; import java.io.File; public class Curl { public static final File tmpDir = new File(System.getProperty("java.io.tmpdir")); protected Curl() { // nothing } public static CurlRequest get(final String url) {
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
import java.nio.file.Files; import java.util.logging.Logger; import org.apache.commons.io.output.DeferredFileOutputStream; public class ContentOutputStream extends DeferredFileOutputStream { protected static final Logger logger = Logger.getLogger(ContentOutputStream.class.getName()); protected static final String PREFIX = "curl4j-"; protected static final String SUFFIX = ".tmp";
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 1.9K bytes - Viewed (0)