Package net.paoding.rose.web.annotation

Examples of net.paoding.rose.web.annotation.MultipartCleanup


                && src instanceof HttpServletRequestWrapper) {
            src = (HttpServletRequest) ((HttpServletRequestWrapper) src).getRequest();
        }
        if (src instanceof MultipartHttpServletRequest) {
            final MultipartHttpServletRequest request = (MultipartHttpServletRequest) src;
            MultipartCleanup multipartCleaner = inv.getMethod().getAnnotation(
                    MultipartCleanup.class);
            if (multipartCleaner == null
                    || multipartCleaner.after() == MultipartCleanup.After.CONTROLLER_INVOCATION) {
                multipartResolver.cleanupMultipart(request);
            } else {
                inv.addAfterCompletion(new AfterCompletion() {

                    @Override
View Full Code Here

TOP

Related Classes of net.paoding.rose.web.annotation.MultipartCleanup

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.