Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.webapp25 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
MimeMappingType<WebAppDescriptor> |
WebAppDescriptor.createMimeMapping()
Creates a new
mime-mapping element |
MimeMappingType<T> |
MimeMappingType.extension(String extension)
Sets the
extension element |
MimeMappingType<WebAppDescriptor> |
WebAppDescriptor.getOrCreateMimeMapping()
If not already created, a new
mime-mapping element will be created and returned. |
MimeMappingType<T> |
MimeMappingType.id(String id)
Sets the
id attribute |
MimeMappingType<T> |
MimeMappingType.mimeType(String mimeType)
Sets the
mime-type element |
MimeMappingType<T> |
MimeMappingType.removeExtension()
Removes the
extension element |
MimeMappingType<T> |
MimeMappingType.removeId()
Removes the
id attribute |
MimeMappingType<T> |
MimeMappingType.removeMimeType()
Removes the
mime-type element |
Modifier and Type | Method and Description |
---|---|
List<MimeMappingType<WebAppDescriptor>> |
WebAppDescriptor.getAllMimeMapping()
Returns all
mime-mapping elements |
Copyright © 2019 JBoss by Red Hat. All rights reserved.