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