Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 1,050 for buildTar (0.08 seconds)

  1. maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public class SampleHttpClient {
      private final OkHttpClient client;
    
      public SampleHttpClient() {
        client = new OkHttpClient.Builder().build();
      }
    
      public void makeCall(HttpUrl url) throws IOException {
        try (Response response = client.newCall(new Request(url, Headers.EMPTY, "GET", null)).execute()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 12 12:05:57 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. okhttp-logging-interceptor/README.md

    An [OkHttp interceptor][interceptors] which logs HTTP request and response data.
    
    ```java
    HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
    logging.setLevel(Level.BASIC);
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(logging)
      .build();
    ```
    
    You can change the log level at any time by calling `setLevel()`.
    
    To log to a custom location, pass a `Logger` instance to the constructor.
    ```java
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. api/maven-api-metadata/src/site/apt/index.apt

     This is the immutable model for Repository Metadata in <<<org.apache.maven.api.metadata>>> package.
    
     The following are generated from this model:
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 11 14:06:34 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/Bytes.java

          }
          return result;
        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder(size() * 5);
          builder.append('[').append(array[start]);
          for (int i = start + 1; i < end; i++) {
            builder.append(", ").append(array[i]);
          }
          return builder.append(']').toString();
        }
    
        byte[] toByteArray() {
          return Arrays.copyOfRange(array, start, end);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        ImmutableSet.Builder<String> builder = ImmutableSet.builder();
        for (ClassPath.LocationInfo location : ClassPath.locationsFrom(loader)) {
          for (ResourceInfo resource : location.scanResources()) {
            builder.add(resource.getResourceName());
          }
        }
        return builder.build();
      }
    
      private static boolean isWindows() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  6. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

        sendRequest(client, "https://google.com/robots.txt");
      }
    
      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
                .build();
        try (Response response = client.newCall(request).execute()) {
          assertTrue(response.code() == 200 || response.code() == 404);
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 26 06:37:08 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java

                context.terminal.writer().println(secDispatcher.decrypt(encrypted));
                return OK;
            } else {
                context.terminal.writer().println(messageBuilderFactory.builder().error("Malformed encrypted string"));
                return BAD_OPERATION;
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ReactorBuildStatus.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashSet;
    
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.lifecycle.internal.builder.BuilderCommon;
    import org.apache.maven.project.MavenProject;
    
    /**
     * Contains status information that is global to an entire reactor build.
     *
     * @since 3.0
     */
    public class ReactorBuildStatus {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            }
    
            return request;
        }
    
        // layer the creation of a project builder configuration with a request, but this will need to be
        // a Maven subclass because we don't want to couple maven to the project builder which we need to
        // separate.
        protected MavenSession createMavenSession(File pom) throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

    import java.io.IOException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class AccessHeaders {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top