Package io.quarkus.test.common.http
Annotation Interface TestHTTPResource
Indicates that a field should be injected with a resource that is pre-configured
to use the correct test URL.
This could be a String or URL object, or some other HTTP/Websocket based client.
This mechanism is pluggable, via TestHTTPResourceProvider
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value- Returns:
- The path part of the URL
- Default:
""
-
management
boolean management- Returns:
- if the url should use the management interface
- Default:
false
-
tls
boolean tls- Returns:
- If the URL should use the HTTPS protocol and TLS port
- Default:
false
-