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() |
Modifier and Type | Method and Description |
---|---|
ResourceMethodInvoker |
build(ResourceMethod method,
ProcessingProviders processingProviders)
Build a new resource method invoker instance.
|
ResourceMethodInvoker.Builder |
configuration(jakarta.ws.rs.core.Configuration configuration)
Set global configuration.
|
ResourceMethodInvoker.Builder |
configurationValidator(Supplier<org.glassfish.jersey.server.internal.inject.ConfiguredValidator> configurationValidator)
Set global configuration validator.
|
ResourceMethodInvoker.Builder |
injectionManager(org.glassfish.jersey.internal.inject.InjectionManager injectionManager)
Set runtime DI injection manager.
|
ResourceMethodInvoker.Builder |
resourceMethodDispatcherFactory(ResourceMethodDispatcherFactory resourceMethodDispatcherFactory)
Set resource method dispatcher factory.
|
ResourceMethodInvoker.Builder |
resourceMethodInvocationHandlerFactory(ResourceMethodInvocationHandlerFactory resourceMethodInvocationHandlerFactory)
Set resource method invocation handler factory.
|
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(jakarta.ws.rs.core.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-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.