com.arsdigita.cms.dispatcher
Class StreamAsset

java.lang.Object
  extended bycom.arsdigita.cms.dispatcher.ResourceHandlerImpl
      extended bycom.arsdigita.cms.dispatcher.BaseAsset
          extended bycom.arsdigita.cms.dispatcher.StreamAsset
All Implemented Interfaces:
com.arsdigita.dispatcher.Dispatcher, ResourceHandler

public class StreamAsset
extends com.arsdigita.cms.dispatcher.BaseAsset

A resource handler which streams out a blob from the database.

Version:
$Revision: #12 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Michael Pih (pihman@arsdigita.com)

Field Summary
static String ASSET_ID
           
static String OID_PARAM
           
static String versionId
           
 
Constructor Summary
StreamAsset()
           
 
Method Summary
 void dispatch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.arsdigita.dispatcher.RequestContext actx)
          Services this resource.
 
Methods inherited from class com.arsdigita.cms.dispatcher.ResourceHandlerImpl
checkUserAccess, getContentItem, getContentSection, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

ASSET_ID

public static final String ASSET_ID
See Also:
Constant Field Values

OID_PARAM

public static final String OID_PARAM
See Also:
Constant Field Values
Constructor Detail

StreamAsset

public StreamAsset()
Method Detail

dispatch

public final void dispatch(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           com.arsdigita.dispatcher.RequestContext actx)
                    throws IOException,
                           javax.servlet.ServletException
Description copied from class: ResourceHandlerImpl
Services this resource.

Specified by:
dispatch in interface com.arsdigita.dispatcher.Dispatcher
Specified by:
dispatch in class ResourceHandlerImpl
Parameters:
request - The servlet request object
response - the servlet response object
actx - The request context
Throws:
IOException
javax.servlet.ServletException


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC