Package | Description |
---|---|
org.glassfish.jersey.model |
Common Jersey model related classes and interfaces.
|
Modifier and Type | Method and Description |
---|---|
ContractProvider.Builder |
ContractProvider.Builder.addContract(Class<?> contract)
Add a new provided contract.
|
ContractProvider.Builder |
ContractProvider.Builder.addContract(Class<?> contract,
int priority)
Add a new provided contract with priority.
|
ContractProvider.Builder |
ContractProvider.Builder.addContracts(Collection<Class<?>> contracts)
Add a new provided contracts.
|
ContractProvider.Builder |
ContractProvider.Builder.addContracts(Map<Class<?>,Integer> contracts)
Add a new provided contracts.
|
ContractProvider.Builder |
ContractProvider.Builder.addNameBinding(Class<? extends Annotation> binding)
Add a new contract provider name binding.
|
static ContractProvider.Builder |
ContractProvider.builder(Class<?> implementationClass)
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 |
ContractProvider.Builder.defaultPriority(int defaultPriority)
Set the contract default provider priority.
|
ContractProvider.Builder |
ContractProvider.Builder.scope(Class<? extends Annotation> scope)
Change contract provider scope.
|
Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.