John Drago > Apache2-ASP-2.46 > Apache2::ASP::UploadHandler

Download:
Apache2-ASP-2.46.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  2
View/Report Bugs
Source  

NAME ^

Apache2::ASP::UploadHandler - Base class for Handlers that process file uploads

SYNOPSIS ^

Don't use this clas. Subclass Apache2::ASP::MediaManager instead.

DESCRIPTION ^

This package provides the Apache2::ASP environment with the ability to process file uploads while they are happening. Trigger points are exposed that are called at specific times during a file upload.

OVERRIDABLE METHODS ^

upload_start( $self, $context, $Upload )

The $Upload argument is an Apache2::ASP::UploadHookArgs object.

Called just before upload_hook() is called for the first time. If you need to do any kind of setup or double-checking, this is the time to do it.

upload_end( $self, $context, $Upload )

The $Upload argument is an Apache2::ASP::UploadHookArgs object.

Called just after upload_hook() is called for the last time. If you need to do any kind of cleanup or redirect the user, this is the time to do it.

upload_hook( $self, $context, $Upload )

The $Upload argument is an Apache2::ASP::UploadHookArgs object.

Called each time Apache reads in a chunk of bytes from the client during the upload.

BUGS ^

It's possible that some bugs have found their way into this release.

Use RT http://rt.cpan.org/NoAuth/Bugs.html?Dist=Apache2-ASP to submit bug reports.

HOMEPAGE ^

Please visit the Apache2::ASP homepage at http://www.devstack.com/ to see examples of Apache2::ASP in action.

AUTHOR ^

John Drago mailto:jdrago_999@yahoo.com

COPYRIGHT AND LICENSE ^

Copyright 2007 John Drago, All rights reserved.

This software is free software. It may be used and distributed under the same terms as Perl itself.

syntax highlighting: