Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,758 for Request (0.1 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
        void send( ServerMessageBlock request, ServerMessageBlock response ) throws SmbException {
    
            connect(); /* must negotiate before we can test flags2, useUnicode, etc */
    
            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null)
                request.digest = digest; /* for sign called in encode */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmSsp.java

         * for the specified servlet request.
         * 
         * @param tc
         *
         * @param req
         *            The request being serviced.
         * @param resp
         *            The response.
         * @param challenge
         *            The domain controller challenge.
         * @return credentials passed in the servlet request
         * @throws IOException
         *             If an IO error occurs.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.Request;
    
    
    /**
     * @author mbechler
     * @param <T>
     *            request type
     *
     */
    public abstract class ServerMessageBlock2Request <T extends ServerMessageBlock2Response> extends ServerMessageBlock2
            implements CommonServerMessageBlockRequest, Request<T> {
    
        private T response;
        private Integer overrideTimeout;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

      @Test
      fun simpleDispatch() {
        val requestsMade = mutableListOf<RecordedRequest>()
        val dispatcher: Dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse {
              requestsMade.add(request)
              return MockResponse()
            }
          }
        assertThat(requestsMade.size).isEqualTo(0)
        mockWebServer.dispatcher = dispatcher
        val url = mockWebServer.url("/").toUrl()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/middleware.md

    만약 (나중에 문서에서 다룰) 백그라운드 작업이 있다면, 모든 미들웨어가 실행되고 *난 후에* 실행됩니다.
    
    ///
    
    ## 미들웨어 만들기
    
    미들웨어를 작성하기 위해서 함수 상단에 `@app.middleware("http")` 데코레이터를 사용할 수 있습니다.
    
    미들웨어 함수는 다음 항목들을 받습니다:
    
    * `request`.
    * `request`를 매개변수로 받는 `call_next` 함수.
        * 이 함수는 `request`를 해당하는 *경로 작업*으로 전달합니다.
        * 그런 다음, *경로 작업*에 의해 생성된 `response` 를 반환합니다.
    * `response`를 반환하기 전에 추가로 `response`를 수정할 수 있습니다.
    
    ```Python hl_lines="8-9  11  14"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top