Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,636 for REQUEST (1.12 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

        }
      }
    
      /** Prepares the [request] to be executed at some point in the future. */
      override fun newCall(request: Request): Call = RealCall(this, request, forWebSocket = false)
    
      /** Uses [request] to connect a new web socket. */
      override fun newWebSocket(
        request: Request,
        listener: WebSocketListener,
      ): WebSocket {
        val webSocket =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  2. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

    import android.os.Bundle
    import androidx.activity.ComponentActivity
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.platform.AndroidPlatform
    import okio.IOException
    
    open class MainActivity : ComponentActivity() {
      override fun onCreate(savedInstanceState: Bundle?) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

            scheduledJobService.getScheduledJob(id).ifPresent(entity -> {
                try {
                    entity.stop();
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> {
                        messages.addErrorsFailedToStopJob(GLOBAL, entity.getName());
                    });
                }
            }).orElse(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. cmd/metrics-v3-handler.go

    					Help:   d.Help,
    					Type:   d.Type.String(),
    					Labels: labels,
    				}
    				metrics = append(metrics, metric)
    			}
    		}
    	}
    
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		contentType := r.Header.Get("Content-Type")
    		if contentType == "application/json" {
    			w.Header().Set("Content-Type", "application/json")
    			jsonEncoder := json.NewEncoder(w)
    			jsonEncoder.Encode(metrics)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

      }
    
      fun assertJobs(vararg expectedUrls: String) {
        val actualUrls = calls.map { it.request.url.toString() }
        assertThat(actualUrls).containsExactly(*expectedUrls)
      }
    
      fun finishJob(url: String) {
        val i = calls.iterator()
        while (i.hasNext()) {
          val call = i.next()
          if (call.request.url.toString() == url) {
            i.remove()
            dispatcherTest.dispatcher.finishedAccessor(call)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailForm.java

    /**
     * Form class for thumbnail request parameters.
     * Contains the document ID and query parameters needed to retrieve thumbnail images.
     */
    public class ThumbnailForm {
    
        /**
         * The document ID for which to retrieve the thumbnail.
         */
        @Required
        @Size(max = 100)
        public String docId;
    
        /**
         * The query ID associated with the search request.
         */
        @Required
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

        OkHttpClient client = new OkHttpClient();
    
        // Create request for remote resource.
        Request request = new Request.Builder()
            .url(ENDPOINT)
            .build();
    
        // Execute the request and retrieve the response.
        try (Response response = client.newCall(request).execute()) {
          // Deserialize HTTP response to concrete type.
          ResponseBody body = response.body();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

                try {
                    fileConfigService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
                return entity;
            }).orElseGet(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

                        logger.debug("Logging in user: {}", loginCredential);
                    }
                    activityHelper.login(getUserBean());
                    userInfoHelper.deleteUserCodeFromCookie(request);
                    return redirectToSearchPage().orElseGet(() -> {
                        if (logger.isDebugEnabled()) {
                            logger.debug("No search parameters found, redirecting to root.");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A request for deploying one or more artifacts to a remote repository.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactDeployerRequest extends Request<Session> {
    
        @Nonnull
        RemoteRepository getRepository();
    
        @Nonnull
        Collection<ProducedArtifact> getArtifacts();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top