com.sailthru.client.SailthruHttpClientConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sailthru-java-client Show documentation
Show all versions of sailthru-java-client Show documentation
Java client library for Sailthru API
The newest version!
package com.sailthru.client;
/**
* Interface for customizing some HTTP client settings.
*
* {@link DefaultSailthruHttpClientConfiguration} provides default values but
* users may want to override those defaults by extending it or implementing
* this interface.
*/
public interface SailthruHttpClientConfiguration {
/**
* @return connection timeout in milliseconds
*/
int getConnectionTimeout();
/**
* @return socket timeout in milliseconds
*/
int getSoTimeout();
/**
* @return socket reuse address boolean flag
*/
boolean getSoReuseaddr();
/**
* @return TCP_NODELAY boolean setting
*/
boolean getTcpNoDelay();
/**
* @return connection pool max total
*/
int getMaxTotalConnections();
/**
* @return connection pool max per route
*/
int getDefaultMaxConnectionsPerRoute();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy