Uses of Class
org.glassfish.jersey.model.ContractProvider
Packages that use ContractProvider
Package
Description
Common Jersey model related classes and interfaces.
Common Jersey internal model related classes and interfaces.
Jersey server-side internal classes.
-
Uses of ContractProvider in org.glassfish.jersey.model
Methods in org.glassfish.jersey.model that return ContractProviderModifier and TypeMethodDescriptionContractProvider.Builder.build()Build a new contract provider model.Methods in org.glassfish.jersey.model with parameters of type ContractProviderModifier and TypeMethodDescriptionstatic ContractProvider.BuilderContractProvider.builder(ContractProvider original) Create new contract provider model builder from an existing one. -
Uses of ContractProvider in org.glassfish.jersey.model.internal
Fields in org.glassfish.jersey.model.internal with type parameters of type ContractProviderModifier and TypeFieldDescriptionstatic final Predicate<ContractProvider> ComponentBag.BINDERS_ONLYA filtering strategy that includes only models that containBinderprovider contract.static final Predicate<ContractProvider> ComponentBag.EXCLUDE_EMPTYA filtering strategy that excludes models with no recognized contracts.static final Predicate<ContractProvider> ComponentBag.EXECUTOR_SERVICE_PROVIDER_ONLYA filtering strategy that includes only models that containExecutorServiceProviderprovider contract.static final BiPredicate<ContractProvider, org.glassfish.jersey.internal.inject.InjectionManager> ComponentBag.EXTERNAL_ONLYA filtering strategy that includes only models that contain contract registrable byInjectionManager.static final Predicate<ContractProvider> ComponentBag.INCLUDE_ALLA filtering strategy that accepts any contract provider model.static final Predicate<ContractProvider> ComponentBag.SCHEDULED_EXECUTOR_SERVICE_PROVIDER_ONLYA filtering strategy that includes only models that containScheduledExecutorServiceProviderprovider contract.Methods in org.glassfish.jersey.model.internal that return ContractProviderModifier and TypeMethodDescriptionGet a model for a given component class, ornullif no such component is registered in the component bag.static ContractProviderCreate a contract provider model by introspecting a component class.Methods in org.glassfish.jersey.model.internal that return types with arguments of type ContractProviderModifier and TypeMethodDescriptionstatic Predicate<ContractProvider> ComponentBag.excludeMetaProviders(org.glassfish.jersey.internal.inject.InjectionManager injectionManager) A method creates thePredicatewhich is able to filter all Jersey meta-providers along with the components which is able to register the current usedInjectionManager.protected Inflector<ContractProvider.Builder, ContractProvider> CommonConfig.getModelEnhancer(Class<?> componentClass) An extension point that provides a way how to define a custom enhancement/update operation of a contract provider model registration being produced for a given component class.Method parameters in org.glassfish.jersey.model.internal with type arguments of type ContractProviderModifier and TypeMethodDescriptionComponentBag.getClasses(Predicate<ContractProvider> filter) Get a subset of all registered component classes using thefilterpredicate to determine for each component class based on it's contract provider class model whether it should be kept or filtered out.ComponentBag.getInstances(Predicate<ContractProvider> filter) Get a subset of all registered component instances using thefilterpredicate to determine for each component instance based on it's contract provider class model whether it should be kept or filtered out.static ComponentBagComponentBag.newInstance(Predicate<ContractProvider> registrationStrategy) Create new empty component bag.booleanComponentBag.register(Class<?> componentClass, int priority, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component class as a contract provider with an explicitly specified binding priority.booleanComponentBag.register(Class<?> componentClass, Map<Class<?>, Integer> contracts, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component class as a contract provider for the specified contracts.booleanComponentBag.register(Class<?> componentClass, Set<Class<?>> contracts, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component class as a contract provider for the specified contracts.booleanComponentBag.register(Class<?> componentClass, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component class using a given registration strategy.booleanComponentBag.register(Object component, int priority, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component as a contract provider with an explicitly specified binding priority.booleanComponentBag.register(Object component, Map<Class<?>, Integer> contracts, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component as a contract provider for the specified contracts.booleanComponentBag.register(Object component, Set<Class<?>> contracts, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component as a contract provider for the specified contracts.booleanComponentBag.register(Object component, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component using a given registration strategy.Constructor parameters in org.glassfish.jersey.model.internal with type arguments of type ContractProviderModifierConstructorDescriptionCommonConfig(javax.ws.rs.RuntimeType type, Predicate<ContractProvider> registrationStrategy) Create a newRuntimeConfiginstance. -
Uses of ContractProvider in org.glassfish.jersey.server.internal
Methods in org.glassfish.jersey.server.internal with parameters of type ContractProviderModifier and TypeMethodDescription<T> voidJerseyResourceContext.unsafeBindResource(Class<T> resourceClass, ContractProvider providerModel) Bind a resource class in a HK2 context.voidJerseyResourceContext.unsafeBindResource(Object resource, ContractProvider providerModel) Bind a resource instance in a InjectionManager.