Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,614 for REQUEST (0.28 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            // Send FSCTL_QUERY_NETWORK_INTERFACE_INFO per MS-SMB2 3.2.4.23
            Smb2IoctlRequest request =
                    new Smb2IoctlRequest(context.getConfig(), Smb2IoctlRequest.FSCTL_QUERY_NETWORK_INTERFACE_INFO, new byte[16] // Reserved/Unused file ID
                    );
            request.setMaxOutputResponse(65536);
            request.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

            .build()
    
        // An example test URL that returns client certificate details.
        val request =
          Request
            .Builder()
            .url("https://prod.idrix.eu/secure/")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java

     */
    @Experimental
    public interface ArtifactInstaller extends Service {
        /**
         * @param request {@link ArtifactInstallerRequest}
         * @throws ArtifactInstallerException in case of an error
         * @throws IllegalArgumentException in case {@code request} is {@code null}
         */
        void install(@Nonnull ArtifactInstallerRequest request);
    
        /**
         * @param session the repository session
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. cmd/jwt_test.go

    	}
    	testCases := []struct {
    		req         *http.Request
    		expectedErr error
    	}{
    		// Set valid authorization header.
    		{
    			req: &http.Request{
    				Header: http.Header{
    					"Authorization": []string{token},
    				},
    			},
    			expectedErr: nil,
    		},
    		// No authorization header.
    		{
    			req: &http.Request{
    				Header: http.Header{},
    			},
    			expectedErr: errNoAuthToken,
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdTestMain.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.zstd
    
    import okhttp3.CompressionInterceptor
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    fun main() {
      val client =
        OkHttpClient
          .Builder()
          .addInterceptor(CompressionInterceptor(Zstd))
          .build()
    
      sendRequest("https://developers.facebook.com/docs/", client)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 20:01:04 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/SmbNegotiationRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    /**
     * Interface for SMB protocol negotiation request messages.
     * Represents the client's request to negotiate SMB protocol version and capabilities
     * with the server, including security requirements like message signing.
     *
     * @author mbechler
     */
    public interface SmbNegotiationRequest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

          mockServerClient
            .`when`(
              request()
                .withPath("/person")
                .withQueryStringParameter("name", "peter"),
            ).respond(response().withBody("Peter the person!"))
    
          val results =
            (1..20).map {
              executor.submit {
                val response =
                  client.newCall(Request((mockServer.secureEndpoint + "/person?name=peter").toHttpUrl())).execute()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (1)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

        assertThat(response.code).isEqualTo(0)
      }
    
      @Test fun defaultResponseBodyIsEmpty() {
        val response =
          Response
            .Builder()
            .request(
              Request
                .Builder()
                .url("https://example.com/")
                .build(),
            ).protocol(Protocol.HTTP_1_1)
            .code(200)
            .message("OK")
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        @Test
        @DisplayName("Test prepare method with valid request")
        void testPrepareWithValidRequest() {
            // Given
            doNothing().when(response).prepare(request);
    
            // When
            response.prepare(request);
    
            // Then
            verify(response).prepare(request);
        }
    
        @Test
        @DisplayName("Test prepare method with null request")
        void testPrepareWithNullRequest() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. .github/labels.json

          "name": "type:missing reproduction steps",
          "colour": "#CF2E1F",
          "description": "missing reproduction steps"
        },
        "has_pr": {
          "name": "type:has pull request",
          "colour": "#43952A",
          "description": "has pull request"
        },
        "not_tested": {
          "name": "type:not tested",
          "colour": "#CF2E1F",
          "description": "not tested"
        },
        "tested": {
          "name": "type:tested",
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 19 03:49:03 UTC 2020
    - 3.8K bytes
    - Viewed (0)
Back to top