亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? multipartresolver.java

?? spring framework 2.5.4源代碼
?? JAVA
字號:
/*
 * Copyright 2002-2007 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.web.multipart;

import javax.servlet.http.HttpServletRequest;

/**
 * A strategy interface for multipart file upload resolution in accordance
 * with <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>.
 * Implementations are typically usable both within an application context
 * and standalone.
 *
 * <p>There is only one concrete implementation included in Spring,
 * as of Spring 2.5:
 * <ul>
 * <li>{@link org.springframework.web.multipart.commons.CommonsMultipartResolver} for Jakarta Commons FileUpload
 * </ul>
 *
 * <p>There is no default resolver implementation used for Spring
 * {@link org.springframework.web.servlet.DispatcherServlet DispatcherServlets},
 * as an application might choose to parse its multipart requests itself. To define
 * an implementation, create a bean with the id "multipartResolver" in a
 * {@link org.springframework.web.servlet.DispatcherServlet DispatcherServlet's}
 * application context. Such a resolver gets applied to all requests handled
 * by that {@link org.springframework.web.servlet.DispatcherServlet}.
 *
 * <p>If a {@link org.springframework.web.servlet.DispatcherServlet} detects
 * a multipart request, it will resolve it via the configured
 * {@link org.springframework.web.multipart.MultipartResolver} and pass on a
 * wrapped {@link javax.servlet.http.HttpServletRequest}.
 * Controllers can then cast their given request to the
 * {@link org.springframework.web.multipart.MultipartHttpServletRequest}
 * interface, which permits access to any
 * {@link org.springframework.web.multipart.MultipartFile MultipartFiles}.
 * Note that this cast is only supported in case of an actual multipart request.
 *
 * <pre class="code">
 * public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) {
 *   MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
 *   MultipartFile multipartFile = multipartRequest.getFile("image");
 *   ...
 * }</pre>
 *
 * Instead of direct access, command or form controllers can register a
 * {@link org.springframework.web.multipart.support.ByteArrayMultipartFileEditor}
 * or {@link org.springframework.web.multipart.support.StringMultipartFileEditor}
 * with their data binder, to automatically apply multipart content to command
 * bean properties.
 *
 * <p>As an alternative to using a
 * {@link org.springframework.web.multipart.MultipartResolver} with a
 * {@link org.springframework.web.servlet.DispatcherServlet},
 * a {@link org.springframework.web.multipart.support.MultipartFilter} can be
 * registered in <code>web.xml</code>. It will delegate to a corresponding
 * {@link org.springframework.web.multipart.MultipartResolver} bean in the root
 * application context. This is mainly intended for applications that do not
 * use Spring's own web MVC framework.
 *
 * <p>Note: There is hardly ever a need to access the
 * {@link org.springframework.web.multipart.MultipartResolver} itself
 * from application code. It will simply do its work behind the scenes,
 * making
 * {@link org.springframework.web.multipart.MultipartHttpServletRequest MultipartHttpServletRequests}
 * available to controllers.
 *
 * @author Juergen Hoeller
 * @author Trevor D. Cook
 * @since 29.09.2003
 * @see MultipartHttpServletRequest
 * @see MultipartFile
 * @see org.springframework.web.multipart.commons.CommonsMultipartResolver
 * @see org.springframework.web.multipart.support.ByteArrayMultipartFileEditor
 * @see org.springframework.web.multipart.support.StringMultipartFileEditor
 * @see org.springframework.web.servlet.DispatcherServlet
 */
public interface MultipartResolver {

	/**
	 * Determine if the given request contains multipart content.
	 * <p>Will typically check for content type "multipart/form-data", but the actually
	 * accepted requests might depend on the capabilities of the resolver implementation.
	 * @param request the servlet request to be evaluated
	 * @return whether the request contains multipart content
	 */
	boolean isMultipart(HttpServletRequest request);

