A B C D E F G H I J L M N O P Q R S T U V W X 
All Classes All Packages

A

absoluteResponseBodyFilesPath(String) - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Override the default parent path for resolving the response body file.
AbstractDelaySettingsBuilder - Class in io.specto.hoverfly.junit.dsl
 
AbstractDelaySettingsBuilder(int, TimeUnit) - Constructor for class io.specto.hoverfly.junit.dsl.AbstractDelaySettingsBuilder
 
accept(Simulation) - Method in interface io.specto.hoverfly.junit.core.SimulationPreprocessor
accepted() - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
Builds a 202 response
addCommands(String...) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Set additional commands for starting Hoverfly.
addCsvDataSource(CsvDataSource) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
addJournalIndex(JournalIndexCommand) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
addSimulation(Simulation) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
Append the given simulation to the existing one in Hoverfly, duplicated pair will not be added
adminPort - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
adminPort(int) - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Sets the admin port for Hoverfly
after() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Stops the managed instance of Hoverfly
allowSimulationImport() - Method in enum io.specto.hoverfly.junit.core.HoverflyMode
 
andDelay(int, TimeUnit) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Adds service wide delay settings.
andRemoveState(String) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Sets state to be removed
andSetState(String, String) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Sets a transition state
any() - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on any value
anyBody() - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
 
