public interface HoverflyClient
| Modifier and Type | Interface and Description |
|---|---|
static class |
HoverflyClient.Builder
HTTP client builder for Hoverfly admin API
|
| Modifier and Type | Method and Description |
|---|---|
static HoverflyClient |
createDefault()
Static factory method for default Hoverfly client
|
static HoverflyClient.Builder |
custom()
Static factory method for creating a
HoverflyClient.Builder |
void |
deleteJournal() |
void |
deleteSimulation() |
HoverflyInfoView |
getConfigInfo() |
boolean |
getHealth()
Check Hoverfly is healthy
|
Journal |
getJournal() |
Simulation |
getSimulation() |
Journal |
searchJournal(Request request) |
void |
setDestination(java.lang.String destination) |
void |
setMode(HoverflyMode mode)
Update Hoverfly mode
|
void |
setMode(HoverflyMode mode,
ModeArguments modeArguments)
Update Hoverfly mode with additional arguments
|
void |
setSimulation(Simulation simulation) |
void setSimulation(Simulation simulation)
Simulation getSimulation()
void deleteSimulation()
Journal getJournal()
void deleteJournal()
HoverflyInfoView getConfigInfo()
void setDestination(java.lang.String destination)
void setMode(HoverflyMode mode)
mode - HoverflyModevoid setMode(HoverflyMode mode, ModeArguments modeArguments)
mode - HoverflyModemodeArguments - additional arguments such as headers to captureboolean getHealth()
static HoverflyClient.Builder custom()
HoverflyClient.Builderstatic HoverflyClient createDefault()