public class RemoteHoverflyConfig extends HoverflyConfig
Hoverfly instanceadminPort, captureHeaders, destination, proxyCaCert, proxyLocalHost, proxyPort| Constructor and Description |
|---|
RemoteHoverflyConfig() |
| Modifier and Type | Method and Description |
|---|---|
HoverflyConfiguration |
build()
Validate and build
HoverflyConfiguration |
RemoteHoverflyConfig |
host(java.lang.String host)
Sets hostname for the external Hoverfly, default to localhost
|
RemoteHoverflyConfig |
withAuthHeader()
Sets up custom authentication header for secured remote Hoverfly instance.
|
RemoteHoverflyConfig |
withAuthHeader(java.lang.String authToken)
Sets up custom authentication header for secured remote Hoverfly instance
|
RemoteHoverflyConfig |
withHttpsAdminEndpoint()
Sets up to use admin endpoint over HTTPS
|
adminPort, captureAllHeaders, captureHeaders, configs, destination, proxyCaCert, proxyLocalHost, proxyLocalHost, proxyPort, remotepublic RemoteHoverflyConfig host(java.lang.String host)
host - the hostnameRemoteHoverflyConfig for further customizationspublic RemoteHoverflyConfig withAuthHeader()
RemoteHoverflyConfig for further customizationspublic RemoteHoverflyConfig withAuthHeader(java.lang.String authToken)
authToken - a token for Hoverfly authenticationRemoteHoverflyConfig for further customizationspublic RemoteHoverflyConfig withHttpsAdminEndpoint()
RemoteHoverflyConfig for further customizationspublic HoverflyConfiguration build()
HoverflyConfigHoverflyConfigurationbuild in class HoverflyConfig