- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for processResponse (0.15 sec)
-
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
@Volatile private var canceled = false override fun onResponse( call: Call, response: Response, ) { processResponse(response) } internal fun processResponse(response: Response) { response.use { if (!response.isSuccessful) { listener.onFailure(this, null, response) return } val body = response.body
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
private ServletRequest processRequest; private ServletResponse processResponse; @Override public void setUp() throws Exception { super.setUp(); responseHeaders = new HashMap<>(); processCalled = false; processOrigin = null; processRequest = null; processResponse = null; // Create a test implementation of CorsHandlerRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt
expression = "response.processEventSource(listener)", imports = ["okhttp3.sse.EventSource.Companion.processEventSource"], ), level = DeprecationLevel.WARNING, ) @JvmStatic fun processResponse( response: Response, listener: EventSourceListener, ): Unit = response.processEventSource(listener)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 1.8K bytes - Viewed (0) -
okhttp-sse/api/okhttp-sse.api
public static final fun createFactory (Lokhttp3/Call$Factory;)Lokhttp3/sse/EventSource$Factory; public static final synthetic fun createFactory (Lokhttp3/OkHttpClient;)Lokhttp3/sse/EventSource$Factory; public static final fun processResponse (Lokhttp3/Response;Lokhttp3/sse/EventSourceListener;)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 1.9K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
private val listener = EventSourceRecorder() private val client = clientTestRule.newClient() @AfterEach fun after() { listener.assertExhausted() } @Test fun processResponse() { server.enqueue( MockResponse .Builder() .body( """ |data: hey | | """.trimMargin(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 13:49:38 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt
/** * Processes the existing response with [listener]. */ @JvmStatic @JvmName("process") fun Response.processEventSource(listener: EventSourceListener) = RealEventSource(this, listener).processResponse(this) }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 2.5K bytes - Viewed (0)