Class SimpleDecoratingHttpClient

All Implemented Interfaces:
Client<HttpRequest,HttpResponse>, HttpClient, Unwrappable
Direct Known Subclasses:
BraveClient, ContentPreviewingClient, CookieClient, DecodingClient, OAuth2Client, ObservationClient

public abstract class SimpleDecoratingHttpClient extends SimpleDecoratingClient<HttpRequest,HttpResponse> implements HttpClient
Decorates an HttpClient. Use DecoratingClient if your Client has different Request or Response type from the Client being decorated.
  • Constructor Details

    • SimpleDecoratingHttpClient

      protected SimpleDecoratingHttpClient(HttpClient delegate)
      Creates a new instance that decorates the specified HttpClient.