public interface ContextResolvers
ContextResolver<T>
provider instances.Modifier and Type | Method and Description |
---|---|
<T> ContextResolver<T> |
resolve(Type type,
MediaType mediaType)
Get
ContextResolver<T> instance for a given type
and media type. |
<T> ContextResolver<T> resolve(Type type, MediaType mediaType)
ContextResolver<T>
instance for a given type
and media type.T
- Java type produced by the context resolver.type
- type supported by the context resolver.mediaType
- 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.