Class HttpClientHandler

  • All Implemented Interfaces:
    net.morimekta.providence.PServiceCallHandler

    @Deprecated
    public class HttpClientHandler
    extends GoogleHttpClientHandler
    Deprecated.
    HTTP client handler using the google HTTP client interface.
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpClientHandler​(java.util.function.Supplier<com.google.api.client.http.GenericUrl> urlSupplier)
      Deprecated.
      Create a HTTP client with default transport, serialization and no instrumentation.
      HttpClientHandler​(java.util.function.Supplier<com.google.api.client.http.GenericUrl> urlSupplier, com.google.api.client.http.HttpRequestFactory factory)
      Deprecated.
      Create a HTTP client with default serialization and no instrumentation.
      HttpClientHandler​(java.util.function.Supplier<com.google.api.client.http.GenericUrl> urlSupplier, com.google.api.client.http.HttpRequestFactory factory, net.morimekta.providence.serializer.SerializerProvider serializerProvider)
      Deprecated.
      Create a HTTP client with no instrumentation.
      HttpClientHandler​(java.util.function.Supplier<com.google.api.client.http.GenericUrl> urlSupplier, com.google.api.client.http.HttpRequestFactory factory, net.morimekta.providence.serializer.SerializerProvider serializerProvider, net.morimekta.providence.PServiceCallInstrumentation instrumentation)
      Deprecated.
      Create a HTTP client.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpClientHandler

        public HttpClientHandler​(@Nonnull
                                 java.util.function.Supplier<com.google.api.client.http.GenericUrl> urlSupplier)
        Deprecated.
        Create a HTTP client with default transport, serialization and no instrumentation.
        Parameters:
        urlSupplier - The HTTP url supplier.
      • HttpClientHandler

        public HttpClientHandler​(@Nonnull
                                 java.util.function.Supplier<com.google.api.client.http.GenericUrl> urlSupplier,
                                 @Nonnull
                                 com.google.api.client.http.HttpRequestFactory factory)
        Deprecated.
        Create a HTTP client with default serialization and no instrumentation.
        Parameters:
        urlSupplier - The HTTP url supplier.
        factory - The HTTP request factory.
      • HttpClientHandler

        public HttpClientHandler​(@Nonnull
                                 java.util.function.Supplier<com.google.api.client.http.GenericUrl> urlSupplier,
                                 @Nonnull
                                 com.google.api.client.http.HttpRequestFactory factory,
                                 @Nonnull
                                 net.morimekta.providence.serializer.SerializerProvider serializerProvider)
        Deprecated.
        Create a HTTP client with no instrumentation.
        Parameters:
        urlSupplier - The HTTP url supplier.
        factory - The HTTP request factory.
        serializerProvider - The serializer provider.
      • HttpClientHandler

        public HttpClientHandler​(@Nonnull
                                 java.util.function.Supplier<com.google.api.client.http.GenericUrl> urlSupplier,
                                 @Nonnull
                                 com.google.api.client.http.HttpRequestFactory factory,
                                 @Nonnull
                                 net.morimekta.providence.serializer.SerializerProvider serializerProvider,
                                 @Nonnull
                                 net.morimekta.providence.PServiceCallInstrumentation instrumentation)
        Deprecated.
        Create a HTTP client.
        Parameters:
        urlSupplier - The HTTP url supplier.
        factory - The HTTP request factory.
        serializerProvider - The serializer provider.
        instrumentation - The service call instrumentation.