Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 2,367 for Exceptions (0.04 sec)

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

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class PerCallSettings {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build();
    
        // Copy to customize OkHttp for this request.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

        client = new OkHttpClient.Builder()
            .addInterceptor(
                new BasicAuthInterceptor("publicobject.com", "jesse", "password1"))
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/secrets/hellosecret.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Nov 05 07:46:46 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                context.cwd = getCwd(context);
            } catch (Exception e) {
                context.parsingFailed = true;
                context.cwd = getCanonicalPath(Paths.get("."));
                parserRequest.logger().error("Error determining working directory", e);
            }
            try {
                context.installationDirectory = getInstallationDirectory(context);
            } catch (Exception e) {
                context.parsingFailed = true;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

    import java.io.FileOutputStream;
    import java.io.InputStream;
    
    import org.codelibs.core.io.CopyUtil;
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    
    /**
     * Utility class for handling response data.
     */
    public final class ResponseDataUtil {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

      private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        RequestBody requestBody = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jun 24 12:59:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java

     */
    @Deprecated
    public abstract class AbstractProfileActivatorTest<T extends ProfileActivator> {
    
        protected T activator;
    
        @BeforeEach
        abstract void setUp() throws Exception;
    
        @AfterEach
        void tearDown() throws Exception {
            activator = null;
        }
    
        protected ProfileActivationContext newContext(final Properties userProperties, final Properties systemProperties) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

        public JodExtractor jodExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            jodExtractor = new JodExtractor();
            jodExtractor.officeManager = LocalOfficeManager.builder().portNumbers(12002).build();
            jodExtractor.init();
        }
    
        @Override
        protected void tearDown() throws Exception {
            jodExtractor.destroy();
            super.tearDown();
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

         * @param errorName the name/type of the error that occurred
         * @param url the URL that failed to be crawled
         * @param e the exception that caused the failure
         * @return the stored or updated FailureUrl entity, or null if the exception should be ignored
         */
        public FailureUrl store(final CrawlingConfig crawlingConfig, final String errorName, final String url, final Throwable e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.client.FesenClient;
    import org.codelibs.fess.exception.ContainerNotAvailableException;
    import org.codelibs.fess.helper.SuggestHelper;
    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    import org.codelibs.fess.timer.SystemMonitorTarget;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

    import org.codelibs.fess.crawler.entity.RequestData;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.helper.EncodingHelper;
    import org.codelibs.fess.crawler.helper.UrlConvertHelper;
    import org.codelibs.fess.crawler.util.CharUtil;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top