Uses of Class
org.glassfish.jersey.model.ContractProvider.Builder
Package
Description
Common Jersey model related classes and interfaces.
Common Jersey internal model related classes and interfaces.
-
Uses of ContractProvider.Builder in org.glassfish.jersey.model
Modifier and TypeMethodDescriptionContractProvider.Builder.addContract
(Class<?> contract) Add a new provided contract.ContractProvider.Builder.addContract
(Class<?> contract, int priority) Add a new provided contract with priority.ContractProvider.Builder.addContracts
(Collection<Class<?>> contracts) Add a new provided contracts.ContractProvider.Builder.addContracts
(Map<Class<?>, Integer> contracts) Add a new provided contracts.ContractProvider.Builder.addNameBinding
(Class<? extends Annotation> binding) Add a new contract provider name binding.static ContractProvider.Builder
Create new contract provider model builder.static ContractProvider.Builder
ContractProvider.builder
(ContractProvider original) Create new contract provider model builder from an existing one.ContractProvider.Builder.defaultPriority
(int defaultPriority) Set the contract default provider priority.ContractProvider.Builder.scope
(Class<? extends Annotation> scope) Change contract provider scope. -
Uses of ContractProvider.Builder in org.glassfish.jersey.model.internal
Modifier and TypeMethodDescriptionprotected 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.Modifier and TypeMethodDescriptionboolean
ComponentBag.register
(Class<?> componentClass, int priority, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component class as a contract provider with an explicitly specified binding priority.boolean
ComponentBag.register
(Class<?> componentClass, Map<Class<?>, Integer> contracts, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component class as a contract provider for the specified contracts.boolean
ComponentBag.register
(Class<?> componentClass, Set<Class<?>> contracts, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component class as a contract provider for the specified contracts.boolean
ComponentBag.register
(Class<?> componentClass, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component class using a given registration strategy.boolean
ComponentBag.register
(Object component, int priority, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component as a contract provider with an explicitly specified binding priority.boolean
ComponentBag.register
(Object component, Map<Class<?>, Integer> contracts, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component as a contract provider for the specified contracts.boolean
ComponentBag.register
(Object component, Set<Class<?>> contracts, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component as a contract provider for the specified contracts.boolean
ComponentBag.register
(Object component, Inflector<ContractProvider.Builder, ContractProvider> modelEnhancer) Register a component using a given registration strategy.