Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,594 for REQUEST (0.03 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java

    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.RepositoryRequest;
    
    /**
     * Forms a request to retrieve artifact metadata.
     *
     */
    @Deprecated
    public interface MetadataResolutionRequest extends RepositoryRequest {
    
        /**
         * Indicates whether network access to remote repositories has been disabled.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/middleware.md

    ///
    
    ## Создание middleware
    
    Для создания middleware используйте декоратор `@app.middleware("http")`.
    
    Функция middleware получает:
    
    * `request` (объект запроса).
    * Функцию `call_next`, которая получает `request` в качестве параметра.
        * Эта функция передаёт `request` соответствующей *операции пути*.
        * Затем она возвращает ответ `response`, сгенерированный *операцией пути*.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 17:09:29 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/guide/PostExample.java

      String post(String url, String json) throws IOException {
        RequestBody body = RequestBody.create(json, JSON);
        Request request = new Request.Builder()
            .url(url)
            .post(body)
            .build();
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
      String bowlingJson(String player1, String player2) {
        return "{'winCondition':'HIGH_SCORE',"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        logWithTime("connectionReleased")
      }
    
      override fun requestHeadersStart(call: Call) {
        logWithTime("requestHeadersStart")
      }
    
      override fun requestHeadersEnd(
        call: Call,
        request: Request,
      ) {
        logWithTime("requestHeadersEnd")
      }
    
      override fun requestBodyStart(call: Call) {
        logWithTime("requestBodyStart")
      }
    
      override fun requestBodyEnd(
        call: Call,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        if (networkRequest == null && cacheResponse == null) {
          return Response
            .Builder()
            .request(chain.request())
            .protocol(Protocol.HTTP_1_1)
            .code(HTTP_GATEWAY_TIMEOUT)
            .message("Unsatisfiable Request (only-if-cached)")
            .sentRequestAtMillis(-1L)
            .receivedResponseAtMillis(System.currentTimeMillis())
            .build()
            .also {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

            ).hostnameVerifier(nullHostnameVerifier)
            .build()
        val request = Request(server.url("/"))
        val response1: Response = client.newCall(request).execute()
        val bodySource = response1.body.source()
        assertThat(bodySource.readUtf8()).isEqualTo("ABC.1")
    
        corruptor()
    
        return client.newCall(request).execute()
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

        /**
         * The id of a {@link org.apache.maven.api.PathScope} enum value.
         * If specified, a dependency resolution request will be issued,
         * else a dependency collection request will be done.
         *
         * @return the id of the path scope
         */
        String pathScope() default "";
    
        /**
         * The request type, in case the default one is not correct.
         * Valid values are {@code collect}, {@code flatten}, or {@code resolve}.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt

    import okhttp3.FormBody
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class PostForm {
      private val client = OkHttpClient()
    
      fun run() {
        val formBody =
          FormBody
            .Builder()
            .add("search", "Jurassic Park")
            .build()
        val request =
          Request(
            url = "https://en.wikipedia.org/w/index.php".toHttpUrl(),
            body = formBody,
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt

    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class SynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Find Close2 request message.
     *
     * This command is used to close a search handle that was
     * opened by a Trans2 Find First2 request.
     */
    public class SmbComFindClose2 extends ServerMessageBlock {
    
        private final int sid;
    
        /**
         * Creates a new SMB1 find close request to close a search handle.
         *
         * @param config the CIFS configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top