public class ContainerMessageBodyWorkersInitializer extends Object implements Function<org.glassfish.jersey.server.internal.process.RequestProcessingContext,org.glassfish.jersey.server.internal.process.RequestProcessingContext>
MessageBodyWorkers
instance on a current request and response.Constructor and Description |
---|
ContainerMessageBodyWorkersInitializer(javax.inject.Provider<MessageBodyWorkers> workersFactory)
Create new
MessageBodyWorkers initialization function for requests
and responses. |
Modifier and Type | Method and Description |
---|---|
org.glassfish.jersey.server.internal.process.RequestProcessingContext |
apply(org.glassfish.jersey.server.internal.process.RequestProcessingContext requestContext) |
@Inject public ContainerMessageBodyWorkersInitializer(javax.inject.Provider<MessageBodyWorkers> workersFactory)
MessageBodyWorkers
initialization function for requests
and responses.workersFactory
- MessageBodyWorkers
factory.public org.glassfish.jersey.server.internal.process.RequestProcessingContext apply(org.glassfish.jersey.server.internal.process.RequestProcessingContext requestContext)
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.