| Modifier and Type | Field and Description |
|---|---|
| private final Annotation[] | |
| private static final Annotation[] | |
| private final T | |
| private final Variant |
| Access | Constructor and Description |
|---|---|
| private | |
| private | |
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < entity Java type. T> Entity | |
| public static < entity Java type. T> Entity | Returns: entity instance.entity data. entity, final MediaType entity content type. mediaType, Annotation[] entity annotations. annotations)Create an entity using a supplied content media type. |
| public static < entity Java type. T> Entity | |
| public static < entity Java type. T> Entity | |
| public static < entity Java type. T> Entity | Returns: entity instance.entity data. entity, final Variant entity variant, Annotation[] variant information.entity annotations. annotations)Create an entity using a supplied content media type. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public static Entity | |
| public static Entity | Returns: application/x-www-form-urlencoded form entity instance.multivalued map representing the form data. formData)Create an application/x-www-form-urlencoded form entity. |
| public Annotation[] | Returns: entity annotations if set, an empty annotation array if no entity annotations have been specified.Get the entity annotations. |
| public String | |
| public T | |
| public Locale | |
| public MediaType | |
| public Variant | |
| public int | |
| public static < entity Java type. T> Entity | |
| public static < entity Java type. T> Entity | Returns: application/json entity instance.entity data. entity)Create an application/json entity. |
| public static < entity Java type. T> Entity | |
| public String | |
| public static < entity Java type. T> Entity | Returns: application/xhtml+xml entity instance.entity data. entity)Create an application/xhtml+xml entity. |
| public static < entity Java type. T> Entity | Returns: application/xml entity instance.entity data. entity)Create an application/xml entity. |
| annotations | back to summary |
|---|---|
| private final Annotation[] annotations | |
| EMPTY_ANNOTATIONS | back to summary |
|---|---|
| private static final Annotation[] EMPTY_ANNOTATIONS | |
| entity | back to summary |
|---|---|
| private final T entity | |
| variant | back to summary |
|---|---|
| private final Variant variant | |
| Entity | back to summary |
|---|---|
| private Entity(final T entity, final MediaType mediaType) | |
| Entity | back to summary |
|---|---|
| private Entity(final T entity, final Variant variant) | |
| Entity | back to summary |
|---|---|
| private Entity(final T entity, final MediaType mediaType, Annotation[] annotations) | |
| Entity | back to summary |
|---|---|
| private Entity(final T entity, final Variant variant, Annotation[] annotations) | |
| entity | back to summary |
|---|---|
| public static <T> Entity Create an entity using a supplied content media type. | |
| entity | back to summary |
|---|---|
| public static <T> Entity Create an entity using a supplied content media type.
| |
| entity | back to summary |
|---|---|
| public static <T> Entity Create an entity using a supplied content media type.
| |
| entity | back to summary |
|---|---|
| public static <T> Entity Create an entity using a supplied content media type. | |
| entity | back to summary |
|---|---|
| public static <T> Entity Create an entity using a supplied content media type.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| form | back to summary |
|---|---|
| public static Entity Create an application/x-www-form-urlencoded form entity. | |
| form | back to summary |
|---|---|
| public static Entity Create an application/x-www-form-urlencoded form entity.
| |
| getAnnotations | back to summary |
|---|---|
| public Annotation[] getAnnotations() Get the entity annotations.
| |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() Get entity encoding.
| |
| getEntity | back to summary |
|---|---|
| public T getEntity() Get entity data.
| |
| getLanguage | back to summary |
|---|---|
| public Locale getLanguage() Get entity language.
| |
| getMediaType | back to summary |
|---|---|
| public MediaType getMediaType() Get entity media type.
| |
| getVariant | back to summary |
|---|---|
| public Variant getVariant() Get entity
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| html | back to summary |
|---|---|
| public static <T> Entity Create a text/html entity.
| |
| json | back to summary |
|---|---|
| public static <T> Entity Create an application/json entity.
| |
| text | back to summary |
|---|---|
| public static <T> Entity Create a text/plain entity.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| xhtml | back to summary |
|---|---|
| public static <T> Entity Create an application/xhtml+xml entity.
| |
| xml | back to summary |
|---|---|
| public static <T> Entity Create an application/xml entity.
| |