Package io.quarkus.test.common.http
Annotation Type TestHTTPResource
-
@Retention(RUNTIME) @Target(FIELD) public @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 plugable, viaTestHTTPResourceProvider
-
-
Element Detail
-
value
String value
- Returns:
- The path part of the URL
- Default:
- ""
-
-