Java 类org.apache.commons.fileupload.portlet.PortletFileUpload 实例源码

项目:spring4-understanding    文件:CommonsPortletMultipartResolver.java   
@Override
public boolean isMultipart(ActionRequest request) {
    return (request != null && PortletFileUpload.isMultipartContent(request));
}
项目:class-guard    文件:CommonsPortletMultipartResolver.java   
public boolean isMultipart(ActionRequest request) {
    return (request != null && PortletFileUpload.isMultipartContent(request));
}
项目:spring4-understanding    文件:CommonsPortletMultipartResolver.java   
/**
 * Initialize the underlying {@code org.apache.commons.fileupload.portlet.PortletFileUpload}
 * instance. Can be overridden to use a custom subclass, e.g. for testing purposes.
 * @return the new PortletFileUpload instance
 */
@Override
protected FileUpload newFileUpload(FileItemFactory fileItemFactory) {
    return new PortletFileUpload(fileItemFactory);
}
项目:class-guard    文件:CommonsPortletMultipartResolver.java   
/**
 * Initialize the underlying {@code org.apache.commons.fileupload.portlet.PortletFileUpload}
 * instance. Can be overridden to use a custom subclass, e.g. for testing purposes.
 * @return the new PortletFileUpload instance
 */
@Override
protected FileUpload newFileUpload(FileItemFactory fileItemFactory) {
    return new PortletFileUpload(fileItemFactory);
}