Package io.quarkus.test.common.http
Class URITestHTTPResourceProvider
- java.lang.Object
-
- io.quarkus.test.common.http.URITestHTTPResourceProvider
-
- All Implemented Interfaces:
TestHTTPResourceProvider<URI>
public class URITestHTTPResourceProvider extends Object implements TestHTTPResourceProvider<URI>
-
-
Constructor Summary
Constructors Constructor Description URITestHTTPResourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<URI>
getProvidedType()
URI
provide(String testUri, Field field)
Create the resource to be injected into the field.
-
-
-
Method Detail
-
getProvidedType
public Class<URI> getProvidedType()
- Specified by:
getProvidedType
in interfaceTestHTTPResourceProvider<URI>
-
provide
public URI provide(String 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<URI>
-
-