Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,619 for message1 (0.11 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        return event.eventSource
      }
    
      fun assertClose() {
        nextEvent() as Closed
      }
    
      fun assertFailure(message: String?) {
        val event = nextEvent() as Failure
        if (message != null) {
          assertThat(event.t!!.message).isEqualTo(message)
        } else {
          assertThat(event.t).isNull()
        }
      }
    
      internal data class Open(
        val eventSource: EventSource,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

          assertThat(expected.message).isEqualTo("Null interceptor: [null]")
        }
      }
    
      @Test fun nullNetworkInterceptorInList() {
        val builder = OkHttpClient.Builder()
        builder.networkInterceptors().addAll(listOf(null) as List<Interceptor>)
        assertFailsWith<IllegalStateException> {
          builder.build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Null network interceptor: [null]")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                logger.warn("Failed to upload {}", form.uploadFile.getFileName(), e);
                throwValidationError(messages -> messages.addErrorsStorageFileUploadFailure(GLOBAL, form.uploadFile.getFileName()),
                        () -> asListHtml(encodeId(form.path)));
    
            }
            saveInfo(messages -> messages.addSuccessUploadFileToStorage(GLOBAL, form.uploadFile.getFileName()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

      }
    
    fun Response.Builder.commonCode(code: Int) =
      apply {
        this.code = code
      }
    
    fun Response.Builder.commonMessage(message: String) =
      apply {
        this.message = message
      }
    
    fun Response.Builder.commonHeader(
      name: String,
      value: String,
    ) = apply {
      headers[name] = value
    }
    
    fun Response.Builder.commonAddHeader(
      name: String,
      value: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. docs_src/custom_request_and_route/tutorial003.py

            return custom_route_handler
    
    
    app = FastAPI()
    router = APIRouter(route_class=TimedRoute)
    
    
    @app.get("/")
    async def not_timed():
        return {"message": "Not timed"}
    
    
    @router.get("/timed")
    async def timed():
        return {"message": "It's the time of my life"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataRetrievalException.java

        }
    
        /**
         * @param message a message
         * @param cause a cause
         * @deprecated use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)}
         */
        @Deprecated
        public ArtifactMetadataRetrievalException(String message, Throwable cause) {
            super(message, cause, null);
        }
    
        public ArtifactMetadataRetrievalException(String message, Throwable cause, Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial001_02.py

        response = client.post("/files/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No file sent"}
    
    
    def test_post_uploadfile_no_body():
        response = client.post("/uploadfile/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No upload file sent"}
    
    
    def test_post_file(tmp_path):
        path = tmp_path / "test.txt"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py

        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No file sent"}
    
    
    @needs_py310
    def test_post_uploadfile_no_body(client: TestClient):
        response = client.post("/uploadfile/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No upload file sent"}
    
    
    @needs_py310
    def test_post_file(tmp_path: Path, client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/LdapConfigurationException.java

    package org.codelibs.fess.exception;
    
    public class LdapConfigurationException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        public LdapConfigurationException(final String message) {
            super(message);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 878 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/ResultOffsetExceededException.java

    package org.codelibs.fess.exception;
    
    public class ResultOffsetExceededException extends FessSystemException {
        private static final long serialVersionUID = 1L;
    
        public ResultOffsetExceededException(final String message) {
            super(message);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 884 bytes
    - Viewed (0)
Back to top