Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 775 for SYSTEM (0.04 seconds)

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

        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        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 {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 31 15:32:50 GMT 2018
    - 1.8K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostString.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostString().run();
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 1.7K bytes
    - Click Count (0)
  3. settings.gradle.kts

    include(":samples:tlssurvey")
    include(":samples:unixdomainsockets")
    include(":container-tests")
    include(":module-tests")
    
    project(":okhttp-logging-interceptor").name = "logging-interceptor"
    
    val androidHome = System.getenv("ANDROID_HOME")
    val localProperties = Properties().apply {
      val file = rootProject.projectDir.resolve("local.properties")
      if (file.exists()) {
        load(file.inputStream())
      }
    }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Oct 11 09:17:37 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

    @Singleton
    @Deprecated
    public class SettingsXmlConfigurationProcessor implements ConfigurationProcessor {
        public static final String HINT = "settings";
    
        public static final String USER_HOME = System.getProperty("user.home");
    
        public static final File USER_MAVEN_CONFIGURATION_HOME = new File(USER_HOME, ".m2");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 19 18:49:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/DownloadedArtifact.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface DownloadedArtifact extends Artifact {
    
        /**
         * {@return the a path to the file that has been downloaded to the file system}.
         */
        Path getPath();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/Log4j2Configuration.java

            String value =
                    switch (level) {
                        case DEBUG -> "debug";
                        case INFO -> "info";
                        default -> "error";
                    };
            System.setProperty("maven.logging.root.level", value);
        }
    
        @Override
        public void activate() {
            // no op
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 17 09:56:12 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetector.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.cisupport;
    
    import java.util.Optional;
    
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Service interface to detect CI system process runs on, if any.
     *
     * @since 4.0.0
     */
    public interface CIDetector {
        /**
         * Returns non-empty optional with CI information, if CI is detected, empty otherwise.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

          assertEquals(Protocol.HTTP_2, response.protocol());
    
          for (Certificate c: response.handshake().peerCertificates()) {
            X509Certificate x = (X509Certificate) c;
            System.out.println(x.getSubjectDN());
          }
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 26 06:37:08 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/AbstractArtifactMetadata.java

    /**
     * Common elements of artifact metadata.
     *
     */
    @Deprecated
    public abstract class AbstractArtifactMetadata implements ArtifactMetadata {
        private static final String LS = System.lineSeparator();
    
        protected Artifact artifact;
    
        protected AbstractArtifactMetadata(Artifact artifact) {
            this.artifact = artifact;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java

            IssueManagement im = new IssueManagement();
            im.setSystem("Velociraptor");
            im.setUrl("https://velo.localdomain");
    
            String s = im.toString();
    
            assert "IssueManagement {system=Velociraptor, url=https://velo.localdomain}".equals(s) : s;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top