Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for contentLength (0.11 sec)

  1. fess-crawler-lasta/src/main/resources/crawler/contentlength.xml

    Shinsuke Sugaya <******@****.***> 1444529815 +0900
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 375 bytes
    - Viewed (0)
  2. src/main/resources/crawler/contentlength.xml

    Shinsuke Sugaya <******@****.***> 1444546274 +0900
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 11 06:51:14 UTC 2015
    - 561 bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

      fun createRequestBody(
        request: Request,
        duplex: Boolean,
      ): Sink {
        this.isDuplex = duplex
        val contentLength = request.body!!.contentLength()
        eventListener.requestBodyStart(call)
        val rawRequestBody = codec.createRequestBody(request, contentLength)
        return RequestBodySink(rawRequestBody, contentLength)
      }
    
      @Throws(IOException::class)
      fun flushRequest() {
        try {
          codec.flushRequest()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

                }
                final long contentLength = getContentLength(out);
                if (contentLength > maxContentLength) {
                    throw new MaxLengthExceededException(
                            "The content length (" + contentLength + " byte) is over " + maxContentLength + " byte.");
                }
                if (contentLength == 0) {
                    if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-ResponseBodyCommon.kt

      sizeMapper: (T) -> Int,
    ): T {
      val contentLength = contentLength()
      if (contentLength > Int.MAX_VALUE) {
        throw IOException("Cannot buffer entire body for content length: $contentLength")
      }
    
      val bytes = source().use(consumer)
      val size = sizeMapper(bytes)
      if (contentLength != -1L && contentLength != size.toLong()) {
        throw IOException("Content-Length ($contentLength) and stream length ($size) disagree")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. 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)
  7. samples/guide/src/main/java/okhttp3/recipes/Progress.java

            if (done) {
              System.out.println("completed");
            } else {
              if (firstUpdate) {
                firstUpdate = false;
                if (contentLength == -1) {
                  System.out.println("content-length: unknown");
                } else {
                  System.out.format("content-length: %d\n", contentLength);
                }
              }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

            this.executionTime = executionTime;
        }
    
        @Override
        public Long getContentLength() {
            return contentLength;
        }
    
        @Override
        public void setContentLength(final Long contentLength) {
            this.contentLength = contentLength;
        }
    
        @Override
        public Long getLastModified() {
            return lastModified;
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        public void setCharSet(final String charSet) {
            this.charSet = charSet;
        }
    
        public long getContentLength() {
            return contentLength;
        }
    
        public void setContentLength(final long contentLength) {
            this.contentLength = contentLength;
        }
    
        public String getMimeType() {
            return mimeType;
        }
    
        public void setMimeType(final String contentType) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.kt

      fun delegate(): ResponseBody {
        return delegate
      }
    
      override fun contentType(): MediaType? {
        return delegate.contentType()
      }
    
      override fun contentLength(): Long {
        return delegate.contentLength()
      }
    
      override fun source(): BufferedSource {
        return delegate.source()
      }
    
      override fun toString(): String {
        return javaClass.simpleName + "(" + delegate.toString() + ")"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top