public class MarathonClient extends Object
| Constructor and Description |
|---|
MarathonClient() |
| Modifier and Type | Method and Description |
|---|---|
static Marathon |
getInstance(String endpoint) |
static Marathon |
getInstance(String endpoint,
feign.RequestInterceptor... interceptors)
The generalized version of the method that allows more in-depth customizations via
RequestInterceptors. |
static Marathon |
getInstanceWithBasicAuth(String endpoint,
String username,
String password)
Creates a Marathon client proxy that performs HTTP basic authentication.
|
static Marathon |
getInstanceWithTokenAuth(String endpoint,
String token)
Creates a Marathon client proxy that uses a token for authentication.
|
public static Marathon getInstance(String endpoint, feign.RequestInterceptor... interceptors)
RequestInterceptors.endpoint - URL of Marathonpublic static Marathon getInstanceWithBasicAuth(String endpoint, String username, String password)
Copyright © 2016. All rights reserved.