public interface ConstructorInjector
Modifier and Type | Method and Description |
---|---|
Object |
construct()
Construct outside the scope of an HTTP request.
|
Object |
construct(HttpRequest request,
HttpResponse response)
Construct inside the scope of an HTTP request.
|
Object[] |
injectableArguments()
Create an arguments list from injectable tings outside the scope of an HTTP request.
|
Object[] |
injectableArguments(HttpRequest request,
HttpResponse response)
Create an argument list inside the scope of an HTTP request.
|
Object construct()
Object construct(HttpRequest request, HttpResponse response) throws Failure, WebApplicationException, ApplicationException
request
- http requestresponse
- http responseFailure
- if failure occurredWebApplicationException
- if application exception occurredApplicationException
- if application exception occurredObject[] injectableArguments()
Object[] injectableArguments(HttpRequest request, HttpResponse response) throws Failure
request
- http requestresponse
- http responseFailure
- if failure occurredCopyright © 2021 JBoss by Red Hat. All rights reserved.