Packages

package client

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait CirceDecoders extends AnyRef
  2. class DruidAdvancedHttpClient extends DruidClient with DruidResponseHandler
  3. trait DruidClient extends CirceHttpSupport with CirceDecoders with LazyLogging
  4. trait DruidClientBuilder extends AnyRef
  5. class DruidHttpClient extends DruidClient with DruidResponseHandler
  6. trait DruidResponseHandler extends CirceDecoders
  7. class HttpStatusException extends IllegalStateException

    Indicates that Druid returned a non-OK HTTP status code.

    Indicates that Druid returned a non-OK HTTP status code.

    Note: the response entity is eagerly loaded (HttpEntity.Strict). I chose to do so because having to drain or discard a stream on an exception object violates the Principle of Least Surprise. This class does not simply embed the HttpResponse because I found no way to expose the (eager loaded) fields without requiring an execution context.

    This class extends IllegalStateException to maintain backwards compatibility.

  8. class NoopRequestInterceptor extends RequestInterceptor

    Forwards the request and response unmodified.

    Forwards the request and response unmodified. Can be used as a default value, but is also suitable for use as a base class.

  9. trait RequestInterceptor extends AnyRef

    Customization hook for altering the request flow in DruidAdvancedHttpClient.

    Customization hook for altering the request flow in DruidAdvancedHttpClient. This is primarily intended to handle authentication requirements. The advanced client always uses a single interceptor, which defaults to a no-op implementation. There is no support for chaining interceptors into a filter chain, but you could write a composite interceptor to overcome this.

  10. trait RequestInterceptorBuilder extends AnyRef

    Marker trait for objects that produce a RequestInterceptor.

    Marker trait for objects that produce a RequestInterceptor. One such object is specified in the scruid configuration settings. The default is NoopRequestInterceptor.

Ungrouped