public class DcosHttpExecutor
extends java.lang.Object
Executor
instance. Clients which interact with the DC/OS cluster should (only) accept this DC/OS-specific type in order to
ensure that the validation is performed.| Constructor and Description |
|---|
DcosHttpExecutor(HttpClientBuilder clientBuilder)
Validates that the provided client is valid before constructing an
Executor which may be used via
execute(Request). |
| Modifier and Type | Method and Description |
|---|---|
Response |
execute(Request request)
Runs the provided request and returns the response.
|
public DcosHttpExecutor(HttpClientBuilder clientBuilder)
Executor which may be used via
execute(Request).