Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 286 for contention (0.34 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

    import okhttp3.internal.concurrent.Task
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.concurrent.assertLockHeld
    import okhttp3.internal.connection.BufferedSocket
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.asBufferedSocket
    import okhttp3.internal.okHttpName
    import okhttp3.internal.ws.WebSocketProtocol.CLOSE_CLIENT_GOING_AWAY
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  2. docs/features/calls.md

    OkHttp may add headers that are absent from the original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present. If you’ve got cookies, OkHttp will add a `Cookie` header with them.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.internal.concurrent.withLock
    import okhttp3.internal.connection.CallConnectionUser
    import okhttp3.internal.connection.ConnectionListener
    import okhttp3.internal.connection.FastFallbackExchangeFinder
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealConnection
    import okhttp3.internal.connection.RealConnectionPool
    import okhttp3.internal.connection.RealRoutePlanner
    import okhttp3.internal.connection.RouteDatabase
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

          long t1 = System.nanoTime();
          Request request = chain.request();
          logger.info(String.format("Sending request %s on %s%n%s",
              request.url(), chain.connection(), request.headers()));
          Response response = chain.proceed(request);
    
          long t2 = System.nanoTime();
          logger.info(String.format("Received response for %s in %.1fms%n%s",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package okhttp3.internal.connection
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.net.Inet4Address
    import java.net.Inet6Address
    import org.junit.jupiter.api.Test
    
    @Suppress("ktlint:standard:property-naming")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        call: Call,
        connection: Connection,
      ) {
        logWithTime("connectionAcquired: $connection")
    
        delegate.connectionAcquired(call, connection)
      }
    
      override fun connectionReleased(
        call: Call,
        connection: Connection,
      ) {
        logWithTime("connectionReleased")
    
        delegate.connectionReleased(call, connection)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import java.util.concurrent.CopyOnWriteArrayList
    import java.util.concurrent.LinkedBlockingDeque
    import java.util.concurrent.TimeUnit
    import okhttp3.internal.concurrent.Task
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.RoutePlanner.ConnectResult
    import okhttp3.internal.connection.RoutePlanner.Plan
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. NOTICE

    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Wed Jan 15 23:53:08 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

        }
    
        public void test_constructor_withMessageAndCause() {
            // Test with both message and cause
            String message = "Data store connection failed";
            Exception cause = new RuntimeException("Connection timeout");
            DataStoreException exception = new DataStoreException(message, cause);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            // Test constructor with status code, message, and cause
            int statusCode = 500;
            String message = "Internal server error";
            Exception cause = new RuntimeException("Database connection failed");
    
            WebApiException exception = new WebApiException(statusCode, message, cause);
    
            assertEquals(statusCode, exception.getStatusCode());
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top