Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 2,544 for request (0.06 seconds)

  1. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

            clientList.add(client);
        }
    
        /**
         * Performs a chat completion request using the configured LLM client.
         *
         * @param request the chat request
         * @return the chat response
         * @throws LlmException if LLM is not available or an error occurs
         */
        public LlmChatResponse chat(final LlmChatRequest request) {
            final long startTime = System.currentTimeMillis();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 11:10:51 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

      private var client = clientTestRule.newClientBuilder().build()
    
      @StartStop
      private val server = MockWebServer()
    
      val request by lazy { Request(server.url("/")) }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                CreateContextRequest request = mock(CreateContextRequest.class);
                when(request.getName()).thenReturn(expectedName);
    
                byte[] actualName = request.getName();
                assertArrayEquals(expectedName, actualName);
                verify(request, times(1)).getName();
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            request.setParameterValues("facet.query", new String[] { "query1", "query2" });
            request.setParameter("facet.size", "100");
            request.setParameter("facet.minDocCount", "5");
            request.setParameter("facet.sort", "count");
            request.setParameter("facet.missing", "other");
    
            FacetInfo facetInfo = searchRequestParams.createFacetInfo(request);
            assertNotNull(facetInfo);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          val route = factory.newRoute(address)
          val pool = factory.newConnectionPool()
          val url = "https://example.com/".toHttpUrl()
          val request = Request(url = url)
          val response =
            Response
              .Builder()
              .request(request)
              .protocol(Protocol.HTTP_1_1)
              .code(200)
              .message("OK")
              .build()
          val handshake =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoRequest.java

     */
    package jcifs.internal.smb2.ioctl;
    
    /**
     * Request data for FSCTL_QUERY_NETWORK_INTERFACE_INFO
     *
     * This IOCTL has no input data - the request is empty
     */
    public class QueryNetworkInterfaceInfoRequest {
    
        /**
         * Create query network interface info request
         */
        public QueryNetworkInterfaceInfoRequest() {
            // No input data required for this IOCTL
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/llm/LlmClient.java

        /**
         * Performs a chat completion request.
         *
         * @param request the chat request containing messages and parameters
         * @return the chat response from the LLM
         * @throws LlmException if an error occurs during the request
         */
        LlmChatResponse chat(LlmChatRequest request);
    
        /**
         * Performs a streaming chat completion request.
         * The callback is invoked for each chunk of the response.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java

         * Builds the effective model of the specified POM.
         *
         * @param request The model building request that holds the parameters, must not be {@code null}.
         * @return The result of the model building, never {@code null}.
         * @throws ModelBuildingException If the effective model could not be built.
         */
        ModelBuildingResult build(ModelBuildingRequest request) throws ModelBuildingException;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/WebApiUtil.java

    import org.lastaflute.web.util.LaRequestUtil;
    
    /**
     * Utility class for web API operations.
     * Provides functionality for setting and retrieving objects from request attributes,
     * error handling, and validation in web API context.
     */
    public final class WebApiUtil {
    
        /**
         * Request attribute key for storing web API exceptions.
         */
        private static final String WEB_API_EXCEPTION = "webApiException";
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      override fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink =
        when {
          request.body?.isDuplex() == true -> {
            throw ProtocolException(
              "Duplex connections are not supported for HTTP/1",
            )
          }
    
          request.isChunked -> {
            newChunkedSink()
          }
    
          // Stream a request body of unknown length.
          contentLength != -1L -> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
Back to Top