Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,518 for REQUEST (0.04 sec)

  1. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        val call1 = localClient.newCall(Request(server.url("/")))
    
        call1.execute().use { response ->
          assertThat(response.body.string()).isEqualTo("Req1")
          assertThat(response.handshake).isNotNull()
          assertThat(response.protocol == Protocol.HTTP_1_1)
        }
    
        eventListener.closed = true
    
        val call2 = localClient.newCall(Request(server.url("/")))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/JSSETest.kt

        // TODO test jdk.tls.client.enableSessionTicketExtension
        // TODO check debugging information
    
        enableTls()
    
        server.enqueue(MockResponse(body = "abc"))
    
        val request = Request(server.url("/"))
    
        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
          if (PlatformVersion.majorVersion > 11) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

      private fun newEventSource(accept: String? = null): EventSource {
        val builder =
          Request.Builder()
            .url(server.url("/"))
        if (accept != null) {
          builder.header("Accept", accept)
        }
        val request = builder.build()
        val factory = createFactory(client)
        return factory.newEventSource(request, listener)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt

    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostFile {
      private val client = OkHttpClient()
    
      fun run() {
        val file = File("README.md")
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
            body = file.asRequestBody(MEDIA_TYPE_MARKDOWN),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/web.xml

        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
    
      <filter-mapping>
        <filter-name>webApiFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
    
      <filter-mapping>
        <filter-name>lastaShowbaseFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 29 02:54:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

        }
    
        @Override
        public ResponseData execute(final RequestData request) {
            return switch (request.getMethod()) {
            case GET -> doGet(request.getUrl());
            case HEAD -> doHead(request.getUrl());
            case POST -> doPost(request.getUrl());
            default -> throw new CrawlerSystemException(request.getMethod() + " method is not supported.");
            };
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).enqueue(
          object : Callback {
            override fun onFailure(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeInternal.java

    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.Request;
    
    
    /**
     * @author mbechler
     * @internal
     */
    public interface SmbTreeInternal extends SmbTree {
    
        /**
         * @param tf
         * @throws SmbException
         */
        @Deprecated
        void connectLogon ( CIFSContext tf ) throws SmbException;
    
    
        /**
         * @param request
         * @param params
         * @return response message
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:08:49 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  10. cmd/sts-datatypes.go

    }
    
    // LDAPIdentityResult - contains credentials for a successful
    // AssumeRoleWithLDAPIdentity request.
    type LDAPIdentityResult struct {
    	Credentials auth.Credentials `xml:",omitempty"`
    }
    
    // AssumeRoleWithCertificateResponse contains the result of
    // a successful AssumeRoleWithCertificate request.
    type AssumeRoleWithCertificateResponse struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
Back to top