public class UploadModule extends Object
Constructor and Description |
---|
UploadModule() |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.fileupload.FileItemFactory |
buildDefaultFileItemFactory(int repositoryThreshold,
String repositoryLocation)
The default FileItemFactory used by the MultipartDecoder is
DiskFileItemFactory . |
static MultipartDecoder |
buildMultipartDecoder(PerthreadManager perthreadManager,
RegistryShutdownHub shutdownHub,
MultipartDecoderImpl multipartDecoder) |
static void |
contributeComponentClassResolver(Configuration<LibraryMapping> configuration) |
static void |
contributeComponentEventRequestHandler(OrderedConfiguration<ComponentEventRequestFilter> configuration)
Adds UploadException to the pipeline, between Secure and Ajax (both provided by TapestryModule).
|
static void |
contributeFactoryDefaults(MappedConfiguration<String,String> configuration) |
static void |
contributeHttpServletRequestHandler(OrderedConfiguration<HttpServletRequestFilter> configuration,
MultipartDecoder multipartDecoder)
Contributes a filter, "MultipartFilter" after "IgnoredPaths".
|
public UploadModule()
public static void contributeComponentClassResolver(Configuration<LibraryMapping> configuration)
@Scope(value="perthread") public static MultipartDecoder buildMultipartDecoder(PerthreadManager perthreadManager, RegistryShutdownHub shutdownHub, @Autobuild MultipartDecoderImpl multipartDecoder)
public static void contributeHttpServletRequestHandler(OrderedConfiguration<HttpServletRequestFilter> configuration, MultipartDecoder multipartDecoder)
public static void contributeComponentEventRequestHandler(OrderedConfiguration<ComponentEventRequestFilter> configuration)
public static org.apache.commons.fileupload.FileItemFactory buildDefaultFileItemFactory(@Symbol(value="upload.repository-threshold") int repositoryThreshold, @Symbol(value="upload.repository-location") String repositoryLocation)
DiskFileItemFactory
.public static void contributeFactoryDefaults(MappedConfiguration<String,String> configuration)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.