- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 173 for url (0.15 sec)
-
src/main/java/org/codelibs/fess/helper/ViewHelper.java
final boolean isSmbOrFtpUrl = isSmbUrl || isFtpUrl; // replacing url with mapping data url = ComponentUtil.getPathMappingHelper().replaceUrl(url); final boolean isHttpUrl = url.startsWith("http:") || url.startsWith("https:"); if (isSmbUrl) { url = url.replace("smb:", "file:"); url = url.replace("smb1:", "file:"); } if (isHttpUrl && isSmbOrFtpUrl) {
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
} /** * ファイルを表すURLからルートパッケージの上位となるベースディレクトリを求めて返します。 * * @param url * ファイルを表すURL * @param baseName * ベース名 * @return ルートパッケージの上位となるベースディレクトリ */ protected static File getBaseDir(final URL url, final String baseName) { assertArgumentNotNull("url", url); File file = URLUtil.toFile(url);
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 19.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
} /** * @throws Exception */ public void testRelativePath() throws Exception { final File f = new File("/Program Files/foo.jar"); URL url = new URL("jar:" + f.toURI().toURL() + "!/foo/bar/"); url = new URL(url, ".."); System.out.println(url.toExternalForm()); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
final String fileName = artifact.getFileName(); final String url = artifact.getUrl(); if (StringUtil.isBlank(url)) { throw new PluginException("url is blank: " + artifact.getName()); } if (url.startsWith("http:") || url.startsWith("https:")) { try (final CurlResponse response = createCurlRequest(url).execute()) { if (response.getHttpStatusCode() != 200) {
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/NotificationHelper.java
try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) { if (response.getHttpStatusCode() == 200) { if (logger.isDebugEnabled()) { logger.debug("Sent {} to {}.", body, url); } } else {
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
return DEFAULT_HTTP_PORT; } @Override protected URLConnection openConnection ( URL url ) throws IOException { url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol())); return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection(), this.transportContext); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
* * @see jcifs.CIFSContext#get(java.lang.String) */ @Override public SmbResource get ( String url ) throws CIFSException { try { return new SmbFile(url, this); } catch ( MalformedURLException e ) { throw new CIFSException("Invalid URL " + url, e); } } /** * * {@inheritDoc} *
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/context/BaseContext.java
* * @see jcifs.CIFSContext#get(java.lang.String) */ @Override public SmbResource get ( String url ) throws CIFSException { try { return new SmbFile(url, this); } catch ( MalformedURLException e ) { throw new CIFSException("Invalid URL " + url, e); } } /** * * {@inheritDoc} *
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Nov 27 18:25:00 GMT 2022 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/ITBase.java
given().contentType("application/json").post(getEsUrl() + "/_refresh"); } public static String getFessUrl() { return System.getProperty("test.fess.url", DEFAULT_FESS_URL); } public static String getEsUrl() { return System.getProperty("test.search_engine.url", DEFAULT_SEARCH_ENGINE_URL); } protected static RequestSpecification checkMethodBase(final Map<String, Object> body) {
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
MockCurlRequest(Curl.Method method, String url) { super(method, url); } @Override public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) { try { actionListener.accept(new MockHttpURLConnection(new URL(url))); } catch (MalformedURLException e) {
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)