- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for doGet (0.09 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java
} private static boolean doGet(Properties userProperties, String key, boolean def) { return doGet(userProperties != null ? userProperties.get(key) : null, def); } private static boolean doGet(Map<String, ?> userProperties, String key, boolean def) { return doGet(userProperties != null ? userProperties.get(key) : null, def); } private static boolean doGet(Object val, boolean def) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jan 09 13:04:57 UTC 2024 - 2.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
try (final ResponseData responseData = storageClient.doGet("storage://fess/none")) { fail(); } catch (ChildUrlsException e) { String[] values = e.getChildUrlList().stream().map(d -> d.getUrl()).sorted().toArray(n -> new String[n]); assertEquals(0, values.length); } try (final ResponseData responseData = storageClient.doGet("")) { fail();
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheSupport.java
@Override public V get(K key, Function<? super K, ? extends V> factory) { V value = doGet(key); if (value == null) { value = factory.apply(key); doCache(key, value); } return value; } @Override public V getIfPresent(K key) { return doGet(key); } @Override public void put(K key, V value) { doCache(key, value);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/src/main/java/org/gradle/HttpClientWrapper.java
this.client = client; } // public methods belongs to your API public byte[] doRawGet(String url) { GetMethod method = new GetMethod(url); try { int statusCode = doGet(method); return method.getResponseBody(); } catch (Exception e) { ExceptionUtils.rethrow(e); // this dependency is internal only } finally { method.releaseConnection();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/publishing/javaLibrary/kotlin/src/main/java/org/gradle/HttpClientWrapper.java
this.client = client; } // public methods belongs to your API public byte[] doRawGet(String url) { GetMethod method = new GetMethod(url); try { int statusCode = doGet(method); return method.getResponseBody(); } catch (Exception e) { ExceptionUtils.rethrow(e); // this dependency is internal only } finally { method.releaseConnection();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java-library/quickstart/groovy/src/main/java/org/gradle/HttpClientWrapper.java
this.client = client; } // public methods belongs to your API public byte[] doRawGet(String url) { HttpGet request = new HttpGet(url); try { HttpEntity entity = doGet(request); ByteArrayOutputStream baos = new ByteArrayOutputStream(); entity.writeTo(baos); return baos.toByteArray(); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java-library/quickstart/kotlin/src/main/java/org/gradle/HttpClientWrapper.java
this.client = client; } // public methods belongs to your API public byte[] doRawGet(String url) { HttpGet request = new HttpGet(url); try { HttpEntity entity = doGet(request); ByteArrayOutputStream baos = new ByteArrayOutputStream(); entity.writeTo(baos); return baos.toByteArray(); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
* * <p>The returned {@link BuildableExpectedRequest} can be used to modify the behaviour or expectations. */ public BuildableExpectedRequest get(String path) { return doGet(path); } private ExpectMethod doGet(String path) { return new ExpectMethod("GET", normalizePath(path), timeout, lock); } /** * Expect a PUT request to the given path, discard the request body */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/webApplication/customized/groovy/src/main/java/org/gradle/HelloServlet.java
package org.gradle; import java.io.*; import javax.servlet.http.*; import javax.servlet.*; public class HelloServlet extends HttpServlet { public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { PrintWriter out = res.getWriter(); out.print("Hello Gradle"); out.close(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 360 bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
String path = file.getAbsolutePath(); if (!path.startsWith("/")) { path = "/" + path.replace('\\', '/'); } try { fsClient.doGet("file://" + path); fail(); } catch (final ChildUrlsException e) { final Set<RequestData> urlSet = e.getChildUrlList();
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0)