Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,940 for buildA (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

    1. this.builder = builder;
    2. }
    3.  
    4. @SuppressWarnings("deprecation")
    5. public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {
    6. if (project.getFile() == null) {
    7. // If there is no build POM there is no reason to inject artifacts for the consumer POM.
    8. return;
    9. }
    10. if (Features.consumerPom(session.getUserProperties())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

    1. private final OkHttpClient client = new OkHttpClient.Builder()
    2. .addInterceptor(new LoggingInterceptor())
    3. .build();
    4.  
    5. public void run() throws Exception {
    6. Request request = new Request.Builder()
    7. .url("https://publicobject.com/helloworld.txt")
    8. .build();
    9.  
    10. Response response = client.newCall(request).execute();
    11. response.body().close();
    12. }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/project.paramdoc.xml

    1. <expression>
    2. <syntax>project.pluginArtifacts</syntax>
    3. <configuration>
    4. <![CDATA[
    5. <build>
    6. <plugins>
    7. ...
    8. </plugins>
    9. </build>
    10. ]]></configuration>
    11. <description>
    12. <![CDATA[
    13. This is the list of Artifact instances for plugins used in the current build
    14. for this project.
    15.  
    16. NOTE: This list may contain plugin Artifacts which are implied by the current POM's
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

    1. factory("com.google.android.gms.org.conscrypt")
    2.  
    3. /**
    4. * Builds a SocketAdapter from an observed implementation class, by grabbing the Class
    5. * reference to perform reflection on at runtime.
    6. *
    7. * @param actualSSLSocketClass the runtime class of Conscrypt class socket.
    8. */
    9. private fun build(actualSSLSocketClass: Class<in SSLSocket>): AndroidSocketAdapter {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

    1. testRequest {
    2. it.withProxyConfiguration(ProxyConfiguration.proxyConfiguration(ProxyConfiguration.Type.HTTP, it.remoteAddress()))
    3.  
    4. val client =
    5. OkHttpClient.Builder()
    6. .proxy(Proxy(Proxy.Type.HTTP, it.remoteAddress()))
    7. .build()
    8.  
    9. val response =
    10. client.newCall(
    11. Request((mockServer.endpoint + "/person?name=peter").toHttpUrl()),
    12. ).execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

    1. private val client: OkHttpClient =
    2. OkHttpClient.Builder()
    3. .cache(
    4. Cache(
    5. directory = cacheDirectory,
    6. // 1 MiB.
    7. maxSize = 10L * 1024L * 1024L,
    8. ),
    9. )
    10. .build()
    11.  
    12. fun run() {
    13. val request =
    14. Request.Builder()
    15. .url("http://publicobject.com/helloworld.txt")
    16. .build()
    17.  
    18. val response1Body =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

    1. server.start();
    2.  
    3. OkHttpClient client = new OkHttpClient.Builder()
    4. .socketFactory(new UnixDomainSocketFactory(socketFile))
    5. .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
    6. .build();
    7.  
    8. Request request = new Request.Builder()
    9. .url("http://publicobject.com/helloworld.txt")
    10. .build();
    11.  
    12. try (Response response = client.newCall(request).execute()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  8. docs/features/interceptors.md

    1. Register an _application_ interceptor by calling `addInterceptor()` on `OkHttpClient.Builder`:
    2.  
    3. ```java
    4. OkHttpClient client = new OkHttpClient.Builder()
    5. .addInterceptor(new LoggingInterceptor())
    6. .build();
    7.  
    8. Request request = new Request.Builder()
    9. .url("http://www.publicobject.com/helloworld.txt")
    10. .header("User-Agent", "OkHttp Example")
    11. .build();
    12.  
    13. Response response = client.newCall(request).execute();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  9. .teamcity/README.md

    1. (we highly recommend to name this branch without prefix and hyphen (`-`) because it's used to generate build type ID) and want to
    2. test these changes without affecting `master`/`release` pipeline. Here are the instructions.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Mar 06 23:02:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/Progress.java

    1. }
    2. };
    3.  
    4. OkHttpClient client = new OkHttpClient.Builder()
    5. .addNetworkInterceptor(chain -> {
    6. Response originalResponse = chain.proceed(chain.request());
    7. return originalResponse.newBuilder()
    8. .body(new ProgressResponseBody(originalResponse.body(), progressListener))
    9. .build();
    10. })
    11. .build();
    12.  
    13. try (Response response = client.newCall(request).execute()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.9K bytes
    - Viewed (0)
Back to top