Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 250 for Listener (0.09 sec)

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

      @RegisterExtension
      @JvmField
      var clientTestRule = OkHttpClientTestRule()
    
      private val listener = RecordingEventListener()
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      private var client =
        clientTestRule.newClientBuilder()
          .eventListenerFactory(clientTestRule.wrap(listener))
          .build()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
    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. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            ExecutionListener listener = new ExecutionEventLogger(context.invokerRequest.messageBuilderFactory());
            if (context.eventSpyDispatcher != null) {
                listener = context.eventSpyDispatcher.chainListener(listener);
            }
            listener = new LoggingExecutionListener(listener, determineBuildEventListener(context));
            return listener;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

    /**
     * An OkHttp EventListener, which logs call events. Can be applied as an
     * [event listener factory][OkHttpClient.eventListenerFactory].
     *
     * The format of the logs created by this class should not be considered stable and may change
     * slightly between releases. If you need a stable logging format, use your own event listener.
     */
    class LoggingEventListener private constructor(
      private val logger: HttpLoggingInterceptor.Logger,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Gets the model building listener to notify during the build process.
         *
         * @return The model building listener to notify or {@code null} if none.
         */
        ModelBuildingListener getModelBuildingListener();
    
        /**
         * Sets the model building listener to notify during the build process.
         *
         * @param modelBuildingListener The model building listener to notify, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Event sent by maven during various phases of the build process.
     * Such events can be listened to using {@link Listener}s objects
     * registered in the {@link Session}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Event {
    
        /**
         * Gets the type of the event.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/cni-watcher.go

    	if s.sockAddress == "" {
    		return fmt.Errorf("no socket address provided")
    	}
    	log.Infof("starting listener for CNI plugin events at %v", s.sockAddress)
    	unixListener, err := pluginlistener.NewListener(s.sockAddress)
    	if err != nil {
    		return fmt.Errorf("failed to create CNI listener: %v", err)
    	}
    	go func() {
    		err := s.cniListenServer.Serve(unixListener)
    
    		select {
    		case <-s.ctx.Done():
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. .github/hub_scripts/pr_ci.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    #
    
    #
    # Simple shell script for launching CI jobs using the @bot-gradle GitHub comment listener.
    # Uses the [hub](https://hub.github.com/) CLI command to issue API requests to GitHub.
    # This script must be executed from the branch associated with the PR to issue the command on.
    #
    
    PR_NUMBER=$(hub pr show -f '%I')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jan 22 15:25:21 UTC 2021
    - 1K bytes
    - Viewed (0)
  8. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

    import okio.source
    
    /** A basic HTTP/2 server that serves the contents of a local directory.  */
    class Http2Server(
      private val baseDirectory: File,
      private val sslSocketFactory: SSLSocketFactory,
    ) : Http2Connection.Listener() {
      private fun run() {
        val serverSocket = ServerSocket(8888)
        serverSocket.reuseAddress = true
        while (true) {
          var socket: Socket? = null
          try {
            socket = serverSocket.accept()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

        apply {
          this.settings = settings
        }
    
      fun withWebSocketUpgrade(listener: WebSocketListener) =
        apply {
          status = "HTTP/1.1 101 Switching Protocols"
          setHeader("Connection", "Upgrade")
          setHeader("Upgrade", "websocket")
          body = null
          webSocketListener = listener
        }
    
      override fun toString(): String = status
    
      companion object {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/endpoint.go

    // limitations under the License.
    
    package configdump
    
    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    )
    
    // GetEndpointsConfigDump retrieves the listener config dump from the ConfigDump
    func (w *Wrapper) GetEndpointsConfigDump() (*admin.EndpointsConfigDump, error) {
    	endpointsDumpAny, err := w.getSection(endpoints)
    	if err != nil {
    		return nil, nil
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 24 14:14:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top