org.glassfish.jersey.client
Class RequestProcessingInitializationStage
java.lang.Object
org.glassfish.jersey.client.RequestProcessingInitializationStage
- All Implemented Interfaces:
- com.google.common.base.Function<ClientRequest,ClientRequest>
public class RequestProcessingInitializationStage
- extends Object
- implements com.google.common.base.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 (marek.potociar at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
RequestProcessingInitializationStage
@Inject
public RequestProcessingInitializationStage(javax.inject.Provider<Ref<ClientRequest>> requestRefProvider,
javax.inject.Provider<MessageBodyWorkers> workersProvider,
org.glassfish.hk2.api.ServiceLocator locator)
- Create new
MessageBodyWorkers initialization function
for requests and responses.
- Parameters:
requestRefProvider - client request context reference injection provider.workersProvider - message body workers injection provider.locator - service locator.
apply
public ClientRequest apply(ClientRequest requestContext)
- Specified by:
apply in interface com.google.common.base.Function<ClientRequest,ClientRequest>
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.