public static class ResourceMethodInvoker.Builder extends Object
The builder API provides means for constructing a properly initialized
resource method invoker
instances.
Constructor and Description |
---|
Builder() |
public ResourceMethodInvoker.Builder resourceMethodDispatcherFactory(ResourceMethodDispatcherFactory resourceMethodDispatcherFactory)
resourceMethodDispatcherFactory
- resource method dispatcher factory.public ResourceMethodInvoker.Builder resourceMethodInvocationHandlerFactory(ResourceMethodInvocationHandlerFactory resourceMethodInvocationHandlerFactory)
resourceMethodInvocationHandlerFactory
- resource method invocation handler factory.public ResourceMethodInvoker.Builder injectionManager(org.glassfish.jersey.internal.inject.InjectionManager injectionManager)
injectionManager
- DI injection manager.public ResourceMethodInvoker.Builder configuration(Configuration configuration)
configuration
- global configuration.public ResourceMethodInvoker.Builder configurationValidator(Supplier<org.glassfish.jersey.server.internal.inject.ConfiguredValidator> configurationValidator)
configurationValidator
- configuration validator.public ResourceMethodInvoker build(ResourceMethod method, ProcessingProviders processingProviders)
method
- resource method model.processingProviders
- Processing providers.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.