Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,452 for message1 (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

              )
    
          // Parse an optional response message like "OK" or "Not Modified". If it
          // exists, it is separated from the response code by a space.
          var message = ""
          if (statusLine.length > codeStart + 3) {
            if (statusLine[codeStart + 3] != ' ') {
              throw ProtocolException("Unexpected status line: $statusLine")
            }
            message = statusLine.substring(codeStart + 4)
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. docs_src/additional_responses/tutorial001_py310.py

        id: str
        value: str
    
    
    class Message(BaseModel):
        message: str
    
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}", response_model=Item, responses={404: {"model": Message}})
    async def read_item(item_id: str):
        if item_id == "foo":
            return {"id": "foo", "value": "there goes my hero"}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 506 bytes
    - Click Count (0)
  3. src/main/java/jcifs/audit/SecurityAuditLogger.java

         * Log a security event with performance optimizations
         *
         * @param type event type
         * @param severity event severity
         * @param message event message
         * @param context additional context
         */
        public void logEvent(EventType type, Severity severity, String message, Map<String, Object> context) {
            // Check minimum log level filter
            if (severity.getLevel() < minLogLevel.getLevel()) {
                return;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt

    import org.junit.jupiter.api.Test
    
    class StatusLineTest {
      @Test
      fun parse() {
        val message = "Temporary Redirect"
        val version = 1
        val code = 200
        val statusLine = parse("HTTP/1.$version $code $message")
        assertThat(statusLine.message).isEqualTo(message)
        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1)
        assertThat(statusLine.code).isEqualTo(code)
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsParseException.java

         *
         * @param message The error message, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
         * @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown.
         */
        public ToolchainsParseException(String message, int lineNumber, int columnNumber) {
            super(message);
            this.lineNumber = lineNumber;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      fun assertClose() {
        nextEvent() as Closed
      }
    
      fun assertFailure(
        message: String?,
        code: Int? = null,
      ) {
        val event = nextEvent() as Failure
        if (code != null) {
          assertThat(event.response?.code).isEqualTo(code)
        }
        if (message != null) {
          assertThat(event.message).isEqualTo(message)
        } else {
          assertThat(event.t).isNull()
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 11:32:52 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/DcerpcException.java

        /**
         * Constructs a DcerpcException with the specified message
         *
         * @param msg
         *            the error message
         */
        public DcerpcException(final String msg) {
            super(msg);
        }
    
        /**
         * Constructs a DcerpcException with the specified message and root cause
         *
         * @param msg
         *            the error message
         * @param rootCause
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. docs/ko/docs/advanced/additional-responses.md

    ```JSON hl_lines="4-16"
    {
        "components": {
            "schemas": {
                "Message": {
                    "title": "Message",
                    "required": [
                        "message"
                    ],
                    "type": "object",
                    "properties": {
                        "message": {
                            "title": "Message",
                            "type": "string"
                        }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/additional-responses.md

    ```JSON hl_lines="4-16"
    {
        "components": {
            "schemas": {
                "Message": {
                    "title": "Message",
                    "required": [
                        "message"
                    ],
                    "type": "object",
                    "properties": {
                        "message": {
                            "title": "Message",
                            "type": "string"
                        }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            }
        }
    
        /**
         * Logs a message to the annotation processing environment.
         *
         * @param kind the kind of diagnostic message
         * @param message the message to log
         */
        private void logMessage(Diagnostic.Kind kind, String message) {
            processingEnv.getMessager().printMessage(kind, message);
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top