anyMethod(RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
anyMethod(String) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
anyQueryParams() - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
Add a matcher that matches any query parameters
APPLICATION_JSON - Static variable in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
 
APPLICATION_XML - Static variable in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
 
apply(Statement, Description) - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Log warning if HoverflyRule is annotated with Rule
apply(Statement, Description) - Method in class io.specto.hoverfly.junit.rule.NoDiffAssertionRule
 
ARRAY - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
ArrayMatcherConfig - Class in io.specto.hoverfly.junit.core.model
 
ArrayMatcherConfig() - Constructor for class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
ArrayMatcherConfig(boolean, boolean, boolean) - Constructor for class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
ASC - io.specto.hoverfly.junit.api.command.SortParams.Direction
 
assertThatNoDiffIsReported() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.
assertThatNoDiffIsReported(boolean) - Method in class io.specto.hoverfly.junit.core.Hoverfly
 
assertThatNoDiffIsReported(boolean) - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.
asWebServer() - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
 
atLeast(int) - Static method in class io.specto.hoverfly.junit.verification.HoverflyVerifications
 
atLeastOnce() - Static method in class io.specto.hoverfly.junit.verification.HoverflyVerifications
 
atMost(int) - Static method in class io.specto.hoverfly.junit.verification.HoverflyVerifications
 

B

badRequest() - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
Builds a 400 response
before() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Starts an instance of Hoverfly
binaryEncoding() - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Sets the body as an encodedBody for binary responses
binaryLocation(String) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Overrides the default path for Hoverfly binary and working directory.
body() - Method in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
 
body() - Method in class io.specto.hoverfly.junit.dsl.SingleQuoteHttpBodyConverter
 
body(RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
 
body(HttpBodyConverter) - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
Sets the request body using HttpBodyConverter to match on exactly
body(HttpBodyConverter) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
 
body(String) - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
Sets the request body
body(String) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Sets the body
body(List<RequestFieldMatcher>) - Method in class io.specto.hoverfly.junit.core.model.Request.Builder
 
bodyFile(String) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Sets the file which the response body returns.
BodyRequestMatcherCustomDeserializer - Class in io.specto.hoverfly.junit.core.model
 
BodyRequestMatcherCustomDeserializer() - Constructor for class io.specto.hoverfly.junit.core.model.BodyRequestMatcherCustomDeserializer
 
build() - Method in class io.specto.hoverfly.junit.api.HoverflyClient.Builder
 
build() - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
 
build() - Method in class io.specto.hoverfly.junit.core.config.RemoteHoverflyConfig
 
build() - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Validate and build HoverflyConfiguration
build() - Method in class io.specto.hoverfly.junit.core.model.Request.Builder
 
build() - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherChainingBuilder
 
build() - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
 
Builder() - Constructor for class io.specto.hoverfly.junit.core.model.Request.Builder
 

C

capture(String) - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Stores what's currently been captured in the currently assigned file, reset simulations and journal logs, then starts capture again ready to store in the new file once complete.
capture(String, String) - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Stores what's currently been captured in the currently assigned file, reset simulations and journal logs, then starts capture again ready to store in the new file once complete.
CAPTURE - io.specto.hoverfly.junit.core.HoverflyMode
 
captureAllHeaders() - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Set to capture all request headers
captureHeaders - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
captureHeaders(String...) - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Specifies which request headers to capture
classpath(String) - Static method in interface io.specto.hoverfly.junit.core.SimulationSource
Creates a simulation from the classpath
cleanDiffs() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
clientAuthCaCertPath(String) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Set client CA certificate for mutual TLS authentication
close() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Stops the running Hoverfly process and clean up resources
configs() - Static method in class io.specto.hoverfly.junit.core.HoverflyConfig
connect(RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
connect(String) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Creating a CONNECT request matcher
contains(String) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on a string containing the given value
contentType() - Method in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
 
contentType() - Method in class io.specto.hoverfly.junit.dsl.SingleQuoteHttpBodyConverter
 
created() - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
 
created(String) - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
Builds a 201 response with a given location header value
createDefault() - Static method in interface io.specto.hoverfly.junit.api.HoverflyClient
Static factory method for default Hoverfly client
createDiffMessage() - Method in class io.specto.hoverfly.junit.api.view.DiffReport
 
createDiffMessage() - Method in class io.specto.hoverfly.junit.api.view.ResponseDiffForRequestView
 
CsvDataSource - Class in io.specto.hoverfly.junit.api.model
 
CsvDataSource(String, String) - Constructor for class io.specto.hoverfly.junit.api.model.CsvDataSource
 
custom() - Static method in interface io.specto.hoverfly.junit.api.HoverflyClient
Static factory method for creating a HoverflyClient.Builder

D

DEBUG - io.specto.hoverfly.junit.core.config.LogLevel
 
DEFAULT_ADMIN_PORT - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
DEFAULT_HEALTH_CHECK_RETRY_INTERVAL - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
DEFAULT_HEALTH_CHECK_TIMEOUT - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
DEFAULT_HOVERFLY_EXPORT_PATH - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
DEFAULT_HOVERFLY_RESOURCE_DIR - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
DEFAULT_HTTPS_ADMIN_PORT - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
DEFAULT_PROXY_PORT - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
defaultPath(String) - Static method in interface io.specto.hoverfly.junit.core.SimulationSource
Creates a simulation from the file located in default hoverfly resource path which is relative to src/test/resources/hoverfly
DelaySettings - Class in io.specto.hoverfly.junit.core.model
 
DelaySettings(String, int, String) - Constructor for class io.specto.hoverfly.junit.core.model.DelaySettings
 
delete(RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
delete(String) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Creating a DELETE request matcher
deleteCsvDataSource(String) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
deleteJournal() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
deleteJournalIndex(String) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
deletePostServeAction(String) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
deleteSimulation() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
deleteState() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
Deletes all state from Hoverfly.
DESC - io.specto.hoverfly.junit.api.command.SortParams.Direction
 
deserialize(JsonParser, DeserializationContext) - Method in class io.specto.hoverfly.junit.core.model.BodyRequestMatcherCustomDeserializer
 
destination - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
destination - Variable in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
destination(String...) - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Sets destination filter to what target urls to simulate or capture
destination(List<RequestFieldMatcher<String>>) - Method in class io.specto.hoverfly.junit.core.model.Request.Builder
 
DestinationCommand - Class in io.specto.hoverfly.junit.api.command
 
DestinationCommand() - Constructor for class io.specto.hoverfly.junit.api.command.DestinationCommand
 
DestinationCommand(String) - Constructor for class io.specto.hoverfly.junit.api.command.DestinationCommand
 
DIFF - io.specto.hoverfly.junit.core.HoverflyMode
 
DiffReport - Class in io.specto.hoverfly.junit.api.view
 
DiffReport(String, List<DiffReportEntry>) - Constructor for class io.specto.hoverfly.junit.api.view.DiffReport
 
DiffReportEntry - Class in io.specto.hoverfly.junit.api.view
 
DiffReportEntry(String, String, String) - Constructor for class io.specto.hoverfly.junit.api.view.DiffReportEntry
 
DiffView - Class in io.specto.hoverfly.junit.api.view
 
DiffView(List<ResponseDiffForRequestView>) - Constructor for class io.specto.hoverfly.junit.api.view.DiffView
 
disableTemplating() - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
 
disableTlsVerification() - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Configure Hoverfly to skip TLS verification.
dsl(StubServiceBuilder...) - Static method in interface io.specto.hoverfly.junit.core.SimulationSource
Creates a simulation from the dsl You can pass in multiple StubServiceBuilder to simulate services with different base urls

E

empty() - Static method in interface io.specto.hoverfly.junit.core.SimulationSource
Creates no simulation
enableClientAuth(String, String, String...) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Set client certificate and key for mutual TLS authentication with target server
enableIncrementalCapture() - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
By default Hoverfly exports the captured requests and responses to a new file by replacing any existing one.
enableStatefulCapture() - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
By default Hoverfly captures multiple identical requests once only, enable to capture all requests sequentially
endsWith(String) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on a string post-fixed with the given value
equals(Object) - Method in class io.specto.hoverfly.junit.api.view.StateView
 
equals(Object) - Method in class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
equals(Object) - Method in class io.specto.hoverfly.junit.core.model.DelaySettings
 
equals(Object) - Method in class io.specto.hoverfly.junit.core.model.GlobalActions
 
equals(Object) - Method in class io.specto.hoverfly.junit.core.model.HoverflyData
 
equals(Object) - Method in class io.specto.hoverfly.junit.core.model.HoverflyMetaData
 
equals(Object) - Method in class io.specto.hoverfly.junit.core.model.Request
 
equals(Object) - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
equals(Object) - Method in class io.specto.hoverfly.junit.core.model.RequestResponsePair
 
equals(Object) - Method in class io.specto.hoverfly.junit.core.model.Response
 
equals(Object) - Method in class io.specto.hoverfly.junit.core.model.Simulation
 
equalsTo(Object) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that exactly equals to the String value of the given object
equalsToJson(HttpBodyConverter) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on JSON serialized from a JAVA object by HttpBodyConverter
equalsToJson(String) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on the given JSON
equalsToXml(HttpBodyConverter) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on XML serialized from a JAVA object by HttpBodyConverter
equalsToXml(String) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on the given XML
ERROR - io.specto.hoverfly.junit.core.config.LogLevel
 
EXACT - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
exportSimulation(Path) - Method in class io.specto.hoverfly.junit.core.Hoverfly
Exports a simulation and stores it on the filesystem at the given path

F

FATAL - io.specto.hoverfly.junit.core.config.LogLevel
 
file(Path) - Static method in interface io.specto.hoverfly.junit.core.SimulationSource
Creates a simulation from a file
forAll() - Method in class io.specto.hoverfly.junit.dsl.StubServiceDelaySettingsBuilder
 
forbidden() - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
Builds a 403 response
FORM - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
forMethod(String) - Method in class io.specto.hoverfly.junit.dsl.StubServiceDelaySettingsBuilder
 
fromValue(String) - Static method in enum io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 

G

get(RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
get(String) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Creating a GET request matcher
getActionName() - Method in class io.specto.hoverfly.junit.api.model.PostServeAction
 
getActions() - Method in class io.specto.hoverfly.junit.api.view.PostServeActions
 
getActual() - Method in class io.specto.hoverfly.junit.api.view.DiffReportEntry
 
getAdminCertificate() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getAdminPort() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
Gets the admin port Hoverfly is configured to run on
getArguments() - Method in class io.specto.hoverfly.junit.api.command.ModeCommand
 
getAuthHeaderName() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Deprecated.
getAuthHeaderValue() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Deprecated.
getAuthToken() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getBinary() - Method in class io.specto.hoverfly.junit.api.model.PostServeAction
 
getBinary() - Method in class io.specto.hoverfly.junit.core.config.LocalMiddleware
 
getBinaryLocation() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getBinaryNameFormat() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getBody() - Method in class io.specto.hoverfly.junit.core.model.Request
 
getBody() - Method in class io.specto.hoverfly.junit.core.model.RequestDetails
 
getBody() - Method in class io.specto.hoverfly.junit.core.model.Response
 
getBodyFile() - Method in class io.specto.hoverfly.junit.core.model.Response
 
getCaptureHeaders() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getClientAuthDestination() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getClientCaCertPath() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getClientCertPath() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getClientKeyPath() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getCommands() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getConfig() - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
getConfigInfo() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
getConvertedDelay() - Method in class io.specto.hoverfly.junit.dsl.AbstractDelaySettingsBuilder
 
getCsvDataSources() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
getData() - Method in class io.specto.hoverfly.junit.api.model.CsvDataSource
 
getDefaultObjectMapper() - Static method in class io.specto.hoverfly.junit.core.ObjectMapperFactory
 
getDelay() - Method in class io.specto.hoverfly.junit.core.model.DelaySettings
 
getDelays() - Method in class io.specto.hoverfly.junit.core.model.GlobalActions
 
getDelaySettings() - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Used to initialize GlobalActions.
getDestination() - Method in class io.specto.hoverfly.junit.api.command.DestinationCommand
 
getDestination() - Method in class io.specto.hoverfly.junit.api.view.HoverflyInfoView
 
getDestination() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getDestination() - Method in class io.specto.hoverfly.junit.core.model.Request
 
getDestination() - Method in class io.specto.hoverfly.junit.core.model.RequestDetails
 
getDiffReports() - Method in class io.specto.hoverfly.junit.api.view.ResponseDiffForRequestView
 
getDiffs() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
getDiffs() - Method in class io.specto.hoverfly.junit.api.view.DiffView
 
getDiffs() - Method in error io.specto.hoverfly.junit.verification.HoverflyDiffAssertionError
 
getDirection() - Method in class io.specto.hoverfly.junit.api.command.SortParams
 
getDoMatch() - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
getEntries() - Method in class io.specto.hoverfly.junit.api.view.DiffReport
 
getEntries() - Method in class io.specto.hoverfly.junit.api.view.JournalIndexView
 
getEntries() - Method in class io.specto.hoverfly.junit.core.model.Journal
 
getExpected() - Method in class io.specto.hoverfly.junit.api.view.DiffReportEntry
 
getField() - Method in class io.specto.hoverfly.junit.api.view.DiffReportEntry
 
getFixedDelay() - Method in class io.specto.hoverfly.junit.core.model.Response
 
getGlobalActions() - Method in class io.specto.hoverfly.junit.core.model.HoverflyData
 
getHeaders() - Method in class io.specto.hoverfly.junit.core.model.Request
 
getHeaders() - Method in class io.specto.hoverfly.junit.core.model.RequestDetails
 
getHeaders() - Method in class io.specto.hoverfly.junit.core.model.Response
 
getHeadersWhitelist() - Method in class io.specto.hoverfly.junit.api.model.ModeArguments
 
getHealth() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
Check Hoverfly is healthy
getHealthCheckRetryInterval() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getHealthCheckTimeout() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getHost() - Method in class io.specto.hoverfly.junit.api.view.SimpleRequestDefinitionView
 
getHost() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
Returns the host for the remote instance of hoverfly
getHoverflyConfig() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Gets the validated HoverflyConfig object used by the current Hoverfly instance
getHoverflyData() - Method in class io.specto.hoverfly.junit.core.model.Simulation
 
getHoverflyInfo() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Gets configuration information from the running instance of Hoverfly.
getHoverflyLogger() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getHoverflyMetaData() - Method in class io.specto.hoverfly.junit.core.model.Simulation
 
getHoverflyMode() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Gets started Hoverfly mode
getHoverflyVersion() - Method in class io.specto.hoverfly.junit.core.model.HoverflyMetaData
 
getHttpMethod() - Method in class io.specto.hoverfly.junit.core.model.DelaySettings
 
getJournal() - Method in class io.specto.hoverfly.junit.verification.VerificationData
 
getJournal(int, int) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
getJournal(int, int, SortParams) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
getJournalEntryId() - Method in class io.specto.hoverfly.junit.api.view.JournalIndexView.JournalIndexEntry
 
getJournalIndex() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
getKey() - Method in class io.specto.hoverfly.junit.api.view.JournalIndexView.JournalIndexEntry
 
getLabels() - Method in class io.specto.hoverfly.junit.core.model.RequestResponsePair
 
getLatency() - Method in class io.specto.hoverfly.junit.core.model.JournalEntry
 
getLimit() - Method in class io.specto.hoverfly.junit.core.model.Journal
 
getLocalMiddleware() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getLogLevel() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getLogNormalDelay() - Method in class io.specto.hoverfly.junit.core.model.Response
 
getMatcher() - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
getMatchingStrategy() - Method in class io.specto.hoverfly.junit.api.model.ModeArguments
 
getMax() - Method in class io.specto.hoverfly.junit.core.model.LogNormalDelay
 
getMean() - Method in class io.specto.hoverfly.junit.core.model.LogNormalDelay
 
getMedian() - Method in class io.specto.hoverfly.junit.core.model.LogNormalDelay
 
getMethod() - Method in class io.specto.hoverfly.junit.api.view.SimpleRequestDefinitionView
 
getMethod() - Method in class io.specto.hoverfly.junit.core.model.Request
 
getMethod() - Method in class io.specto.hoverfly.junit.core.model.RequestDetails
 
getMiddleware() - Method in class io.specto.hoverfly.junit.api.view.HoverflyInfoView
 
getMin() - Method in class io.specto.hoverfly.junit.core.model.LogNormalDelay
 
getMode() - Method in class io.specto.hoverfly.junit.api.command.ModeCommand
 
getMode() - Method in class io.specto.hoverfly.junit.api.view.HoverflyInfoView
 
getMode() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Gets the currently activated Hoverfly mode
getMode() - Method in class io.specto.hoverfly.junit.core.model.JournalEntry
 
getModeArguments() - Method in class io.specto.hoverfly.junit.api.view.HoverflyInfoView
 
getName() - Method in class io.specto.hoverfly.junit.api.command.JournalIndexCommand
 
getName() - Method in class io.specto.hoverfly.junit.api.model.CsvDataSource
 
getName() - Method in class io.specto.hoverfly.junit.api.view.JournalIndexView
 
getOffset() - Method in class io.specto.hoverfly.junit.core.model.Journal
 
getPairs() - Method in class io.specto.hoverfly.junit.core.model.HoverflyData
 
getPath() - Method in class io.specto.hoverfly.junit.api.view.SimpleRequestDefinitionView
 
getPath() - Method in class io.specto.hoverfly.junit.core.config.LocalMiddleware
 
getPath() - Method in class io.specto.hoverfly.junit.core.model.Request
 
getPath() - Method in class io.specto.hoverfly.junit.core.model.RequestDetails
 
getPostServeAction() - Method in class io.specto.hoverfly.junit.core.model.Response
 
getPostServeActions() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
getPrettyPrinter() - Static method in class io.specto.hoverfly.junit.core.ObjectMapperFactory
 
getProperty() - Method in class io.specto.hoverfly.junit.api.command.SortParams
 
getProxyCaCertificate() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getProxyPort() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
Gets the proxy port Hoverfly is configured to run on
getProxyPort() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Gets the proxy port this has run on, which could be useful when running Hoverfly on a random port.
getQuery() - Method in class io.specto.hoverfly.junit.api.view.SimpleRequestDefinitionView
 
getQuery() - Method in class io.specto.hoverfly.junit.core.model.Request
 
getQuery() - Method in class io.specto.hoverfly.junit.core.model.RequestDetails
 
getRemote() - Method in class io.specto.hoverfly.junit.api.model.PostServeAction
 
getRemovesState() - Method in class io.specto.hoverfly.junit.core.model.Response
 
getRequest() - Method in class io.specto.hoverfly.junit.api.command.JournalSearchCommand
 
getRequest() - Method in class io.specto.hoverfly.junit.api.view.ResponseDiffForRequestView
 
getRequest() - Method in class io.specto.hoverfly.junit.core.model.JournalEntry
 
getRequest() - Method in class io.specto.hoverfly.junit.core.model.RequestResponsePair
 
getRequestResponsePairs() - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Used for retrieving all the requestResponsePairs that the builder contains
getRequiresState() - Method in class io.specto.hoverfly.junit.core.model.Request
 
getResponse() - Method in class io.specto.hoverfly.junit.core.model.JournalEntry
 
getResponse() - Method in class io.specto.hoverfly.junit.core.model.RequestResponsePair
 
getResponseBodyFilesPath() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getSchemaVersion() - Method in class io.specto.hoverfly.junit.core.model.HoverflyMetaData
 
getScheme() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getScheme() - Method in class io.specto.hoverfly.junit.core.model.Request
 
getScheme() - Method in class io.specto.hoverfly.junit.core.model.RequestDetails
 
getScript() - Method in class io.specto.hoverfly.junit.api.model.PostServeAction
 
getSimulation() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
getSimulation() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Gets the simulation currently used by the running Hoverfly instance
getSimulation() - Method in interface io.specto.hoverfly.junit.core.SimulationSource
 
getSimulationJson() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
Get the simulation from Hoverfly as JsonNode
getSimulationPreprocessor() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getSslCertificatePath() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
Gets the path to SSL certificate
getSslConfigurer() - Method in class io.specto.hoverfly.junit.core.Hoverfly
 
getSslConfigurer() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
 
getSslContext() - Method in class io.specto.hoverfly.junit.core.SslConfigurer
 
getSslKeyPath() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
Gets the path to SSL key
getState() - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
Gets the state from Hoverfly.
getState() - Method in class io.specto.hoverfly.junit.api.view.StateView
 
getState() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Get all state from Hoverfly
getState() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Get all state from Hoverfly
getStatus() - Method in class io.specto.hoverfly.junit.core.model.Response
 
getTimeExported() - Method in class io.specto.hoverfly.junit.core.model.HoverflyMetaData
 
getTimestamp() - Method in class io.specto.hoverfly.junit.api.view.DiffReport
 
getTimeStarted() - Method in class io.specto.hoverfly.junit.core.model.JournalEntry
 
getTotal() - Method in class io.specto.hoverfly.junit.core.model.Journal
 
getTransitionsState() - Method in class io.specto.hoverfly.junit.core.model.Response
 
getTrustManager() - Method in class io.specto.hoverfly.junit.core.SslConfigurer
 
getUpstreamProxy() - Method in class io.specto.hoverfly.junit.api.view.HoverflyInfoView
 
getUpstreamProxy() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
getUrlPattern() - Method in class io.specto.hoverfly.junit.core.model.DelaySettings
 
getUsage() - Method in class io.specto.hoverfly.junit.api.view.HoverflyInfoView
 
getValue() - Method in enum io.specto.hoverfly.junit.core.HoverflyMode
 
getValue() - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
getValue() - Method in enum io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
getVersion() - Method in class io.specto.hoverfly.junit.api.view.HoverflyInfoView
 
GLOB - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
GlobalActions - Class in io.specto.hoverfly.junit.core.model
 
GlobalActions(List<DelaySettings>) - Constructor for class io.specto.hoverfly.junit.core.model.GlobalActions
 

H

hashCode() - Method in class io.specto.hoverfly.junit.api.view.StateView
 
hashCode() - Method in class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
hashCode() - Method in class io.specto.hoverfly.junit.core.model.DelaySettings
 
hashCode() - Method in class io.specto.hoverfly.junit.core.model.GlobalActions
 
hashCode() - Method in class io.specto.hoverfly.junit.core.model.HoverflyData
 
hashCode() - Method in class io.specto.hoverfly.junit.core.model.HoverflyMetaData
 
hashCode() - Method in class io.specto.hoverfly.junit.core.model.Request
 
hashCode() - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
hashCode() - Method in class io.specto.hoverfly.junit.core.model.RequestResponsePair
 
hashCode() - Method in class io.specto.hoverfly.junit.core.model.Response
 
hashCode() - Method in class io.specto.hoverfly.junit.core.model.Simulation
 
head(RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
head(String) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Creating a HEAD request matcher
header(String, RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
Add a header matcher
header(String, Object...) - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
Add a header matcher
header(String, String) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Sets a header
headers(Map<String, List<RequestFieldMatcher>>) - Method in class io.specto.hoverfly.junit.core.model.Request.Builder
 
healthCheckRetryInterval(Duration) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Set the interval between health checks.
healthCheckRetryInterval(Duration) - Method in class io.specto.hoverfly.junit.core.config.RemoteHoverflyConfig
Set the interval between health checks.
healthCheckTimeout(Duration) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Set the maximum time to wait for Hoverfly to be healthy.
healthCheckTimeout(Duration) - Method in class io.specto.hoverfly.junit.core.config.RemoteHoverflyConfig
Set the maximum time to wait for Hoverfly to be healthy.
host(String) - Method in class io.specto.hoverfly.junit.api.HoverflyClient.Builder
 
host(String) - Method in class io.specto.hoverfly.junit.core.config.RemoteHoverflyConfig
Sets hostname for the external Hoverfly, default to localhost
Hoverfly - Class in io.specto.hoverfly.junit.core
A wrapper class for the Hoverfly binary.
Hoverfly(HoverflyConfig, HoverflyMode) - Constructor for class io.specto.hoverfly.junit.core.Hoverfly
Instantiates Hoverfly
Hoverfly(HoverflyMode) - Constructor for class io.specto.hoverfly.junit.core.Hoverfly
Instantiates Hoverfly
HOVERFLY_AUTH_TOKEN - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
HoverflyClient - Interface in io.specto.hoverfly.junit.api
Http client for querying Hoverfly admin endpoints
HoverflyClient.Builder - Class in io.specto.hoverfly.junit.api
HTTP client builder for Hoverfly admin API
HoverflyClientException - Exception in io.specto.hoverfly.junit.api
 
HoverflyClientException(String) - Constructor for exception io.specto.hoverfly.junit.api.HoverflyClientException
 
HoverflyConfig - Class in io.specto.hoverfly.junit.core
Config builder interface for common settings of Hoverfly
HoverflyConfig() - Constructor for class io.specto.hoverfly.junit.core.HoverflyConfig
 
HoverflyConfiguration - Class in io.specto.hoverfly.junit.core.config
Configurations for Hoverfly instance
HoverflyConfiguration(int, int, boolean, String, String, List<String>, boolean, Logger, LogLevel, boolean, boolean, SimulationPreprocessor) - Constructor for class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
Create configurations for internal-managed hoverfly
HoverflyConstants - Class in io.specto.hoverfly.junit.core
 
HoverflyData - Class in io.specto.hoverfly.junit.core.model
 
HoverflyData(Set<RequestResponsePair>, GlobalActions) - Constructor for class io.specto.hoverfly.junit.core.model.HoverflyData
 
HoverflyDiffAssertionError - Error in io.specto.hoverfly.junit.verification
 
HoverflyDiffAssertionError(String, DiffView) - Constructor for error io.specto.hoverfly.junit.verification.HoverflyDiffAssertionError
 
HoverflyDsl - Class in io.specto.hoverfly.junit.dsl
Entry point to a DSL which can be used to generate a Hoverfly simulation.
HoverflyDslException - Exception in io.specto.hoverfly.junit.dsl
 
HoverflyDslException(String) - Constructor for exception io.specto.hoverfly.junit.dsl.HoverflyDslException
 
HoverflyInfoView - Class in io.specto.hoverfly.junit.api.view
 
HoverflyInfoView(String, String, ModeArguments, HoverflyInfoView.Usage, HoverflyInfoView.Middleware, String, String) - Constructor for class io.specto.hoverfly.junit.api.view.HoverflyInfoView
 
HoverflyMatchers - Class in io.specto.hoverfly.junit.dsl.matchers
 
HoverflyMetaData - Class in io.specto.hoverfly.junit.core.model
 
HoverflyMetaData() - Constructor for class io.specto.hoverfly.junit.core.model.HoverflyMetaData
 
HoverflyMetaData(String, String, String) - Constructor for class io.specto.hoverfly.junit.core.model.HoverflyMetaData
 
HoverflyMode - Enum in io.specto.hoverfly.junit.core
Enums denoting the possible modes for Hoverfly
HoverflyRule - Class in io.specto.hoverfly.junit.rule
The HoverflyRule auto-spins up a Hoverfly process, and tears it down at the end of your tests.
HoverflyVerificationError - Error in io.specto.hoverfly.junit.verification
 
HoverflyVerificationError(String) - Constructor for error io.specto.hoverfly.junit.verification.HoverflyVerificationError
 
HoverflyVerifications - Class in io.specto.hoverfly.junit.verification
 
HTTP - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
HttpBodyConverter - Interface in io.specto.hoverfly.junit.dsl
Interface for converting a java object into a http request body, and storing the appropriate content type header value
HTTPS - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 

I

importSimulation(SimulationSource) - Method in class io.specto.hoverfly.junit.core.Hoverfly
Deprecated.
inCaptureMode() - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
 
inCaptureMode(HoverflyConfig) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
 
inCaptureMode(String) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in capture mode
inCaptureMode(String, HoverflyConfig) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in capture mode
inCaptureMode(String, String) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in capture mode
inCaptureMode(String, String, HoverflyConfig) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in capture mode
inCaptureOrSimulationMode(String) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in capture mode if recorded file is not present, or in simulation mode if record file is present
inCaptureOrSimulationMode(String, HoverflyConfig) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in capture mode if recorded file is not present, or in simulation mode if record file is present
incrementalCapture - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
inDiffMode() - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in diff mode with no data
inDiffMode(HoverflyConfig) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in diff mode with no data
inDiffMode(SimulationSource) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in diff mode
inDiffMode(SimulationSource, HoverflyConfig) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in diff mode
INFO - io.specto.hoverfly.junit.core.config.LogLevel
 
inSimulationMode() - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in simulate mode with no data
inSimulationMode(HoverflyConfig) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in simulate mode with no data
inSimulationMode(SimulationSource) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in simulate mode
inSimulationMode(SimulationSource, HoverflyConfig) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
 
inSpyMode() - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in spy mode with no data
inSpyMode(HoverflyConfig) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in spy mode with no data
inSpyMode(SimulationSource) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
Instantiates a rule which runs Hoverfly in spy mode
inSpyMode(SimulationSource, HoverflyConfig) - Static method in class io.specto.hoverfly.junit.rule.HoverflyRule
 
io.specto.hoverfly.junit.api - package io.specto.hoverfly.junit.api
 
io.specto.hoverfly.junit.api.command - package io.specto.hoverfly.junit.api.command
 
io.specto.hoverfly.junit.api.model - package io.specto.hoverfly.junit.api.model
 
io.specto.hoverfly.junit.api.view - package io.specto.hoverfly.junit.api.view
 
io.specto.hoverfly.junit.core - package io.specto.hoverfly.junit.core
 
io.specto.hoverfly.junit.core.config - package io.specto.hoverfly.junit.core.config
 
io.specto.hoverfly.junit.core.model - package io.specto.hoverfly.junit.core.model
 
io.specto.hoverfly.junit.dsl - package io.specto.hoverfly.junit.dsl
 
io.specto.hoverfly.junit.dsl.matchers - package io.specto.hoverfly.junit.dsl.matchers
 
io.specto.hoverfly.junit.rule - package io.specto.hoverfly.junit.rule
 
io.specto.hoverfly.junit.verification - package io.specto.hoverfly.junit.verification
 
isClientAuthEnabled() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
isEncodedBody() - Method in class io.specto.hoverfly.junit.core.model.Response
 
isHealthy() - Method in class io.specto.hoverfly.junit.core.Hoverfly
 
isIgnoreOccurrences() - Method in class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
isIgnoreOrder() - Method in class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
isIgnoreUnknown() - Method in class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
isIncrementalCapture() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
isMiddlewareEnabled() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
isPlainHttpTunneling() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
isProxyLocalHost() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
isRelativeResponseBodyFilesPath - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
isRelativeResponseBodyFilesPath() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
isRemoteInstance() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
isStateful() - Method in class io.specto.hoverfly.junit.api.model.ModeArguments
 
isStatefulCapture() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
isTemplated() - Method in class io.specto.hoverfly.junit.core.model.Response
 
isTlsVerificationDisabled() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
isValid() - Method in class io.specto.hoverfly.junit.dsl.AbstractDelaySettingsBuilder
 
isWebServer() - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 

J

Journal - Class in io.specto.hoverfly.junit.core.model
 
Journal(List<JournalEntry>, int, int, int) - Constructor for class io.specto.hoverfly.junit.core.model.Journal
 
JournalEntry - Class in io.specto.hoverfly.junit.core.model
 
JournalEntry(RequestDetails, Response, String, ZonedDateTime, Double) - Constructor for class io.specto.hoverfly.junit.core.model.JournalEntry
 
JournalIndexCommand - Class in io.specto.hoverfly.junit.api.command
 
JournalIndexCommand(String) - Constructor for class io.specto.hoverfly.junit.api.command.JournalIndexCommand
 
JournalIndexView - Class in io.specto.hoverfly.junit.api.view
 
JournalIndexView(String, List<JournalIndexView.JournalIndexEntry>) - Constructor for class io.specto.hoverfly.junit.api.view.JournalIndexView
 
JournalIndexView.JournalIndexEntry - Class in io.specto.hoverfly.junit.api.view
 
JournalSearchCommand - Class in io.specto.hoverfly.junit.api.command
 
JournalSearchCommand() - Constructor for class io.specto.hoverfly.junit.api.command.JournalSearchCommand
 
JournalSearchCommand(Request) - Constructor for class io.specto.hoverfly.junit.api.command.JournalSearchCommand
 
json(Object) - Static method in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
Converts a given object into json, and returns application/json content type
json(Object, ObjectMapper) - Static method in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
Converts a given object into json, and returns application/json content type
JSON - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
JSONPARTIAL - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
JSONPATH - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
jsonWithSingleQuotes(String) - Static method in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
Reads the input text with possible single quotes as delimiters and returns a String correctly formatted.
JWT - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 

L

local(String, String, String) - Static method in class io.specto.hoverfly.junit.api.model.PostServeAction
 
localConfigs() - Static method in class io.specto.hoverfly.junit.core.HoverflyConfig
Creates a new instance of LocalHoverflyConfig
LOCALHOST - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
LocalHoverflyConfig - Class in io.specto.hoverfly.junit.core.config
Config builder interface for settings specific to Hoverfly managed internally
LocalHoverflyConfig() - Constructor for class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
 
localMiddleware(String, String) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Sets the middleware for Hoverfly
LocalMiddleware - Class in io.specto.hoverfly.junit.core.config
 
logger(String) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Set the name of the logger to use when logging the output of the Hoverfly binary.
logLevel(LogLevel) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Set the log level of Hoverfly.
LogLevel - Enum in io.specto.hoverfly.junit.core.config
 
LogNormalDelay - Class in io.specto.hoverfly.junit.core.model
 
LogNormalDelay(int, int, int, int) - Constructor for class io.specto.hoverfly.junit.core.model.LogNormalDelay
 
logToStdOut() - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Change the Hoverfly binary to output directly to System.out.

M

marshallJson(Object, ObjectMapper) - Static method in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
 
MatcherConfig - Interface in io.specto.hoverfly.junit.core.model
 
matches(String) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches a GLOB pattern.
matchesGoRegex(String) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches a Golang regex pattern.
matchesJsonPath(String) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on the given JsonPath expression
matchesPartialJson(HttpBodyConverter) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on a partial JSON document serialized from a JAVA object by HttpBodyConverter
matchesPartialJson(String) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on the given partial JSON document
matchesXPath(String) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on the given XPath expression
method(List<RequestFieldMatcher<String>>) - Method in class io.specto.hoverfly.junit.core.model.Request.Builder
 
ModeArguments - Class in io.specto.hoverfly.junit.api.model
 
ModeArguments() - Constructor for class io.specto.hoverfly.junit.api.model.ModeArguments
 
ModeArguments(List<String>) - Constructor for class io.specto.hoverfly.junit.api.model.ModeArguments
 
ModeArguments(List<String>, boolean) - Constructor for class io.specto.hoverfly.junit.api.model.ModeArguments
 
ModeCommand - Class in io.specto.hoverfly.junit.api.command
 
ModeCommand() - Constructor for class io.specto.hoverfly.junit.api.command.ModeCommand
 
ModeCommand(HoverflyMode) - Constructor for class io.specto.hoverfly.junit.api.command.ModeCommand
 
ModeCommand(HoverflyMode, ModeArguments) - Constructor for class io.specto.hoverfly.junit.api.command.ModeCommand
 
MODIFY - io.specto.hoverfly.junit.core.HoverflyMode
 

N

never() - Static method in class io.specto.hoverfly.junit.verification.HoverflyVerifications
 
newArrayMatcher(List<String>) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newArrayMatcher(List<String>, ArrayMatcherConfig) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newEmptyInstance() - Static method in class io.specto.hoverfly.junit.core.model.Simulation
 
newExactMatcher(String) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newFormMatcher(Map<String, List<RequestFieldMatcher<?>>>) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newGlobMatcher(String) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newInstance(String, String, String, String) - Static method in class io.specto.hoverfly.junit.api.model.PostServeAction
 
newJsonMatcher(String) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newJsonPartialMatcher(String) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newJsonPathMatch(String) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newJwtMatcher(String) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newRegexMatcher(String) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newXmlMatcher(String) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
newXpathMatcher(String) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
next(RequestFieldMatcher<?>) - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherChainingBuilder
 
noContent() - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
Builds a 204 response
NoDiffAssertionRule - Class in io.specto.hoverfly.junit.rule
Asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.
NoDiffAssertionRule(Hoverfly) - Constructor for class io.specto.hoverfly.junit.rule.NoDiffAssertionRule
Creates a rule with the given instance of Hoverfly that asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.
NoDiffAssertionRule(HoverflyConfig) - Constructor for class io.specto.hoverfly.junit.rule.NoDiffAssertionRule
Creates a rule with the given instance of HoverflyConfig that asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.
NoDiffAssertionRule(HoverflyRule) - Constructor for class io.specto.hoverfly.junit.rule.NoDiffAssertionRule
Creates a rule with the given instance of HoverflyRule that asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.
notFound() - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
 

O

ObjectMapperFactory - Class in io.specto.hoverfly.junit.core
 
ObjectMapperFactory() - Constructor for class io.specto.hoverfly.junit.core.ObjectMapperFactory
 
options(RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
options(String) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Creating a OPTIONS request matcher
overrideDefaultCaCert(String, String) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Sets the certificate and key files to override the default Hoverfly's CA cert

P

PANIC - io.specto.hoverfly.junit.core.config.LogLevel
 
patch(RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
patch(String) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Creating a PATCH request matcher
path(List<RequestFieldMatcher<String>>) - Method in class io.specto.hoverfly.junit.core.model.Request.Builder
 
plainHttpTunneling() - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Invoke to enable plain http tunneling By default it is false
port(int) - Method in class io.specto.hoverfly.junit.api.HoverflyClient.Builder
 
post(RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
post(String) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Creating a POST request matcher
PostServeAction - Class in io.specto.hoverfly.junit.api.model
 
PostServeActions - Class in io.specto.hoverfly.junit.api.view
 
PostServeActions(List<PostServeAction>) - Constructor for class io.specto.hoverfly.junit.api.view.PostServeActions
 
printSimulationData() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Print the simulation data to console for debugging purpose.
proxyCaCert - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
proxyCaCert(String) - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Set proxy CA certificate to validate the authenticity of a Hoverfly instance.
proxyLocalHost - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
proxyLocalHost() - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Invoke to enable proxying of localhost requests By default it is false
proxyLocalHost(boolean) - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Deprecated.
proxyPort - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
proxyPort(int) - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Sets the proxy port for Hoverfly
put(RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
put(String) - Method in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
Creating a PUT request matcher

Q

query(Map<String, List<RequestFieldMatcher>>) - Method in class io.specto.hoverfly.junit.core.model.Request.Builder
 
queryParam(String, RequestFieldMatcher) - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
Add a query matcher
queryParam(String, Object...) - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
Add a query matcher

R

REGEX - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
relativeResponseBodyFilesPath(String) - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Override the default parent path for resolving the response body file (relative to the test resources folder).
remote() - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
remote(String, String) - Static method in class io.specto.hoverfly.junit.api.model.PostServeAction
 
remoteConfigs() - Static method in class io.specto.hoverfly.junit.core.HoverflyConfig
Creates a new instance of RemoteHoverflyConfig
RemoteHoverflyConfig - Class in io.specto.hoverfly.junit.core.config
Config builder interface for settings specific to external/remote Hoverfly instance
RemoteHoverflyConfig() - Constructor for class io.specto.hoverfly.junit.core.config.RemoteHoverflyConfig
 
Request - Class in io.specto.hoverfly.junit.core.model
 
Request() - Constructor for class io.specto.hoverfly.junit.core.model.Request
 
Request(List<RequestFieldMatcher<String>>, List<RequestFieldMatcher<String>>, List<RequestFieldMatcher<String>>, List<RequestFieldMatcher<String>>, Map<String, List<RequestFieldMatcher>>, List<RequestFieldMatcher>, Map<String, List<RequestFieldMatcher>>, Map<String, String>) - Constructor for class io.specto.hoverfly.junit.core.model.Request
 
Request.Builder - Class in io.specto.hoverfly.junit.core.model
 
RequestDetails - Class in io.specto.hoverfly.junit.core.model
 
RequestDetails(String, String, String, String, String, String, Map<String, List<String>>) - Constructor for class io.specto.hoverfly.junit.core.model.RequestDetails
 
RequestFieldMatcher<T> - Class in io.specto.hoverfly.junit.core.model
 
RequestFieldMatcher() - Constructor for class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
RequestFieldMatcher(RequestFieldMatcher.MatcherType, T) - Constructor for class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
RequestFieldMatcher(RequestFieldMatcher.MatcherType, T, MatcherConfig) - Constructor for class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
RequestFieldMatcher.MatcherChainingBuilder - Class in io.specto.hoverfly.junit.core.model
 
RequestFieldMatcher.MatcherType - Enum in io.specto.hoverfly.junit.core.model
 
RequestMatcherBuilder - Class in io.specto.hoverfly.junit.dsl
A builder for Request
RequestResponsePair - Class in io.specto.hoverfly.junit.core.model
 
RequestResponsePair(Request, Response) - Constructor for class io.specto.hoverfly.junit.core.model.RequestResponsePair
 
RequestResponsePair(Request, Response, List<String>) - Constructor for class io.specto.hoverfly.junit.core.model.RequestResponsePair
 
requiresState(Map<String, String>) - Method in class io.specto.hoverfly.junit.core.model.Request.Builder
 
reset() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Delete existing simulations and journals
reset() - Method in class io.specto.hoverfly.junit.core.SslConfigurer
 
resetDiffs() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Deletes all diffs from Hoverfly
resetDiffs() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
 
resetJournal() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Delete journal logs
resetJournal() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
 
resetMode(HoverflyMode) - Method in class io.specto.hoverfly.junit.core.Hoverfly
Reset mode with the initial mode arguments.
resetState() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Deletes all state from Hoverfly
resetState() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Deletes all state from Hoverfly
response() - Static method in class io.specto.hoverfly.junit.dsl.HoverflyDsl
Instantiates a new instance
response() - Static method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Deprecated.
Response - Class in io.specto.hoverfly.junit.core.model
 
Response(Integer, String, boolean, boolean, Map<String, List<String>>, Map<String, String>, List<String>, Integer, LogNormalDelay, String) - Constructor for class io.specto.hoverfly.junit.core.model.Response
 
Response(Integer, String, String, boolean, boolean, Map<String, List<String>>, Map<String, String>, List<String>, Integer, LogNormalDelay, String) - Constructor for class io.specto.hoverfly.junit.core.model.Response
 
responseBodyFilesPath - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
ResponseBuilder - Class in io.specto.hoverfly.junit.dsl
A builder for building Response
ResponseCreators - Class in io.specto.hoverfly.junit.dsl
Wrapper around a ResponseBuilder for building common types of responses
ResponseDelaySettingsBuilder - Class in io.specto.hoverfly.junit.dsl
 
ResponseDiffForRequestView - Class in io.specto.hoverfly.junit.api.view
 
ResponseDiffForRequestView(SimpleRequestDefinitionView, List<DiffReport>) - Constructor for class io.specto.hoverfly.junit.api.view.ResponseDiffForRequestView
 
root(RequestFieldMatcher<?>) - Static method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherChainingBuilder
 

S

scheme - Variable in class io.specto.hoverfly.junit.dsl.StubServiceBuilder
 
scheme(String) - Method in class io.specto.hoverfly.junit.api.HoverflyClient.Builder
 
scheme(List<RequestFieldMatcher<String>>) - Method in class io.specto.hoverfly.junit.core.model.Request.Builder
 
searchJournal(Request) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
serverError() - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
Builds a 500 response
service(RequestFieldMatcher) - Static method in class io.specto.hoverfly.junit.dsl.HoverflyDsl
 
service(String) - Static method in class io.specto.hoverfly.junit.dsl.HoverflyDsl
Instantiates a DSL for a given service.
setAdminPort(int) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setArguments(ModeArguments) - Method in class io.specto.hoverfly.junit.api.command.ModeCommand
 
setBinaryLocation(String) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setBinaryNameFormat(String) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setBody(List<RequestFieldMatcher>) - Method in class io.specto.hoverfly.junit.core.model.Request
 
setClientAuthDestination(String) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setClientCaCertPath(String) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setClientCertPath(String) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setClientKeyPath(String) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setCommands(List<String>) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setConfig(MatcherConfig) - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
setDestination(String) - Method in class io.specto.hoverfly.junit.api.command.DestinationCommand
 
setDestination(String) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
setDestination(String) - Method in class io.specto.hoverfly.junit.core.Hoverfly
Sets a new destination for the running instance of Hoverfly, overwriting the existing destination setting.
setDestination(List<RequestFieldMatcher<String>>) - Method in class io.specto.hoverfly.junit.core.model.Request
 
setDoMatch(RequestFieldMatcher<?>) - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
setHeaders(Map<String, List<RequestFieldMatcher>>) - Method in class io.specto.hoverfly.junit.core.model.Request
 
setHeadersWhitelist(List<String>) - Method in class io.specto.hoverfly.junit.api.model.ModeArguments
 
setHealthCheckRetryInterval(Duration) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setHealthCheckTimeout(Duration) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setIgnoreOccurrences(boolean) - Method in class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
setIgnoreOrder(boolean) - Method in class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
setIgnoreUnknown(boolean) - Method in class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
setJournal(Journal) - Method in class io.specto.hoverfly.junit.verification.VerificationData
 
setLocalMiddleware(LocalMiddleware) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setMatcher(RequestFieldMatcher.MatcherType) - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
setMatchingStrategy(String) - Method in class io.specto.hoverfly.junit.api.model.ModeArguments
 
setMethod(List<RequestFieldMatcher<String>>) - Method in class io.specto.hoverfly.junit.core.model.Request
 
setMode(HoverflyMode) - Method in class io.specto.hoverfly.junit.api.command.ModeCommand
 
setMode(HoverflyMode) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
Update Hoverfly mode
setMode(HoverflyMode) - Method in class io.specto.hoverfly.junit.core.Hoverfly
Changes the mode of the running instance of Hoverfly.
setMode(HoverflyMode, ModeArguments) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
Update Hoverfly mode with additional arguments
setPath(List<RequestFieldMatcher<String>>) - Method in class io.specto.hoverfly.junit.core.model.Request
 
setPlainHttpTunneling(boolean) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setProxyPort(int) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setQuery(Map<String, List<RequestFieldMatcher>>) - Method in class io.specto.hoverfly.junit.core.model.Request
 
setRelativeResponseBodyFilesPath(boolean) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setRequest(Request) - Method in class io.specto.hoverfly.junit.api.command.JournalSearchCommand
 
setRequiresState(Map<String, String>) - Method in class io.specto.hoverfly.junit.core.model.Request
 
setResponseBodyFilesPath(String) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setScheme(List<RequestFieldMatcher<String>>) - Method in class io.specto.hoverfly.junit.core.model.Request
 
setSimulation(Simulation) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
Set the given simulation data, overwriting any existing one.
setSimulation(String) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
setSimulationPreprocessor(SimulationPreprocessor) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setSslCertificatePath(String) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setSslKeyPath(String) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setState(StateView) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
Deletes all state from Hoverfly and then sets the state with the specified StateView.
setState(Map<String, String>) - Method in class io.specto.hoverfly.junit.core.Hoverfly
Deletes all state from Hoverfly and then sets the state.
setState(Map<String, String>) - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Deletes all state from Hoverfly and then sets the state.
setStateful(boolean) - Method in class io.specto.hoverfly.junit.api.model.ModeArguments
 
setTlsVerificationDisabled(boolean) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setUpstreamProxy(String) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
setValue(T) - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
setWebServer(boolean) - Method in class io.specto.hoverfly.junit.core.config.HoverflyConfiguration
 
SimpleRequestDefinitionView - Class in io.specto.hoverfly.junit.api.view
 
SimpleRequestDefinitionView(String, String, String, String) - Constructor for class io.specto.hoverfly.junit.api.view.SimpleRequestDefinitionView
 
simulate(SimulationSource, SimulationSource...) - Method in class io.specto.hoverfly.junit.core.Hoverfly
 
simulate(SimulationSource, SimulationSource...) - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Changes the Simulation used by Hoverfly It also reset the journal to ensure verification can be done on the new simulation source.
SIMULATE - io.specto.hoverfly.junit.core.HoverflyMode
 
simulation(Simulation) - Static method in interface io.specto.hoverfly.junit.core.SimulationSource
Creates a simulation from a Simulation object
Simulation - Class in io.specto.hoverfly.junit.core.model
 
Simulation(HoverflyData, HoverflyMetaData) - Constructor for class io.specto.hoverfly.junit.core.model.Simulation
 
simulationPreprocessor - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
simulationPreprocessor(SimulationPreprocessor) - Method in class io.specto.hoverfly.junit.core.HoverflyConfig
Provides the ability to pre-process the mutable Simulation instance prior to handing it over to the Hoverfly client.
SimulationPreprocessor - Interface in io.specto.hoverfly.junit.core
A SimulationPreprocessor processesSimulation instances prior to handing them over to Hoverfly client.
SimulationSource - Interface in io.specto.hoverfly.junit.core
Interface for reading simulation source as a String
SingleQuoteHttpBodyConverter - Class in io.specto.hoverfly.junit.dsl
 
SingleQuoteHttpBodyConverter(String) - Constructor for class io.specto.hoverfly.junit.dsl.SingleQuoteHttpBodyConverter
 
SortParams - Class in io.specto.hoverfly.junit.api.command
 
SortParams(String, SortParams.Direction) - Constructor for class io.specto.hoverfly.junit.api.command.SortParams
 
SortParams.Direction - Enum in io.specto.hoverfly.junit.api.command
 
SPY - io.specto.hoverfly.junit.core.HoverflyMode
 
sslCertificatePath(String) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Deprecated.
SslConfigurer - Class in io.specto.hoverfly.junit.core
A component for configuring SSL context to enable HTTPS connection to hoverfly instance
sslKeyPath(String) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Deprecated.
start() - Method in class io.specto.hoverfly.junit.core.Hoverfly
Adds Hoverfly SSL certificate to the trust store Sets the proxy system properties to route through Hoverfly Starts Hoverfly
startsWith(String) - Static method in class io.specto.hoverfly.junit.dsl.matchers.HoverflyMatchers
Create a matcher that matches on a string prefixed with the given value
statefulCapture - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
StateView - Class in io.specto.hoverfly.junit.api.view
 
StateView(Map<String, String>) - Constructor for class io.specto.hoverfly.junit.api.view.StateView
 
status(int) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Sets the status
StubServiceBuilder - Class in io.specto.hoverfly.junit.dsl
Used as part of the DSL for creating a RequestResponsePair used within a Hoverfly Simulation.
StubServiceDelaySettingsBuilder - Class in io.specto.hoverfly.junit.dsl
 
success() - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
Builds a 200 response
success(HttpBodyConverter) - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
 
success(String, String) - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
Builds a 200 response with the following content
SYNTHESIZE - io.specto.hoverfly.junit.core.HoverflyMode
 

T

times(int) - Static method in class io.specto.hoverfly.junit.verification.HoverflyVerifications
 
to(StubServiceBuilder) - Method in class io.specto.hoverfly.junit.dsl.ResponseDelaySettingsBuilder
 
toPattern(List<RequestFieldMatcher<String>>) - Method in class io.specto.hoverfly.junit.dsl.AbstractDelaySettingsBuilder
Convert RequestFieldMatcher list to url pattens of DelaySettings.
toString() - Method in class io.specto.hoverfly.junit.api.command.SortParams
 
toString() - Method in class io.specto.hoverfly.junit.api.view.SimpleRequestDefinitionView
 
toString() - Method in class io.specto.hoverfly.junit.core.model.ArrayMatcherConfig
 
toString() - Method in class io.specto.hoverfly.junit.core.model.DelaySettings
 
toString() - Method in class io.specto.hoverfly.junit.core.model.GlobalActions
 
toString() - Method in class io.specto.hoverfly.junit.core.model.HoverflyData
 
toString() - Method in class io.specto.hoverfly.junit.core.model.HoverflyMetaData
 
toString() - Method in class io.specto.hoverfly.junit.core.model.Request
 
toString() - Method in class io.specto.hoverfly.junit.core.model.RequestFieldMatcher
 
toString() - Method in class io.specto.hoverfly.junit.core.model.RequestResponsePair
 
toString() - Method in class io.specto.hoverfly.junit.core.model.Response
 
toString() - Method in class io.specto.hoverfly.junit.core.model.Simulation
 

U

unauthorised() - Static method in class io.specto.hoverfly.junit.dsl.ResponseCreators
Builds a 401 response
updatePostServeAction(PostServeAction) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
 
updateState(StateView) - Method in interface io.specto.hoverfly.junit.api.HoverflyClient
Updates state in Hoverfly.
updateState(Map<String, String>) - Method in class io.specto.hoverfly.junit.core.Hoverfly
Updates state in Hoverfly.
updateState(Map<String, String>) - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
Updates state in Hoverfly.
upstreamProxy(String) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
 
upstreamProxy(InetSocketAddress) - Method in class io.specto.hoverfly.junit.core.config.LocalHoverflyConfig
Set upstream proxy for hoverfly to connect to target host
url(String) - Static method in interface io.specto.hoverfly.junit.core.SimulationSource
Creates a simulation from a URL string
url(URL) - Static method in interface io.specto.hoverfly.junit.core.SimulationSource
Creates a simulation from a URL

V

valueOf(String) - Static method in enum io.specto.hoverfly.junit.api.command.SortParams.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.specto.hoverfly.junit.core.config.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.specto.hoverfly.junit.core.HoverflyMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.specto.hoverfly.junit.api.command.SortParams.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.specto.hoverfly.junit.core.config.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.specto.hoverfly.junit.core.HoverflyMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
Returns an array containing the constants of this enum type, in the order they are declared.
VerificationCriteria - Interface in io.specto.hoverfly.junit.verification
 
VerificationData - Class in io.specto.hoverfly.junit.verification
 
VerificationData() - Constructor for class io.specto.hoverfly.junit.verification.VerificationData
 
VerificationData(Journal) - Constructor for class io.specto.hoverfly.junit.verification.VerificationData
 
verify(Request, VerificationData) - Method in interface io.specto.hoverfly.junit.verification.VerificationCriteria
 
verify(RequestMatcherBuilder) - Method in class io.specto.hoverfly.junit.core.Hoverfly
 
verify(RequestMatcherBuilder) - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
 
verify(RequestMatcherBuilder, VerificationCriteria) - Method in class io.specto.hoverfly.junit.core.Hoverfly
 
verify(RequestMatcherBuilder, VerificationCriteria) - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
 
verifyAll() - Method in class io.specto.hoverfly.junit.core.Hoverfly
 
verifyAll() - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
 
verifyZeroRequestTo(StubServiceBuilder) - Method in class io.specto.hoverfly.junit.core.Hoverfly
 
verifyZeroRequestTo(StubServiceBuilder) - Method in class io.specto.hoverfly.junit.rule.HoverflyRule
 

W

WARN - io.specto.hoverfly.junit.core.config.LogLevel
 
webServer - Variable in class io.specto.hoverfly.junit.core.HoverflyConfig
 
willReturn(ResponseBuilder) - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
Sets the expected response
withAuthHeader() - Method in class io.specto.hoverfly.junit.core.config.RemoteHoverflyConfig
Sets up custom authentication header for secured remote Hoverfly instance.
withAuthHeader(String) - Method in class io.specto.hoverfly.junit.core.config.RemoteHoverflyConfig
Sets up custom authentication header for secured remote Hoverfly instance
withAuthToken() - Method in class io.specto.hoverfly.junit.api.HoverflyClient.Builder
Get token from environment variable "HOVERFLY_AUTH_TOKEN" to authenticate with admin API
withDelay(int, TimeUnit) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Deprecated.
withFixedDelay(int, TimeUnit) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Set fixed delay for the request-response pair
withHttpClient(OkHttpClient) - Method in class io.specto.hoverfly.junit.api.HoverflyClient.Builder
 
withHttpsAdminEndpoint() - Method in class io.specto.hoverfly.junit.core.config.RemoteHoverflyConfig
Sets up to use admin endpoint over HTTPS
withLogNormalDelay(int, int, int, int, TimeUnit) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Set Log Normal delay for the request-response pair.
withLogNormalDelay(int, int, TimeUnit) - Method in class io.specto.hoverfly.junit.dsl.ResponseBuilder
Set Log Normal delay for the request-response pair.
withState(String, String) - Method in class io.specto.hoverfly.junit.dsl.RequestMatcherBuilder
Sets a required state

X

X_HOVERFLY_AUTHORIZATION - Static variable in class io.specto.hoverfly.junit.core.HoverflyConstants
 
xml(Object) - Static method in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
 
xml(Object, ObjectMapper) - Static method in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
Converts a given object into json, and returns application/json content type
XML - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
XML_MAPPER - Static variable in interface io.specto.hoverfly.junit.dsl.HttpBodyConverter
 
XPATH - io.specto.hoverfly.junit.core.model.RequestFieldMatcher.MatcherType
 
A B C D E F G H I J L M N O P Q R S T U V W X 
All Classes All Packages