Package io.quarkus.test.common.http
Class URLTestHTTPResourceProvider
- java.lang.Object
-
- io.quarkus.test.common.http.URLTestHTTPResourceProvider
-
- All Implemented Interfaces:
TestHTTPResourceProvider<URL>
public class URLTestHTTPResourceProvider extends Object implements TestHTTPResourceProvider<URL>
-
-
Constructor Summary
Constructors Constructor Description URLTestHTTPResourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<URL>
getProvidedType()
URL
provide(URI testUri, Field field)
Create the resource to be injected into the field.
-
-
-
Method Detail
-
getProvidedType
public Class<URL> getProvidedType()
- Specified by:
getProvidedType
in interfaceTestHTTPResourceProvider<URL>
-
provide
public URL provide(URI testUri, Field field)
Description copied from interface:TestHTTPResourceProvider
Create the resource to be injected into the field.Note that there is no need to directly call set() on the field, it is only provided to allow you to examine the generic type and any additional annotations.
- Specified by:
provide
in interfaceTestHTTPResourceProvider<URL>
-
-