Examples of url()

@param url File URL or path relative to data directory @return File indicated by provided URL @see Files#url(File,String)
  • org.jeecgframework.core.annotation.config.AutoMenu.url()
  • org.jfrog.build.api.builder.BuildInfoBuilder.url()
    Sets the URL of the build @param url Build URL @return Builder instance
  • org.jfrog.build.api.builder.BuildInfoMavenBuilder.url()
    Sets the URL of the build @param url Build URL @return Builder instance
  • org.jsoup.Connection.url()
    Set the request URL to fetch. The protocol must be HTTP or HTTPS. @param url URL to connect to @return this Connection, for chaining
  • org.jsoup.Connection.Response.url()
  • org.mifosplatform.mix.data.NamespaceData.url()
  • org.onesocialweb.model.vcard4.VCard4Factory.url()
  • org.picketlink.idm.config.LDAPStoreConfigurationBuilder.url()
  • org.sgx.yuigwt.galleryexplorer.client.api.Module.url()
    gallery module url @return
  • org.stjs.testing.annotation.HTMLFixture.url()
  • play.mvc.Call.url()
    The request URL.

  • Examples of de.anomic.crawler.retrieval.Request.url()

                Request crawlEntry;
                while (i.hasNext() && (System.currentTimeMillis() < terminate)) {
                    rowEntry = i.next();
                    crawlEntry = new Request(rowEntry);
                    if (crawlEntry.profileHandle().equals(profileHandle)) {
                        urlHashes.put(crawlEntry.url().hash());
                    }
                }
            }

            // then delete all these urls from the queues and the file index
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

                String profileHandle;
                CrawlProfile profileEntry;
                int i, showNum = 0;
                for (i = 0; (i < crawlerList.size()) && (showNum < showLimit); i++) {
                    urle = crawlerList.get(i);
                    if (urle != null && urle.url() != null) {
                        initiator = sb.peers.getConnected((urle.initiator() == null) ? "" : ASCII.String(urle.initiator()));
                        profileHandle = urle.profileHandle();
                        profileEntry = profileHandle == null ? null : sb.crawler.getActive(profileHandle.getBytes());
                        prop.put("crawler-queue_list_" + showNum + "_dark", dark ? "1" : "0");
                        prop.putHTML("crawler-queue_list_" + showNum + "_initiator", ((initiator == null) ? "proxy" : initiator.getName()));
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

                        prop.putHTML("crawler-queue_list_" + showNum + "_initiator", ((initiator == null) ? "proxy" : initiator.getName()));
                        prop.put("crawler-queue_list_" + showNum + "_profile", ((profileEntry == null) ? "unknown" : profileEntry.name()));
                        prop.put("crawler-queue_list_" + showNum + "_depth", urle.depth());
                        prop.put("crawler-queue_list_" + showNum + "_modified", daydate(urle.appdate()) );
                        prop.putHTML("crawler-queue_list_" + showNum + "_anchor", urle.name());
                        prop.putHTML("crawler-queue_list_" + showNum + "_url", urle.url().toString());
                        prop.put("crawler-queue_list_" + showNum + "_hash", urle.url().hash());
                        dark = !dark;
                        showNum++;
                    } else {
                        stackSize--;
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Response.url()

                }
            } else if (viewMode.equals("parsed") || viewMode.equals("sentences"|| viewMode.equals("words") || viewMode.equals("links")) {
                // parsing the resource content
                Document document = null;
                try {
                    document = Document.mergeDocuments(response.url(), response.getMimeType(), response.parse());
                    if (document == null) {
                        prop.put("error", "5");
                        prop.put("error_errorText", "Unknown error");
                        prop.put("viewMode", VIEW_MODE_NO_TEXT);
                        return prop;
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Response.url()

                                Integer.toString(client.getHttpResponse().getStatusLine().getStatusCode()),
                                sb.crawler.defaultProxyProfile
                        );
                        final String storeError = response.shallStoreCacheForProxy();
                        final boolean storeHTCache = response.profile().storeHTCache();
                        final String supportError = TextParser.supports(response.url(), response.getMimeType());
                        if (
                                /*
                                 * Now we store the response into the htcache directory if
                                 * a) the response is cacheable AND
                                 */
     
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Response.url()

                            if (sizeBeforeDelete == -1) {
                                // totally fresh file
                                response.setContent(cacheArray);
                                try {
                                    Cache.store(response.url(), response.getResponseHeader(), cacheArray);
                                    sb.toIndexer(response);
                                } catch (IOException e) {
                                    log.logWarning("cannot write " + response.url() + " to Cache (1): " + e.getMessage(), e);
                                }
                                conProp.put(HeaderFramework.CONNECTION_PROP_PROXY_RESPOND_CODE, "TCP_MISS");
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Response.url()

                                response.setContent(cacheArray);
                                try {
                                    Cache.store(response.url(), response.getResponseHeader(), cacheArray);
                                    sb.toIndexer(response);
                                } catch (IOException e) {
                                    log.logWarning("cannot write " + response.url() + " to Cache (1): " + e.getMessage(), e);
                                }
                                conProp.put(HeaderFramework.CONNECTION_PROP_PROXY_RESPOND_CODE, "TCP_MISS");
                            } else if (cacheArray != null && sizeBeforeDelete == cacheArray.length) {
                                // before we came here we deleted a cache entry
                                cacheArray = null;
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Response.url()

                                conProp.put(HeaderFramework.CONNECTION_PROP_PROXY_RESPOND_CODE, "TCP_REF_FAIL_HIT");
                            } else {
                                // before we came here we deleted a cache entry
                                response.setContent(cacheArray);
                                try {
                                    Cache.store(response.url(), response.getResponseHeader(), cacheArray);
                                    sb.toIndexer(response);
                                } catch (IOException e) {
                                    log.logWarning("cannot write " + response.url() + " to Cache (2): " + e.getMessage(), e);
                                }
                                conProp.put(HeaderFramework.CONNECTION_PROP_PROXY_RESPOND_CODE, "TCP_REFRESH_MISS");
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Response.url()

                                response.setContent(cacheArray);
                                try {
                                    Cache.store(response.url(), response.getResponseHeader(), cacheArray);
                                    sb.toIndexer(response);
                                } catch (IOException e) {
                                    log.logWarning("cannot write " + response.url() + " to Cache (2): " + e.getMessage(), e);
                                }
                                conProp.put(HeaderFramework.CONNECTION_PROP_PROXY_RESPOND_CODE, "TCP_REFRESH_MISS");
                            }
                        } else {
                            // no caching
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Response.url()

            Log.logException(e1);
          }
          return null;
        }
        try {
          return Document.mergeDocuments(response.url(), response.getMimeType(), response.parse());
        } catch (final Failure e) {
          Log.logWarning(YMarkTables.BOOKMARKS_LOG, "loadDocument failed due to a parser failure for url: "+url);
          return null;
        }
      }
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.