@Override public boolean isMultipart(ActionRequest request) { return (request != null && PortletFileUpload.isMultipartContent(request)); }
public boolean isMultipart(ActionRequest request) { return (request != null && PortletFileUpload.isMultipartContent(request)); }
/** * 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); }