Package org.glassfish.jersey.client
Class RequestProcessingInitializationStage
java.lang.Object
org.glassfish.jersey.client.RequestProcessingInitializationStage
- All Implemented Interfaces:
Function<ClientRequest,
ClientRequest>
public class RequestProcessingInitializationStage
extends Object
implements Function<ClientRequest,ClientRequest>
Function that can be put to an acceptor chain to properly initialize
the client-side request-scoped processing injection for the current
request and response exchange.
- Author:
- Marek Potociar
-
Constructor Summary
ConstructorDescriptionRequestProcessingInitializationStage
(jakarta.inject.Provider<Ref<ClientRequest>> requestRefProvider, MessageBodyWorkers workersProvider, InjectionManager injectionManager) Create newMessageBodyWorkers
initialization function for requests and responses. -
Method Summary
-
Constructor Details
-
RequestProcessingInitializationStage
public RequestProcessingInitializationStage(jakarta.inject.Provider<Ref<ClientRequest>> requestRefProvider, MessageBodyWorkers workersProvider, InjectionManager injectionManager) Create newMessageBodyWorkers
initialization function for requests and responses.- Parameters:
requestRefProvider
- client request context reference injection provider.workersProvider
- message body workers injection provider.injectionManager
- injection manager.
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<ClientRequest,
ClientRequest>
-