| Package | Description |
|---|---|
| org.gatein.common.net.media |
| Modifier and Type | Field and Description |
|---|---|
static TypeDef |
TypeDef.APPLICATION
.
|
static TypeDef |
TypeDef.AUDIO
.
|
static TypeDef |
TypeDef.IMAGE
.
|
static TypeDef |
TypeDef.MESSAGE
.
|
static TypeDef |
TypeDef.MULTIPART
.
|
static TypeDef |
TypeDef.TEXT
.
|
static TypeDef |
TypeDef.VIDEO
.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeDef |
TypeDef.create(String typeName)
Returns the corresponding type definition for the given top level type name.
|
TypeDef |
MediaType.getType() |
| Modifier and Type | Method and Description |
|---|---|
Set<TypeDef> |
MediaTypeMap.getTypes()
Returns the set of declared types.
|
Set<TypeDef> |
MediaTypeMapImpl.getTypes() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MediaTypeMap.contains(TypeDef type)
Returns true if the map declares the specified type.
|
boolean |
MediaTypeMapImpl.contains(TypeDef type) |
boolean |
MediaTypeMap.contains(TypeDef type,
V value)
Returns true if the map declares the specified type with a specific value.
|
boolean |
MediaTypeMapImpl.contains(TypeDef type,
V value) |
static MediaType |
MediaType.create(TypeDef type,
SubtypeDef subtype)
Create a media type object using the provided type and subtype objects.
|
Set<V> |
MediaTypeMap.get(TypeDef type)
Returns the set of values declared for a given type.
|
Set<V> |
MediaTypeMapImpl.get(TypeDef type) |
boolean |
MediaTypeMap.isSupported(TypeDef type)
Returns true if the map supports the specified type.
|
boolean |
MediaTypeMapImpl.isSupported(TypeDef type) |
boolean |
MediaTypeMap.isSupported(TypeDef type,
V value)
Returns true if the map supports the specified type with a specific value.
|
boolean |
MediaTypeMapImpl.isSupported(TypeDef type,
V value) |
void |
MediaTypeMapImpl.put(TypeDef type,
V value)
Adds a value to the map.
|
Set<V> |
MediaTypeMap.resolve(TypeDef type)
Returns the set of values supported for a given type.
|
Set<V> |
MediaTypeMapImpl.resolve(TypeDef type) |
Copyright © 2025 JBoss by Red Hat. All Rights Reserved.