	/**
	 * Parse the given HTTP request into multipart files and parameters,
	 * and wrap the request inside a
	 * {@link org.springframework.web.multipart.MultipartHttpServletRequest} object
	 * that provides access to file descriptors and makes contained
	 * parameters accessible via the standard ServletRequest methods.
	 * @param request the servlet request to wrap (must be of a multipart content type)
	 * @return the wrapped servlet request
	 * @throws MultipartException if the servlet request is not multipart, or if
	 * implementation-specific problems are encountered (such as exceeding file size limits)
	 * @see MultipartHttpServletRequest#getFile
	 * @see MultipartHttpServletRequest#getFileNames
	 * @see MultipartHttpServletRequest#getFileMap
	 * @see javax.servlet.http.HttpServletRequest#getParameter
	 * @see javax.servlet.http.HttpServletRequest#getParameterNames
	 * @see javax.servlet.http.HttpServletRequest#getParameterMap
	 */
	MultipartHttpServletRequest resolveMultipart(HttpServletRequest request) throws MultipartException;

	/**
	 * Cleanup any resources used for the multipart handling,
	 * like a storage for the uploaded files.
	 * @param request the request to cleanup resources for
	 */
	void cleanupMultipart(MultipartHttpServletRequest request);

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人精品免费| 成人免费视频网站在线观看| 欧美日韩中文一区| 亚洲成人精品影院| 日韩一级片在线播放| 久久这里都是精品| 国产一级精品在线| 国产精品色婷婷久久58| 色播五月激情综合网| 午夜成人在线视频| 精品日韩欧美在线| 成人av动漫在线| 一区二区欧美国产| 3atv在线一区二区三区| 国产精品一级黄| 一区二区三区在线观看欧美| 欧美伦理视频网站| 国产精品一二三区在线| 一区二区三区日本| 亚洲精品一线二线三线无人区| 成人激情校园春色| 午夜精品福利一区二区蜜股av | 日韩精品中文字幕在线不卡尤物| 国产呦精品一区二区三区网站| 国产精品久久久久影院老司| 欧美日韩在线免费视频| 国产一区二区三区av电影| 亚洲免费大片在线观看| 日韩欧美亚洲国产精品字幕久久久| 懂色av一区二区夜夜嗨| 日日夜夜精品视频免费 | 91在线精品一区二区| 无码av免费一区二区三区试看| 久久精品一区八戒影视| 欧美视频在线观看一区二区| 国产福利一区在线观看| 天天综合天天综合色| 亚洲视频综合在线| 精品少妇一区二区三区在线播放| 99久久99久久综合| 亚洲国产精品激情在线观看| 7777女厕盗摄久久久| 日本精品一级二级| 国产成人亚洲精品青草天美| 日本免费在线视频不卡一不卡二 | 亚洲欧美福利一区二区| 日韩欧美中文字幕公布| 欧美色网站导航| 99视频热这里只有精品免费| 国产美女av一区二区三区| 欧美一区二区三区影视| 色婷婷香蕉在线一区二区| 成人一二三区视频| 狠狠色狠狠色合久久伊人| 午夜精品一区二区三区三上悠亚 | 亚洲第一成人在线| 国产精品不卡视频| 国产欧美日韩精品在线| 欧美日韩在线三区| 91麻豆蜜桃一区二区三区| 亚洲色图欧美偷拍| 国产精品理论在线观看| 国产午夜精品一区二区| 久久亚洲精品国产精品紫薇| 日韩欧美区一区二| 日韩一级高清毛片| 日韩精品中文字幕在线一区| 日韩欧美高清一区| 欧美成人性战久久| 精品黑人一区二区三区久久| 国产高清在线精品| 国产不卡视频一区二区三区| 国产91丝袜在线播放九色| 精品无码三级在线观看视频| 看片网站欧美日韩| 久久精品国产秦先生| 麻豆一区二区三| 久久精品国产精品亚洲精品| 看电视剧不卡顿的网站| 精一区二区三区| 国产精品18久久久久久vr| 国产成人日日夜夜| 亚洲综合自拍偷拍| 天天影视网天天综合色在线播放| 天堂va蜜桃一区二区三区| 久久激五月天综合精品| 国产麻豆精品在线| 97久久超碰精品国产| 欧美性生活大片视频| 91精品国产综合久久久久久漫画 | 国产精品亚洲а∨天堂免在线| 高清国产午夜精品久久久久久| 成人精品国产一区二区4080| 色噜噜狠狠一区二区三区果冻| 色婷婷一区二区| 91精品国产欧美日韩| 久久综合九色综合97婷婷女人 | 中文字幕亚洲区| 亚洲一区二区三区国产| 日本女人一区二区三区| 国产.精品.日韩.另类.中文.在线.播放| 成人美女在线视频| 欧美日韩国产一级| 国产亚洲精品久| 夜夜精品视频一区二区| 九色|91porny| 91官网在线观看| 欧美精品一区二区精品网| 日韩一区在线播放| 免费高清在线一区| 成人av影院在线| 欧美一区二区视频在线观看 | 成人app在线| 91麻豆精品国产| 国产日韩欧美一区二区三区乱码| 亚洲精品中文在线影院| 日av在线不卡| 色综合天天天天做夜夜夜夜做| 欧美日本国产视频| 国产欧美一二三区| 亚洲大片免费看| 成人午夜视频在线观看| 欧美高清视频www夜色资源网| 99re成人在线| 久久久三级国产网站| 亚洲国产精品欧美一二99| 国产精品18久久久久久久网站| 欧美日韩小视频| 欧美午夜影院一区| 国产欧美在线观看一区| 五月激情六月综合| 99精品国产视频| 精品福利视频一区二区三区| 亚洲激情av在线| 国产福利精品一区| 91精品在线免费| 亚洲一区二区在线视频| 不卡视频一二三| 久久久夜色精品亚洲| 日韩在线观看一区二区| 亚洲小少妇裸体bbw| 99久久99久久免费精品蜜臀| 亚洲精品在线免费播放| 日本一不卡视频| 欧美在线一区二区| 日韩一区日韩二区| 国产成人综合在线| 精品欧美乱码久久久久久1区2区| 午夜av一区二区三区| 色激情天天射综合网| 综合久久一区二区三区| 成人精品鲁一区一区二区| 久久综合久色欧美综合狠狠| 精品噜噜噜噜久久久久久久久试看 | 欧美一级欧美一级在线播放| 亚洲一区二区三区不卡国产欧美| 99精品视频在线观看免费| 欧美国产禁国产网站cc| 国产不卡视频在线观看| 国产偷国产偷精品高清尤物| 久久99精品久久久久久动态图| 日韩一区二区三区三四区视频在线观看| 一区二区三区在线不卡| 91蜜桃视频在线| 一区二区三区小说| 欧美色图激情小说| 日韩中文字幕av电影| 欧美一级电影网站| 久久国产成人午夜av影院| 欧美成人女星排名| 国产一区中文字幕| 亚洲国产精品二十页| 99视频精品在线| 一区二区三区免费网站| 欧美日韩一区 二区 三区 久久精品| 亚洲国产另类av| 欧美成人性福生活免费看| 国产在线观看一区二区 | 中文字幕中文在线不卡住| 99久久夜色精品国产网站| 亚洲视频一区在线| 欧美日韩午夜精品| 奇米影视在线99精品| 久久综合久久99| av一区二区久久| 一区二区三区国产精品| 555夜色666亚洲国产免| 激情小说欧美图片| 国产精品国产a级| 欧美特级限制片免费在线观看| 日韩极品在线观看| 国产无人区一区二区三区| 97se亚洲国产综合自在线观| 亚洲成人久久影院| 欧美精品一区二区高清在线观看| 成人性色生活片| 丝袜诱惑制服诱惑色一区在线观看| 精品精品国产高清a毛片牛牛| 99精品一区二区三区| 石原莉奈在线亚洲二区|