Package org.glassfish.jersey.message
Class AbstractEntityProviderModel<T>
java.lang.Object
org.glassfish.jersey.message.AbstractEntityProviderModel<T>
- Direct Known Subclasses:
ReaderModel
,WriterModel
Abstract entity provider model.
- Since:
- 2.16
- Author:
- Marek Potociar
-
Method Details
-
provider
Get the modelled entity provider instance.- Returns:
- entity provider instance.
-
declaredTypes
Get types declared as supported (via@Produces
or@Consumes
) on the entity provider.- Returns:
- declared supported types.
-
isCustom
public boolean isCustom()Get thecustom
flag value.- Returns:
true
if the provider is a custom implementation,false
if the provider is one of the default providers supplied with Jersey.
-
providedType
Get the provided Java type.- Returns:
- provided Java type.
-