public abstract class AbstractEntityProviderModel<T> extends Object
Modifier and Type | Method and Description |
---|---|
List<javax.ws.rs.core.MediaType> |
declaredTypes()
Get types declared as supported (via
@Produces or @Consumes ) on the entity provider. |
boolean |
isCustom()
Get the
custom flag value. |
Class<?> |
providedType()
Get the provided Java type.
|
T |
provider()
Get the modelled entity provider instance.
|
public T provider()
public List<javax.ws.rs.core.MediaType> declaredTypes()
@Produces
or @Consumes
) on the entity provider.public boolean isCustom()
custom
flag value.true
if the provider is a custom implementation, false
if the provider is
one of the default providers supplied with Jersey.public Class<?> providedType()
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.