com.arsdigita.cms.dispatcher
Class StreamImage
java.lang.Object
com.arsdigita.cms.dispatcher.ResourceHandlerImpl
com.arsdigita.cms.dispatcher.StreamImage
- All Implemented Interfaces:
- com.arsdigita.dispatcher.Dispatcher, ResourceHandler
- public class StreamImage
- extends ResourceHandlerImpl
A resource handler which streams out a blob from the database.
- Version:
- $Revision: #19 $ $DateTime: 2004/04/07 16:07:11 $
- Author:
- Stanislav Freidin (sfreidin@arsdigita.com), Michael Pih (pihman@arsdigita.com)
Constructor Summary |
StreamImage()
Construct the resource handler |
Method Summary |
void |
dispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.arsdigita.dispatcher.RequestContext actx)
Streams an image from the database. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
IMAGE_ID
public static final String IMAGE_ID
- See Also:
- Constant Field Values
OID_PARAM
public static final String OID_PARAM
- See Also:
- Constant Field Values
TRANSACTION_ID
public static final String TRANSACTION_ID
- See Also:
- Constant Field Values
OBJECT_ID
public static final String OBJECT_ID
- See Also:
- Constant Field Values
StreamImage
public StreamImage()
- Construct the resource handler
dispatch
public void dispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.arsdigita.dispatcher.RequestContext actx)
throws IOException,
javax.servlet.ServletException
- Streams an image from the database.
- Specified by:
dispatch
in interface com.arsdigita.dispatcher.Dispatcher
- Specified by:
dispatch
in class ResourceHandlerImpl
- Parameters:
request
- The servlet request objectresponse
- the servlet response objectactx
- The request context
- Throws:
IOException
javax.servlet.ServletException
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC