Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ContentLength (0.13 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

                builder.field(CREATE_TIME, createTime);
            }
            if (executionTime != null) {
                builder.field(EXECUTION_TIME, executionTime);
            }
            if (contentLength != null) {
                builder.field(CONTENT_LENGTH, contentLength);
            }
            if (lastModified != null) {
                builder.field(LAST_MODIFIED, lastModified);
            }
            if (accessResultData instanceof ToXContent) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

            TransferResource resource = event.getResource();
            long contentLength = event.getTransferredBytes();
            if (contentLength >= 0) {
                String type = (event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploaded" : "Downloaded");
                String len = contentLength >= 1024 ? toKB(contentLength) + " KB" : contentLength + " B";
    
                String throughput = "";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

                    .append(resource.getResourceName())
                    .append(" (");
            format.format(message, contentLength);
    
            long duration = System.currentTimeMillis() - resource.getTransferStartTime();
            if (duration > 0L) {
                double bytesPerSecond = contentLength / (duration / 1000.0);
                message.append(" at ");
                format.format(message, (long) bytesPerSecond);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            message.resetStyle().append(resource.getResourceName());
            message.style(STYLE).append(" (").append(format.format(contentLength));
    
            long duration = System.currentTimeMillis() - resource.getTransferStartTime();
            if (duration > 0L) {
                double bytesPerSecond = contentLength / (duration / 1000.0);
                message.append(" at ");
                format.format(message, (long) bytesPerSecond);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/resources/mapping/data.json

                "type": "keyword"
              },
              "encoding": {
                "type": "keyword"
              },
              "data": {
                "type": "binary"
              }
            }
          },
          "contentLength": {
            "type": "long"
          },
          "lastModified": {
            "type": "long"
          },
          "ruleId": {
            "type": "keyword"
          },
          "httpStatusCode": {
            "type": "integer"
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 963 bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                callback.accept(builder);
                builder.setFetchSource(new String[] { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime",
                        "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" }, null);
                return builder.execute();
            });
            final OpenSearchResultList<OpenSearchAccessResult> targetList = new OpenSearchResultList<>();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

            throw IOException("response: " + response.code + " " + response.message)
          }
    
          val body = response.body
    
          if (body.contentLength() > MAX_RESPONSE_SIZE) {
            throw IOException(
              "response size exceeds limit ($MAX_RESPONSE_SIZE bytes): ${body.contentLength()} bytes",
            )
          }
    
          val responseBytes = body.source().readByteString()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. cmd/api-response.go

    		statusCode = http.StatusInternalServerError
    	}
    	setCommonHeaders(w)
    	if mType != mimeNone {
    		w.Header().Set(xhttp.ContentType, string(mType))
    	}
    	w.Header().Set(xhttp.ContentLength, strconv.Itoa(len(response)))
    	w.WriteHeader(statusCode)
    	if response != nil {
    		w.Write(response)
    	}
    }
    
    // mimeType represents various MIME type used API responses.
    type mimeType string
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top