接口 org.tinygroup.weblayer.webcontext.parser.upload.UploadService
的使用

使用 UploadService 的软件包
org.tinygroup.weblayer.filter   
org.tinygroup.weblayer.webcontext.parser.impl   
org.tinygroup.weblayer.webcontext.parser.valueparser.impl   
 

org.tinygroup.weblayer.filterUploadService 的使用
 

参数类型为 UploadServiceorg.tinygroup.weblayer.filter 中的方法
 void ParserTinyFilter.setUploadService(UploadService uploadService)
           
 

org.tinygroup.weblayer.webcontext.parser.implUploadService 的使用
 

实现 UploadServiceorg.tinygroup.weblayer.webcontext.parser.impl 中的类
 class UploadServiceImpl
          这个service可以处理multipart/form-data格式的HTTP POST请求,并将它们转换成form字段或是文件。
 

参数类型为 UploadServiceorg.tinygroup.weblayer.webcontext.parser.impl 中的方法
 void ParserWebContextImpl.setUploadService(UploadService upload)
          设置upload service。
 

org.tinygroup.weblayer.webcontext.parser.valueparser.implUploadService 的使用
 

参数类型为 UploadServiceorg.tinygroup.weblayer.webcontext.parser.valueparser.impl 中的构造方法
ParameterParserImpl(ParserWebContext webContext, UploadService upload, boolean trimming, ParameterParserFilter[] filters, String htmlFieldSuffix)
          从request中创建新的parameters,如果是multipart-form,则自动解析之。
 



Copyright © 2006–2013 开源组织. All rights reserved.