Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 648 for hendes (0.03 sec)

  1. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

        }
    
        // Test wrapper functionality inheritance
        public void test_inheritedMethods_areProperlyDelegated() {
            final String customPath = "/api/v1/test";
            final String testHeader = "X-Test-Header";
            final String testHeaderValue = "TestValue";
    
            mockRequest.addHeader(testHeader, testHeaderValue);
            mockRequest.setMethod("POST");
            mockRequest.setRequestURI("/test/uri");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

    import okhttp3.internal.chooseCharset
    import okio.BufferedSink
    import okio.ByteString
    import okio.FileSystem
    import okio.Path
    import okio.source
    
    abstract class RequestBody {
      /** Returns the Content-Type header for this body. */
      abstract fun contentType(): MediaType?
    
      /**
       * Returns the number of bytes that will be written to sink in a call to [writeTo],
       * or -1 if that count is unknown.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    /**
     * The first two bytes of each value is a header that includes its tag (field ID) and length.
     */
    internal data class DerHeader(
      /**
       * Namespace of the tag.
       *
       * This value is encoded in bits 7 and 8 of the first byte of each value.
       *
       * ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/filter/CorsFilter.java

    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * Filter for handling Cross-Origin Resource Sharing (CORS) requests.
     * Processes CORS headers and handles preflight OPTIONS requests.
     */
    public class CorsFilter implements Filter {
    
        /**
         * Creates a new instance of CorsFilter.
         */
        public CorsFilter() {
            // Default constructor
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

          Request
            .Builder()
            .url(server.url("/"))
            .header("Connection", "close")
            .build()
        val requestB = Request(server.url("/"))
        assertConnectionNotReused(requestA, requestB)
      }
    
      @Test
      fun connectionsAreNotReusedWithResponseConnectionClose() {
        server.enqueue(
          MockResponse(
            headers = headersOf("Connection", "close"),
            body = "a",
          ),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import java.net.ProtocolException
    import okhttp3.EventListener
    import okhttp3.Headers
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okhttp3.internal.http.ExchangeCodec
    import okhttp3.internal.http.RealResponseBody
    import okio.Buffer
    import okio.ForwardingSink
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/reqheader/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing request header configurations in the admin interface.
     * This form extends CreateForm to include fields necessary for updating existing request header entries,
     * including tracking information for optimistic locking and audit trails.
     * Request headers are used to customize HTTP requests sent during web crawling operations.
     *
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

            .url(server.url("/"))
            .header("Accept", "text/plain")
            .build()
        val response = client.newCall(request).execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("hello, OkHttp")
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

            Request(
              url = "https://url-host.com:${server.port}/".toHttpUrl(),
              headers = headersOf("Host", "header-host"),
            ),
          )
        val response = call.execute()
        assertThat(response.isSuccessful).isTrue()
    
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.url.host).isEqualTo("header-host")
    
        // https://github.com/bcgit/bc-java/issues/1773
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

            headers = Headers.headersOf("content-type", "application/json"),
          ),
        )
        server.enqueue(
          MockResponse(
            body =
              """
              |data: hey
              |
              |
              """.trimMargin(),
            headers = Headers.headersOf("content-type", "text/event-stream"),
          ),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top