Package pl.tkowalcz.tjahzi.http
Class ClientConfigurationBuilder
java.lang.Object
pl.tkowalcz.tjahzi.http.ClientConfigurationBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withConnectionTimeoutMillis(int connectionTimeoutMillis) withLogEndpoint(String logEndpoint) withMaxRequestsInFlight(int maxRequestsInFlight) withMaxRetries(int maxRetries) withPassword(String password) withPort(int port) withRequestTimeoutMillis(int requestTimeoutMillis) withUsername(String username) withUseSSL(boolean useSSL)
-
Field Details
-
HTTPS_PORT
public static final int HTTPS_PORT- See Also:
-
HTTP_PORT
public static final int HTTP_PORT- See Also:
-
HTTPS_STRING
- See Also:
-
HTTP_STRING
- See Also:
-
DEFAULT_LOG_ENDPOINT
- See Also:
-
DEFAULT_CONNECT_TIMEOUT_MILLIS
public static final int DEFAULT_CONNECT_TIMEOUT_MILLIS- See Also:
-
DEFAULT_REQUEST_TIMEOUT_MILLIS
public static final int DEFAULT_REQUEST_TIMEOUT_MILLIS- See Also:
-
DEFAULT_MAX_REQUESTS_IN_FLIGHT
public static final int DEFAULT_MAX_REQUESTS_IN_FLIGHT- See Also:
-
DEFAULT_MAX_RETRIES
public static final int DEFAULT_MAX_RETRIES- See Also:
-
-
Constructor Details
-
ClientConfigurationBuilder
public ClientConfigurationBuilder()
-
-
Method Details
-
withLogEndpoint
-
withHost
-
withPort
-
withUseSSL
-
withUsername
-
withPassword
-
withConnectionTimeoutMillis
-
withRequestTimeoutMillis
-
withMaxRequestsInFlight
-
withMaxRetries
-
withUrl
-
build
-