io.keen.client.java.JavaKeenClientBuilder Maven / Gradle / Ivy
package io.keen.client.java;
import java.io.IOException;
import java.net.InterfaceAddress;
import java.net.NetworkInterface;
import java.net.UnknownHostException;
import java.util.Enumeration;
/**
* {@link io.keen.client.java.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 {@link KeenJsonHandler}
* via the {@link #withJsonHandler(KeenJsonHandler)} method.
*
* Other defaults are those provided by the parent {@link KeenClient.Builder} implementation.
*
*
* @author Kevin Litwack ([email protected])
* @since 2.0.0
*/
public class JavaKeenClientBuilder extends KeenClient.Builder {
@Override
protected KeenJsonHandler getDefaultJsonHandler() {
return new JacksonJsonHandler();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy