io.keen.client.java
Class JavaKeenClientBuilder

java.lang.Object
  extended by io.keen.client.java.KeenClient.Builder
      extended by io.keen.client.java.JavaKeenClientBuilder

public class JavaKeenClientBuilder
extends io.keen.client.java.KeenClient.Builder

KeenClient.Builder with defaults suited for use in a standard Java environment.

This client uses the Jackson library for reading and writing JSON. As a result, Jackson must be available in order for this library to work properly. For applications which would prefer to use a different JSON library, configure the builder to use an appropriate KeenJsonHandler via the KeenClient.Builder.withJsonHandler(KeenJsonHandler) method.

Other defaults are those provided by the parent KeenClient.Builder implementation.

Since:
2.0.0

Constructor Summary
JavaKeenClientBuilder()
           
 
Method Summary
protected  io.keen.client.java.KeenJsonHandler getDefaultJsonHandler()
           
 
Methods inherited from class io.keen.client.java.KeenClient.Builder
build, buildInstance, getDefaultEventStore, getDefaultHttpHandler, getDefaultNetworkStatusHandler, getDefaultPublishExecutor, getEventStore, getHttpHandler, getJsonHandler, getNetworkStatusHandler, getPublishExecutor, setEventStore, setHttpHandler, setJsonHandler, setNetworkStatusHandler, setPublishExecutor, withEventStore, withHttpHandler, withJsonHandler, withNetworkStatusHandler, withPublishExecutor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaKeenClientBuilder

public JavaKeenClientBuilder()
Method Detail

getDefaultJsonHandler

protected io.keen.client.java.KeenJsonHandler getDefaultJsonHandler()
Specified by:
getDefaultJsonHandler in class io.keen.client.java.KeenClient.Builder