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 Details

    • VertxResourceFactory

      public VertxResourceFactory(ResourceFactory delegate)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getScannableClass

      public Class<?> getScannableClass()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResourceFactory
      Class to scan for jax-rs annotations
      Specified by:
      getScannableClass in interface ResourceFactory
      Returns:
      class
    • registered

      public void registered(ResteasyProviderFactory factory)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResourceFactory
      Callback after registration has been completed.
      Specified by:
      registered in interface ResourceFactory
      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: ResourceFactory
      Called per request to obtain a resource instance to invoke http request on.
      Specified by:
      createResource in interface ResourceFactory
      Parameters:
      request - http request
      response - http response
      factory - provider factory
      Returns:
      resource object or a CompletionStage
    • requestFinished

      public void requestFinished(HttpRequest request, HttpResponse response, Object resource)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResourceFactory
      Callback when request is finished. usable for things like @PreDestroy if the underlying factory supports it
      Specified by:
      requestFinished in interface ResourceFactory
      Parameters:
      request - http request
      response - http response
      resource - resource
    • unregistered

      public void unregistered()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      unregistered in interface ResourceFactory