|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.internal.ContextResolverFactory
public class ContextResolverFactory
A factory implementation for managing ContextResolver instances.
| Nested Class Summary | |
|---|---|
static class |
ContextResolverFactory.Module
Injection binding module defining ContextResolverFactory and
ContextResolvers bindings. |
| Constructor Summary | |
|---|---|
ContextResolverFactory(ServiceProviders serviceProviders)
Create new context resolver factory backed by the supplied service providers. |
|
| Method Summary | ||
|---|---|---|
|
resolve(java.lang.reflect.Type t,
MediaType m)
Get ContextResolver<T> instance for a given type
and media type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextResolverFactory(ServiceProviders serviceProviders)
service providers.
serviceProviders - service providers backing the context resolver factory.| Method Detail |
|---|
public <T> ContextResolver<T> resolve(java.lang.reflect.Type t,
MediaType m)
ContextResolversContextResolver<T> instance for a given type
and media type.
resolve in interface ContextResolversT - Java type produced by the context resolver.t - type supported by the context resolver.m - media type supported by the context resolver.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||