Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for onRequest (0.09 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            @Override
            public void onRequestStart(final FaultTolerantClient client, final RequestData request) {
                startCount++;
            }
    
            @Override
            public void onRequest(final FaultTolerantClient client, final RequestData request, final int count) {
                requestCount++;
                requestUrl = request.getUrl();
                requestMethod = request.getMethod().toString();
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

            writeSynResetLater(streamId, ErrorCode.PROTOCOL_ERROR)
            return
          }
          currentPushRequests.add(streamId)
        }
        pushQueue.execute("$connectionName[$streamId] onRequest") {
          val cancel = pushObserver.onRequest(streamId, requestHeaders)
          ignoreIoExceptions {
            if (cancel) {
              writer.rstStream(streamId, ErrorCode.CANCEL)
              this.withLock {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        val request = Request(server1.url("/"))
    
        server1.enqueue(MockResponse(200))
        server2.enqueue(MockResponse(200))
        server2.enqueue(MockResponse(200))
    
        println("\n\nRequest to ${server1.inetSocketAddress}")
        executeSynchronously(request)
          .assertSuccessful()
          .assertCode(200)
    
        println("server1.requestCount ${server1.requestCount}")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. internal/grid/muxclient.go

    func (m *muxClient) roundtrip(h HandlerID, req []byte) ([]byte, error) {
    	if m.init {
    		return nil, errors.New("mux client already used")
    	}
    	m.init = true
    	m.singleResp = true
    	msg := message{
    		Op:         OpRequest,
    		MuxID:      m.MuxID,
    		Handler:    h,
    		Flags:      m.BaseFlags | FlagEOF,
    		Payload:    req,
    		DeadlineMS: uint32(m.deadline.Milliseconds()),
    	}
    	if m.subroute != nil {
    		msg.Flags |= FlagSubroute
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    		c.handleDisconnectServerMux(m)
    	case OpDisconnectClientMux:
    		c.handleDisconnectClientMux(m)
    	case OpPing:
    		c.handlePing(ctx, m)
    	case OpPong:
    		c.handlePong(ctx, m)
    	case OpRequest:
    		c.handleRequest(ctx, m, subID)
    	case OpAckMux:
    		c.handleAckMux(ctx, m)
    	case OpConnectMux:
    		c.handleConnectMux(ctx, m, subID)
    	case OpMuxConnectError:
    		c.handleConnectMuxError(ctx, m)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top