|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.server.webapp.MimeMapping
public class MimeMapping
Configuration for a mime-mapping.
Constructor Summary | |
---|---|
MimeMapping()
Creates the mime mapping. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MimeMapping()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |