public class MimeMapping
extends java.lang.Object
Constructor and Description |
---|
MimeMapping()
Creates the mime mapping.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtension()
Gets the extension.
|
java.lang.String |
getMimeType()
Gets the mime type
|
void |
init()
Init
|
void |
setExtension(java.lang.String extension)
Sets the extension
|
void |
setMimeType(java.lang.String mimeType)
Sets the mime type
|
public void setExtension(java.lang.String extension) throws ServletException
ServletException
public java.lang.String getExtension()
public void setMimeType(java.lang.String mimeType)
public java.lang.String getMimeType()
@PostConstruct public void init() throws ServletException
ServletException