Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 1,836 for Methode (0.25 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

    import org.apache.maven.wagon.events.TransferListener;
    import org.apache.maven.wagon.providers.file.FileWagon;
    import org.apache.maven.wagon.resource.Resource;
    
    /**
     * Wagon used for test cases that annotate some methods. Note that this is not a thread-safe implementation.
     */
    public class TestFileWagon extends FileWagon {
        private TestTransferListener testTransferListener;
        private boolean insideGet;
    
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers";
      /** The HTTP {@code Access-Control-Allow-Methods} header field name. */
      public static final String ACCESS_CONTROL_ALLOW_METHODS = "Access-Control-Allow-Methods";
      /** The HTTP {@code Access-Control-Allow-Origin} header field name. */
      public static final String ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin";
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 19:08:38 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TransformedIterator.java

    /**
     * An iterator that transforms a backing iterator; for internal use. This avoids the object overhead
     * of constructing a {@link com.google.common.base.Function Function} for internal methods.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class TransformedIterator<F extends @Nullable Object, T extends @Nullable Object>
        implements Iterator<T> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. mockwebserver-junit5/README.md

    ```
    testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.12.0")
    ```
    
    Then in tests annotated `@org.junit.jupiter.api.Test`, you may add a [MockWebServer] as a test
    method parameter. It will be shut down automatically after the test runs.
    
    ```
    class MyTest {
      @Test
      void test(MockWebServer server) {
        ...
      }
    }
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

            return chain.proceed(originalRequest);
          }
    
          Request compressedRequest = originalRequest.newBuilder()
              .header("Content-Encoding", "gzip")
              .method(originalRequest.method(), gzip(originalRequest.body()))
              .build();
          return chain.proceed(compressedRequest);
        }
    
        private RequestBody gzip(final RequestBody body) {
          return new RequestBody() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Cache.kt

          return null
        }
    
        return response
      }
    
      internal fun put(response: Response): CacheRequest? {
        val requestMethod = response.request.method
    
        if (HttpMethod.invalidatesCache(response.request.method)) {
          try {
            remove(response.request)
          } catch (_: IOException) {
            // The cache cannot be written.
          }
          return null
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/bufio/scan.go

    // Scan advances the [Scanner] to the next token, which will then be
    // available through the [Scanner.Bytes] or [Scanner.Text] method. It returns false when
    // there are no more tokens, either by reaching the end of the input or an error.
    // After Scan returns false, the [Scanner.Err] method will return any error that
    // occurred during scanning, except that if it was [io.EOF], [Scanner.Err]
    // will return nil.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

         * mirror, its URL and ID will be updated to match the values from the mirror specification. Repositories without a
         * matching mirror will pass through unchanged. Note: This method must be called before
         * {@link #injectAuthentication(List, List)} or the repositories will end up with the wrong credentials.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. docs/auditlog/auditlog-echo.go

    	body, err := io.ReadAll(r.Body)
    	defer r.Body.Close()
    	if err != nil {
    		log.Printf("Error reading request body: %v", err)
    		w.WriteHeader(http.StatusBadRequest)
    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    	log.Printf("%s\n", out.String())
    
    	w.WriteHeader(http.StatusOK)
    }
    
    func main() {
    	flag.Parse()
    	http.HandleFunc("/", mainHandler)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/XIncludeAwareXmlProvider.groovy

                Transformer transformer = factory.newTransformer()
                if (indent) {
                    transformer.setOutputProperty(OutputKeys.INDENT, "yes")
                }
                transformer.setOutputProperty(OutputKeys.METHOD, "xml")
                transformer.setOutputProperty(OutputKeys.MEDIA_TYPE, "text/xml")
                transformer.transform(new DOMSource(root), new StreamResult(stream))
            }
        }
    
        Document getDocument() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
Back to top