public class ContextResolverFactory extends Object implements ContextResolvers
ContextResolver
instances.Modifier and Type | Class and Description |
---|---|
static class |
ContextResolverFactory.ContextResolversConfigurator
Configurator which initializes and register
ContextResolvers instance into InjectionManager and
BootstrapBag . |
Modifier and Type | Method and Description |
---|---|
<T> ContextResolver<T> |
resolve(Type t,
MediaType m)
Get
ContextResolver<T> instance for a given type
and media type. |
public <T> ContextResolver<T> resolve(Type t, MediaType m)
ContextResolvers
ContextResolver<T>
instance for a given type
and media type.resolve
in interface ContextResolvers
T
- Java type produced by the context resolver.t
- type supported by the context resolver.m
- media type supported by the context resolver.null
.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.