Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 2,259 for Implements (0.05 seconds)

  1. docs/features/interceptors.md

    Interceptors
    ============
    
    Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. Here's a simple interceptor that logs the outgoing request and the incoming response.
    
    ```java
    class LoggingInterceptor implements Interceptor {
      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request request = chain.request();
    
        long t1 = System.nanoTime();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

    import org.apache.maven.repository.legacy.metadata.ResolutionGroup;
    
    @Named("classpath")
    @Singleton
    @Deprecated
    public class SimpleArtifactMetadataSource implements ArtifactMetadataSource {
        @Override
        public ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PreemptiveAuth().run();
      }
    
      static final class BasicAuthInterceptor implements Interceptor {
        private final String credentials;
        private final String host;
    
        BasicAuthInterceptor(String host, String username, String password) {
          this.credentials = Credentials.basic(username, password);
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Nov 05 07:46:46 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/AbstractMapEntry.java

     * Entry}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    abstract class AbstractMapEntry<K extends @Nullable Object, V extends @Nullable Object>
        implements Entry<K, V> {
    
      @Override
      @ParametricNullness
      public abstract K getKey();
    
      @Override
      @ParametricNullness
      public abstract V getValue();
    
      @Override
      @ParametricNullness
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableMapKeySet.java

      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return new KeySetSerializedForm<K>(map);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
      private static final class KeySetSerializedForm<K> implements Serializable {
        final ImmutableMap<K, ?> map;
    
        KeySetSerializedForm(ImmutableMap<K, ?> map) {
          this.map = map;
        }
    
        Object readResolve() {
          return map.keySet();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator
        implements TestSortedSetGenerator<String> {
    
      @Override
      public SortedSet<String> create(Object... elements) {
        return (SortedSet<String>) super.create(elements);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AbstractMapEntry.java

     * Entry}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    abstract class AbstractMapEntry<K extends @Nullable Object, V extends @Nullable Object>
        implements Entry<K, V> {
    
      @Override
      @ParametricNullness
      public abstract K getKey();
    
      @Override
      @ParametricNullness
      public abstract V getValue();
    
      @Override
      @ParametricNullness
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GenericCIDetector.java

     * Generic CI support. This offers same support as Maven 3 always had. Is also special, as code will reject this
     * detector result IF there are also any other returned via discovered services.
     */
    public class GenericCIDetector implements CIDetector {
        public static final String NAME = "Generic";
    
        private static final String CI = "CI";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(CI);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/PairwiseEquivalence.java

    import java.io.Serializable;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    @GwtCompatible
    final class PairwiseEquivalence<E, T extends @Nullable E> extends Equivalence<Iterable<T>>
        implements Serializable {
      final Equivalence<E> elementEquivalence;
    
      PairwiseEquivalence(Equivalence<E> elementEquivalence) {
        this.elementEquivalence = Preconditions.checkNotNull(elementEquivalence);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

     *
     * @author Luke Sandberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    abstract class WrappingScheduledExecutorService extends WrappingExecutorService
        implements ScheduledExecutorService {
      final ScheduledExecutorService delegate;
    
      protected WrappingScheduledExecutorService(ScheduledExecutorService delegate) {
        super(delegate);
        this.delegate = delegate;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top