- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 148 for url (0.11 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java
/** * Provides new {@link Transport} instance for given {@link RemoteRepository}, if possible. * * @throws TransportProviderException if passed in remote repository has invalid remote URL or unsupported protocol. */ @Nonnull Transport transport(@Nonnull Session session, @Nonnull RemoteRepository repository);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/score/ScoreBooster.java
final String index = fessConfig.getIndexDocumentUpdateIndex(); final Object url = params.get("url"); if (url == null) { return StringUtil.EMPTY_STRINGS; } final SearchResponse response = client.prepareSearch(index).setQuery(QueryBuilders.termQuery(fessConfig.getIndexFieldUrl(), url))
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultUrlNormalizer.java
import org.apache.maven.api.di.Singleton; import org.apache.maven.api.services.model.UrlNormalizer; /** * Normalizes a URL. * */ @Named @Singleton public class DefaultUrlNormalizer implements UrlNormalizer { @Override public String normalize(String url) { String result = url; if (result != null) { while (true) { int idx = result.indexOf("/../");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
final OkHttpClient client = new OkHttpClient(); String post(String url, String json) throws IOException { RequestBody body = RequestBody.create(json, JSON); Request request = new Request.Builder() .url(url) .post(body) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string();
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java
Repository r = Repository.newBuilder() .id("id" + Long.toHexString(entropy.nextLong())) .name("name" + Long.toHexString(entropy.nextLong())) .url("url" + Long.toHexString(entropy.nextLong())) .build(); repos.add(r); } count = entropy.nextInt(3); List<Repository> pluginRepos = new ArrayList<>();
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 6.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null); final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1); final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2); assertThat(ClassLoaderUtil.isAncestor(cl3, cl2), is(true)); assertThat(ClassLoaderUtil.isAncestor(cl3, cl1), is(true));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
*/ public void testToExternalForm() throws Exception { final URL url = new File("/Program File").toURI().toURL(); assertEquals("file:" + getRoot() + "Program File", ResourceUtil.toExternalForm(url)); } /** * @throws Exception */ public void testGetFileName() throws Exception { URL url = new File("/Program File").toURI().toURL();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
// Now set the context loader to one that should find the resource. URL baseUrl = tempFile.getParentFile().toURI().toURL(); URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl}); ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(loader); URL url = Resources.getResource(tempFile.getName());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.8K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
* * @param id the unique identifier of the repository * @param url the URL of the repository * @param layout the layout of the repository */ public DefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout) { this(id, url, layout, null, null); } /** * Create a remote deployment repository. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 7.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java
* creator of the problem, the general expectation is that the hint provides sufficient information to the user to * track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from * which the settings were read. * * @return the hint about the source of the problem or an empty string if unknown, never {@code null} */ @Nonnull String getSource(); /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 3.6K bytes - Viewed (0)