Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 238 for Encoding (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        apply {
          encodings[0x0] = encoding // Null character
          encodings[0x1] = encoding // Start of Header
          encodings[0x2] = encoding // Start of Text
          encodings[0x3] = encoding // End of Text
          encodings[0x4] = encoding // End of Transmission
          encodings[0x5] = encoding // Enquiry
          encodings[0x6] = encoding // Acknowledgment
          encodings[0x7] = encoding // Bell
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt

        codePointString: String,
        encoding: UrlComponentEncodingTester.Encoding,
        component: Component,
      ) {
        testToUrl(codePoint, encoding, component)
        testFromUrl(codePoint, encoding, component)
        testUri(codePoint, codePointString, encoding, component)
      }
    
      private fun testToUrl(
        codePoint: Int,
        encoding: UrlComponentEncodingTester.Encoding,
        component: Component,
      ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java

         */
        public void setFlag(final int flag) {
            this.flag = flag;
        }
    
        /**
         * Sets the encoding for URL decoding.
         *
         * @param encoding the encoding to set
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

        /**
         * Reads text from a file with the specified encoding.
         *
         * @param path
         *            The file path. Must not be {@literal null} or empty.
         * @param encoding
         *            The encoding. Must not be {@literal null} or empty.
         * @return The text read from the file.
         */
        public static String readText(final String path, final String encoding) {
            assertArgumentNotEmpty("path", path);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/curl/CurlResponse.java

        }
    
        /**
         * Gets the encoding used for the response content.
         *
         * @return the encoding.
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Sets the encoding for the response content.
         *
         * @param encoding the encoding to set.
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

         * @param params The parameter string.
         * @param paramList Additional parameters.
         * @param encoding The encoding.
         * @return The HttpEntity containing the parsed parameters.
         */
        protected HttpEntity parseRequestParameters(final String params, final List<Pair<String, String>> paramList, final String encoding) {
            final List<BasicNameValuePair> parameters =
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/BaseEncoding.java

      }
    
      // Modified encoding generators
    
      /**
       * Returns an encoding that behaves equivalently to this encoding, but omits any padding
       * characters as specified by <a href="http://tools.ietf.org/html/rfc4648#section-3.2">RFC 4648
       * section 3.2</a>, Padding of Encoded Data.
       */
      public abstract BaseEncoding omitPadding();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 41.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/curl/CurlRequest.java

            return this;
        }
    
        /**
         * Sets the character encoding for the request.
         *
         * @param encoding the encoding
         * @return this CurlRequest instance
         * @throws CurlException if the method is called after the param method
         */
        public CurlRequest encoding(final String encoding) {
            if (paramList != null) {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc4FormScheme.java

         * @param params The parameter string.
         * @param paramList Additional parameters.
         * @param encoding The encoding.
         * @return The HttpEntity containing the parsed parameters.
         */
        protected HttpEntity parseRequestParameters(final String params, final List<Pair<String, String>> paramList, final String encoding) {
            try {
                final List<BasicNameValuePair> parameters =
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/CurlRequestTest.java

        public void testEncodingMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            String encoding = "ISO-8859-1";
    
            CurlRequest result = request.encoding(encoding);
    
            assertSame(request, result); // Fluent API
            assertEquals(encoding, request.encoding());
        }
    
        @Test
        public void testEncodingAfterParamThrowsException() {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
Back to Top