com.swfit.core.servlet
Class ServletOutput

java.lang.Object
  |
  +--com.swfit.core.servlet.ServletOutput

public final class ServletOutput
extends java.lang.Object

Sort of a system for browser output.

Since:
SWFIT1.0
Version:
$Revision: 1.5 $ $Date: 2003/03/21 17:26:01 $
Author:
Olaf Havnes

Field Summary
static int FLASH_CONTENT
           
static int GIF_CONTENT
           
static int JPEG_CONTENT
           
static int JS_CONTENT
           
static java.lang.String MIMETYPE_GIF
           
static java.lang.String MIMETYPE_JPG
           
static java.lang.String MIMETYPE_JS
           
static java.lang.String MIMETYPE_MP3
           
static java.lang.String MIMETYPE_PDF
           
static java.lang.String MIMETYPE_QT
           
static java.lang.String MIMETYPE_RSS
           
static java.lang.String MIMETYPE_SWF
           
static java.lang.String MIMETYPE_TXT
           
static java.lang.String MIMETYPE_XLS
           
static int PDF_CONTENT
           
static int RSS_CONTENT
           
static int SECONDS_IN_A_YEAR
           
static int TEXT_CONTENT
           
static int XLS_CONTENT
           
 
Method Summary
static void sendGIFImageExpires(javax.servlet.http.HttpServletResponse response, byte[] bytes)
           
static void sendPDFNoExpires(javax.servlet.http.HttpServletResponse response, byte[] bytes)
           
static void sendRSSNoExpires(javax.servlet.http.HttpServletResponse response, java.lang.StringBuffer str_b)
           
static void sendTextExpires(javax.servlet.http.HttpServletResponse response, java.lang.String str)
           
static void sendTextExpires(javax.servlet.http.HttpServletResponse response, java.lang.StringBuffer str_b)
           
static void sendTextExpires(javax.servlet.http.HttpServletResponse response, XHTMLDocument htm_doc)
           
static void sendTextNoExpires(javax.servlet.http.HttpServletResponse response, java.lang.String str)
           
static void sendTextNoExpires(javax.servlet.http.HttpServletResponse response, java.lang.StringBuffer str_b)
           
static void sendTextNoExpires(javax.servlet.http.HttpServletResponse response, XHTMLDocument htm_doc)
           
static void sendTextUndefinedExpires(javax.servlet.http.HttpServletResponse response, java.lang.String str)
           
static void sendTextUndefinedExpires(javax.servlet.http.HttpServletResponse response, java.lang.StringBuffer str_b)
           
static void sendTextUndefinedExpires(javax.servlet.http.HttpServletResponse response, XHTMLDocument htm_doc)
           
static void sendTransparentPixelExpires(javax.servlet.http.HttpServletResponse response)
           
static void sendXLSNoExpires(javax.servlet.http.HttpServletResponse response, byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_CONTENT

public static final int TEXT_CONTENT

JS_CONTENT

public static final int JS_CONTENT

GIF_CONTENT

public static final int GIF_CONTENT

JPEG_CONTENT

public static final int JPEG_CONTENT

FLASH_CONTENT

public static final int FLASH_CONTENT

RSS_CONTENT

public static final int RSS_CONTENT

PDF_CONTENT

public static final int PDF_CONTENT

XLS_CONTENT

public static final int XLS_CONTENT

SECONDS_IN_A_YEAR

public static final int SECONDS_IN_A_YEAR

MIMETYPE_TXT

public static final java.lang.String MIMETYPE_TXT

MIMETYPE_SWF

public static final java.lang.String MIMETYPE_SWF

MIMETYPE_QT

public static final java.lang.String MIMETYPE_QT

MIMETYPE_MP3

public static final java.lang.String MIMETYPE_MP3

MIMETYPE_JS

public static final java.lang.String MIMETYPE_JS

MIMETYPE_GIF

public static final java.lang.String MIMETYPE_GIF

MIMETYPE_JPG

public static final java.lang.String MIMETYPE_JPG

MIMETYPE_RSS

public static final java.lang.String MIMETYPE_RSS

MIMETYPE_PDF

public static final java.lang.String MIMETYPE_PDF

MIMETYPE_XLS

public static final java.lang.String MIMETYPE_XLS
Method Detail

sendGIFImageExpires

public static final void sendGIFImageExpires(javax.servlet.http.HttpServletResponse response,
                                             byte[] bytes)
                                      throws java.io.IOException

sendTransparentPixelExpires

public static final void sendTransparentPixelExpires(javax.servlet.http.HttpServletResponse response)
                                              throws java.io.IOException

sendTextNoExpires

public static final void sendTextNoExpires(javax.servlet.http.HttpServletResponse response,
                                           java.lang.StringBuffer str_b)
                                    throws java.io.IOException

sendTextNoExpires

public static final void sendTextNoExpires(javax.servlet.http.HttpServletResponse response,
                                           java.lang.String str)
                                    throws java.io.IOException

sendTextNoExpires

public static final void sendTextNoExpires(javax.servlet.http.HttpServletResponse response,
                                           XHTMLDocument htm_doc)
                                    throws java.io.IOException

sendTextExpires

public static final void sendTextExpires(javax.servlet.http.HttpServletResponse response,
                                         java.lang.StringBuffer str_b)
                                  throws java.io.IOException

sendTextExpires

public static final void sendTextExpires(javax.servlet.http.HttpServletResponse response,
                                         java.lang.String str)
                                  throws java.io.IOException

sendTextExpires

public static final void sendTextExpires(javax.servlet.http.HttpServletResponse response,
                                         XHTMLDocument htm_doc)
                                  throws java.io.IOException

sendTextUndefinedExpires

public static final void sendTextUndefinedExpires(javax.servlet.http.HttpServletResponse response,
                                                  java.lang.StringBuffer str_b)
                                           throws java.io.IOException

sendTextUndefinedExpires

public static final void sendTextUndefinedExpires(javax.servlet.http.HttpServletResponse response,
                                                  java.lang.String str)
                                           throws java.io.IOException

sendTextUndefinedExpires

public static final void sendTextUndefinedExpires(javax.servlet.http.HttpServletResponse response,
                                                  XHTMLDocument htm_doc)
                                           throws java.io.IOException

sendRSSNoExpires

public static final void sendRSSNoExpires(javax.servlet.http.HttpServletResponse response,
                                          java.lang.StringBuffer str_b)
                                   throws java.io.IOException

sendPDFNoExpires

public static final void sendPDFNoExpires(javax.servlet.http.HttpServletResponse response,
                                          byte[] bytes)
                                   throws java.io.IOException

sendXLSNoExpires

public static final void sendXLSNoExpires(javax.servlet.http.HttpServletResponse response,
                                          byte[] bytes)
                                   throws java.io.IOException


Swfit developer homepage
Copyright © 2003 Orgdot AS. All Rights Reserved.