A B C D E F G H I L M P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- absoluteResponseBodyFilesPath() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Override the default parent path for resolving the response body file.
- accept(Simulation) - Method in class io.specto.hoverfly.junit5.api.UnsetSimulationPreprocessor
- adminPort() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
The Hoverfly admin port, default is set to use any randomized free port
- afterAll(ExtensionContext) - Method in class io.specto.hoverfly.junit5.HoverflyExtension
- afterEach(ExtensionContext) - Method in class io.specto.hoverfly.junit5.HoverflyExtension
B
- beforeAll(ExtensionContext) - Method in class io.specto.hoverfly.junit5.HoverflyExtension
- beforeEach(ExtensionContext) - Method in class io.specto.hoverfly.junit5.HoverflyExtension
- binaryLocation() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Overrides the default path for Hoverfly binary and working directory.
C
- caCertPath() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Custom CA certificate for Hoverfly
LocalHoverflyConfig.overrideDefaultCaCert(String, String) - caKeyPath() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Key for Hoverfly custom CA cert
LocalHoverflyConfig.overrideDefaultCaCert(String, String) - captureAllHeaders() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
By default Hoverfly does not capture any request headers, enable this flag to capture all headers
- captureHeaders() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
A list of request headers to capture
- CLASSPATH - io.specto.hoverfly.junit5.api.HoverflySimulate.SourceType
- clientAuthDestination() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Destination filter to what target urls to enable mutual TLS authentication.
- clientCaCertPath() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Client CA certificate file in classpath.
- clientCertPath() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Client certificate file in classpath.
- clientKeyPath() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Client key file in classpath.
- commands() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Set additional commands for starting Hoverfly
- config() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyCapture
-
Hoverfly configurations
- config() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyCore
-
Hoverfly configurations
- config() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyDiff
-
Hoverfly configurations
- config() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflySimulate
-
Hoverfly configurations
- config() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflySpy
-
Hoverfly configurations
D
- DEFAULT_PATH - io.specto.hoverfly.junit5.api.HoverflySimulate.SourceType
- destination() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Use this destination filter to set which hostname to simulate or capture, for example setting this to "hoverfly.io" will only simulate or capture requests to "hoverfly.io"
- disableTlsVerification() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Configure Hoverfly to skip TLS verification.
E
- EMPTY - io.specto.hoverfly.junit5.api.HoverflySimulate.SourceType
- enableAutoCapture() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflySimulate
-
Enable this flag to run Hoverfly in capture mode if simulation source is not present, otherwise, in simulate mode This flag has no effect on
HoverflySimulate.SourceType.URLsource - enableIncrementalCapture() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
By default Hoverfly exports the captured requests and responses to a new file by replacing any existing one.
F
- FILE - io.specto.hoverfly.junit5.api.HoverflySimulate.SourceType
- filename() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyCapture
-
The name for the exported simulation file, eg.
G
- getPath(ExtensionContext, HoverflySimulate.Source) - Method in class io.specto.hoverfly.junit5.HoverflyExtension
-
Returns the path to the simulation source.
H
- HoverflyCapture - Annotation Type in io.specto.hoverfly.junit5.api
-
Annotation used along with
HoverflyExtensionto run Hoverfly in capture mode By default, it exports captured simulation file to default Hoverfly test resources path ("src/test/resources/hoverfly") with filename equals to the fully qualified class name of the annotated class. - HoverflyConfig - Annotation Type in io.specto.hoverfly.junit5.api
- HoverflyCore - Annotation Type in io.specto.hoverfly.junit5.api
-
Use with
HoverflyExtensionto set mode and configuration. - HoverflyDiff - Annotation Type in io.specto.hoverfly.junit5.api
-
Annotation used along with
HoverflyExtensionto run Hoverfly in diff mode By default, it tries to compare simulation file from default Hoverfly test resources path ("src/test/resources/hoverfly") with filename equals to the fully qualified class name of the annotated class. - HoverflyExtension - Class in io.specto.hoverfly.junit5
-
HoverflyExtension starts Hoverfly proxy server before all test methods are executed and stops it after all.
- HoverflyExtension() - Constructor for class io.specto.hoverfly.junit5.HoverflyExtension
- HoverflySimulate - Annotation Type in io.specto.hoverfly.junit5.api
-
Annotation used along with
HoverflyExtensionto run Hoverfly in simulate mode By default, it tries to import simulation file from default Hoverfly test resources path ("src/test/resources/hoverfly") with filename equals to the fully qualified class name of the annotated class. - HoverflySimulate.Source - Annotation Type in io.specto.hoverfly.junit5.api
-
For passing static simulation source location to
HoverflySimulateannotation - HoverflySimulate.SourceType - Enum in io.specto.hoverfly.junit5.api
- HoverflySpy - Annotation Type in io.specto.hoverfly.junit5.api
-
Annotation used along with
HoverflyExtensionto run Hoverfly in spy mode In this mode, Hoverfly simulates external APIs if a request match is found in simulation data (See Simulate mode), otherwise, the request will be passed through to the real API. - HoverflyValidate - Annotation Type in io.specto.hoverfly.junit5.api
-
Annotation used to verify if any discrepancy is detected.
I
- io.specto.hoverfly.junit5 - package io.specto.hoverfly.junit5
- io.specto.hoverfly.junit5.api - package io.specto.hoverfly.junit5.api
L
- logLevel() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Set Hoverfly log level
M
- mode() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyCore
-
Hoverfly mode
P
- path() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyCapture
-
The path for exporting the simulation file
- plainHttpTunneling() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Enable this flag allows Hoverfly to handle CONNECT requests for non-TLS tunnelling, making it possible to work with Netty-based HTTP client such as reactor-netty
- proxyLocalHost() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
By default Hoverfly does not proxy localhost requests, but you can enable it using this flag
- proxyPort() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
The Hoverfly proxy port, default is set to use any randomized free port
R
- relativeResponseBodyFilesPath() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Override the default parent path for resolving the response body file (relative to the test resources folder).
- remoteHost() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
External Hoverfly instance hostname
RemoteHoverflyConfig.host(String) - reset() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyValidate
- resolveParameter(ParameterContext, ExtensionContext) - Method in class io.specto.hoverfly.junit5.HoverflyExtension
S
- simulationPreprocessor() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
- source() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyDiff
-
Simulation source to import for comparision
- source() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflySimulate
-
Simulation source to import
- source() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflySpy
-
Simulation source to import
- sslCertificatePath() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Deprecated.
- sslKeyPath() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Deprecated.
- statefulCapture() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
By default Hoverfly only capture multiple identical requests once, enable this flag to capture all requests sequentially
- supportsParameter(ParameterContext, ExtensionContext) - Method in class io.specto.hoverfly.junit5.HoverflyExtension
T
- type() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflySimulate.Source
-
The type of the source
U
- UnsetSimulationPreprocessor - Class in io.specto.hoverfly.junit5.api
-
Default preprocessor for
HoverflyConfigwhich signals, that no preprocessor is set. - upstreamProxy() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Set upstream proxy for hoverfly to connect to target host
- URL - io.specto.hoverfly.junit5.api.HoverflySimulate.SourceType
V
- value() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflySimulate.Source
-
The string value of source location, could be a file path or url depends on the type
- valueOf(String) - Static method in enum io.specto.hoverfly.junit5.api.HoverflySimulate.SourceType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.specto.hoverfly.junit5.api.HoverflySimulate.SourceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- webServer() - Method in annotation type io.specto.hoverfly.junit5.api.HoverflyConfig
-
Enable web server mode
All Classes All Packages