Package com.ettrema.event

Examples of com.ettrema.event.PutEvent


        try {
            Long l = putHelper.getContentLength( request );
            String ct = putHelper.findContentTypes( request, newName );
            log.debug( "PutHandler: creating resource of type: " + ct );
            Resource newlyCreated = folder.createNew( newName, request.getInputStream(), l, ct );
            manager.getEventManager().fireEvent( new PutEvent( newlyCreated ) );
        } catch( IOException ex ) {
            log.warn( "IOException reading input stream. Probably interrupted upload: " + ex.getMessage() );
            return;
        }
        manager.getResponseHandler().respondCreated( folder, response, request );
View Full Code Here

TOP

Related Classes of com.ettrema.event.PutEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.