com.raritantechnologies.searchApp.taglibrary
Class SetContentTypeTag

java.lang.Object
  extended byTagSupport
      extended bycom.raritantechnologies.searchApp.taglibrary.SetContentTypeTag

public class SetContentTypeTag
extends TagSupport

Custom Tag that is used to set the content type in the HTTP header.


Developed by Raritan Technologies Inc..

Author:
Jim Nicholson
See Also:
Serialized Form

Constructor Summary
SetContentTypeTag()
           
 
Method Summary
 int doStartTag()
           
 java.lang.String getMimeType()
          Bean property implementation mimeType
 void release()
           
 void setDisableCaching(java.lang.String value)
           
 void setFilename(java.lang.String attachmentFilename)
          Sets a new value for filename
 void setMimeType(java.lang.String mimeType)
          Sets a new value for mimeType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetContentTypeTag

public SetContentTypeTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException

getMimeType

public java.lang.String getMimeType()
Bean property implementation mimeType

Returns:
A String containing the value of mimeType.

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets a new value for mimeType

Parameters:
mimeType - A String value to store in mimeType.

setFilename

public void setFilename(java.lang.String attachmentFilename)
Sets a new value for filename

Parameters:
attachmentFilename - A String value to store in filename.

setDisableCaching

public void setDisableCaching(java.lang.String value)

release

public void release()