Interface ValueInjector

    • Method Detail

      • inject

        Object inject​(boolean unwrapAsync)
        Inject outside the context of an HTTP request. For instance, a singleton may have proxiable and injectable jax-rs objects like Request, UriInfo, or HttpHeaders.
        Parameters:
        unwrapAsync - unwrap async
        Returns:
        object
      • inject

        Object inject​(HttpRequest request,
                      HttpResponse response,
                      boolean unwrapAsync)
        Inject inside the context of an HTTP request.
        Parameters:
        request - http request
        response - http response
        unwrapAsync - unwrap async
        Returns:
        object