Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2351 - 2360 of 3,426 for overwrite (0.1 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.request().header("Date"));
        }
      }
    
      static class CurrentDateInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          Headers newHeaders = request.headers()
              .newBuilder()
              .add("Date", new Date())
              .build();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Oct 31 15:32:50 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/PatternConcatenationFilterFactory.java

            }
            if (pattern1Str != null) {
                pattern1 = Pattern.compile(pattern1Str);
                pattern2 = Pattern.compile(pattern2Str);
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            return new PatternConcatenationFilter(tokenStream, pattern1, pattern2);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

            this.type = type;
        }
    
        public boolean isUrlSet() {
            return URLSET.equals(type);
        }
    
        public boolean isIndex() {
            return INDEX.equals(type);
        }
    
        @Override
        public String toString() {
            return "SitemapSet [sitemapList=" + sitemapList + ", type=" + type + "]";
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TextExtractor.java

    import org.codelibs.fess.crawler.exception.ExtractException;
    
    /**
     * @author shinsuke
     *
     */
    public class TextExtractor extends AbstractExtractor {
    
        protected String encoding = Constants.UTF_8;
    
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java

    public class SitemapsRule extends RegexRule {
        /**
         *
         */
        private static final long serialVersionUID = 1L;
    
        private static final Logger logger = LoggerFactory.getLogger(SitemapsRule.class);
    
        @Override
        public boolean match(final ResponseData responseData) {
            if (super.match(responseData)) {
                try (final InputStream is = responseData.getResponseBody()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

    import java.net.UnknownHostException;
    
    import org.apache.http.conn.DnsResolver;
    
    public class IdnDnsResolver implements DnsResolver {
    
        protected int flag = 0;
    
        protected String encoding = "UTF-8";
    
        @Override
        public InetAddress[] resolve(final String host) throws UnknownHostException {
            return InetAddress.getAllByName(toAscii(host));
        }
    
        protected String decode(final String host) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        for (call in networkRequests) {
          call.enqueue(
            object : Callback {
              override fun onFailure(
                call: Call,
                e: IOException,
              ) {
                synchronized(failures) {
                  failures.add(e)
                }
                latch.countDown()
              }
    
              override fun onResponse(
                call: Call,
                response: Response,
              ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            // TODO set up opensearch and dictionaryManager
            synonymFile = new SynonymFile("1", file1.getAbsolutePath(), new Date());
        }
    
        @Override
        public void tearDown() throws Exception {
            file1.delete();
        }
        */
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            synonymFile = new SynonymFile("1", "dummy", new Date());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
            return ImmutableMap.of(
                InvocationTargetException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
                return 1;
              }
            };
    
        builder.put(entry);
        holder.string = "two";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top