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> jakarta.ws.rs.ext.ContextResolver<T> |
resolve(Type t,
jakarta.ws.rs.core.MediaType m)
Get
ContextResolver<T> instance for a given type
and media type. |
public <T> jakarta.ws.rs.ext.ContextResolver<T> resolve(Type t, jakarta.ws.rs.core.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-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.