public interface PropertyInjector
Modifier and Type | Method and Description |
---|---|
CompletionStage<Void> |
inject(HttpRequest request,
HttpResponse response,
Object target,
boolean unwrapAsync)
Inject values into annotated properties (fields/setter methods) of the target object.
|
CompletionStage<Void> |
inject(Object target,
boolean unwrapAsync)
Inject values into annotated properties (fields/setter methods) of the target object.
|
CompletionStage<Void> inject(Object target, boolean unwrapAsync)
target
- target objectunwrapAsync
- unwrap asyncCompletionStage
CompletionStage<Void> inject(HttpRequest request, HttpResponse response, Object target, boolean unwrapAsync) throws Failure, javax.ws.rs.WebApplicationException, ApplicationException
request
- http requestresponse
- http responsetarget
- target objectunwrapAsync
- unwrap asyncCompletionStage
Failure
- if application failure occurredjavax.ws.rs.WebApplicationException
- if application exception occurredApplicationException
Copyright © 2021 JBoss by Red Hat. All rights reserved.