Class VertxResourceFactory
java.lang.Object
org.jboss.resteasy.plugins.server.vertx.VertxResourceFactory
- All Implemented Interfaces:
ResourceFactory
@Deprecated(forRemoval=true,
since="6.2.13.Final")
public class VertxResourceFactory
extends Object
implements ResourceFactory
Deprecated, for removal: This API element is subject to removal in a future version.
use new dependencies
- Author:
- Julien Viet
-
Constructor Summary
ConstructorsConstructorDescriptionVertxResourceFactory(ResourceFactory delegate) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptioncreateResource(HttpRequest request, HttpResponse response, ResteasyProviderFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.Called per request to obtain a resource instance to invoke http request on.Class<?> Deprecated, for removal: This API element is subject to removal in a future version.Class to scan for jax-rs annotationsvoidregistered(ResteasyProviderFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.Callback after registration has been completed.voidrequestFinished(HttpRequest request, HttpResponse response, Object resource) Deprecated, for removal: This API element is subject to removal in a future version.Callback when request is finished.voidDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
VertxResourceFactory
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getScannableClass
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ResourceFactoryClass to scan for jax-rs annotations- Specified by:
getScannableClassin interfaceResourceFactory- Returns:
- class
-
registered
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ResourceFactoryCallback after registration has been completed.- Specified by:
registeredin interfaceResourceFactory- Parameters:
factory- allows singleton factories to pre-inject things like @Context references into the singleton instance
-
createResource
public Object createResource(HttpRequest request, HttpResponse response, ResteasyProviderFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ResourceFactoryCalled per request to obtain a resource instance to invoke http request on.- Specified by:
createResourcein interfaceResourceFactory- Parameters:
request- http requestresponse- http responsefactory- provider factory- Returns:
- resource object or a CompletionStage
-
requestFinished
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ResourceFactoryCallback when request is finished. usable for things like @PreDestroy if the underlying factory supports it- Specified by:
requestFinishedin interfaceResourceFactory- Parameters:
request- http requestresponse- http responseresource- resource
-
unregistered
public void unregistered()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
unregisteredin interfaceResourceFactory
-