クラス DefaultMultipartHttpServletRequest
java.lang.ObjectSE
jakarta.servlet.ServletRequestWrapper
jakarta.servlet.http.HttpServletRequestWrapper
org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest
org.springframework.web.multipart.support.DefaultMultipartHttpServletRequest
- 実装されているすべてのインターフェース:
HttpServletRequestEE、ServletRequestEE、MultipartHttpServletRequest、MultipartRequest
MultipartHttpServletRequest インターフェースのデフォルト実装。事前に生成されたパラメーター値の管理を提供します。- 導入:
- 29.09.2003
- 作成者:
- Trevor D. Cook, Juergen Hoeller, Arjen Poutsma
- 関連事項:
フィールドのサマリー
インターフェース jakarta.servlet.http.HttpServletRequestEE から継承されたフィールド
BASIC_AUTHEE, CLIENT_CERT_AUTHEE, DIGEST_AUTHEE, FORM_AUTHEEコンストラクターの概要
コンストラクターコンストラクター説明指定された HttpServletRequest を MultipartHttpServletRequest でラップします。DefaultMultipartHttpServletRequest(HttpServletRequestEE request, MultiValueMap<StringSE, MultipartFile> mpFiles, MapSE<StringSE, StringSE[]> mpParams, MapSE<StringSE, StringSE> mpParamContentTypes) 指定された HttpServletRequest を MultipartHttpServletRequest でラップします。メソッドのサマリー
修飾子と型メソッド説明getMultipartContentType(StringSE paramOrFileName) 指定されたリクエストパーツのコンテンツ型を決定します。getMultipartHeaders(StringSE paramOrFileName) マルチパートリクエストの指定された部分のヘッダーを返します。マルチパートパラメーターのコンテンツ型 Map を取得して取得し、必要に応じて遅延して初期化します。マルチパートパラメーター Map を取得して取得し、必要に応じてゆっくりと初期化します。getParameter(StringSE name) StringSE[]getParameterValues(StringSE name) protected final voidsetMultipartParameterContentTypes(MapSE<StringSE, StringSE> multipartParameterContentTypes) パラメーター名をキーとして、コンテンツ型文字列を値としてマップを設定します。protected final voidsetMultipartParameters(MapSE<StringSE, StringSE[]> multipartParameters) パラメーター名をキー、文字列配列オブジェクトを値としてマップを設定します。クラス org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest から継承されたメソッド
getFile, getFileMap, getFileNames, getFiles, getMultiFileMap, getMultipartFiles, getRequest, getRequestHeaders, getRequestMethod, initializeMultipart, isResolved, setMultipartFilesクラス jakarta.servlet.http.HttpServletRequestWrapperEE から継承されたメソッド
authenticateEE, changeSessionIdEE, getAuthTypeEE, getContextPathEE, getCookiesEE, getDateHeaderEE, getHeaderEE, getHeaderNamesEE, getHeadersEE, getHttpServletMappingEE, getIntHeaderEE, getMethodEE, getPartEE, getPartsEE, getPathInfoEE, getPathTranslatedEE, getQueryStringEE, getRemoteUserEE, getRequestedSessionIdEE, getRequestURIEE, getRequestURLEE, getServletPathEE, getSessionEE, getSessionEE, getTrailerFieldsEE, getUserPrincipalEE, isRequestedSessionIdFromCookieEE, isRequestedSessionIdFromURLEE, isRequestedSessionIdValidEE, isTrailerFieldsReadyEE, isUserInRoleEE, loginEE, logoutEE, newPushBuilderEE, upgradeEEクラス jakarta.servlet.ServletRequestWrapperEE から継承されたメソッド
getAsyncContextEE, getAttributeEE, getAttributeNamesEE, getCharacterEncodingEE, getContentLengthEE, getContentLengthLongEE, getContentTypeEE, getDispatcherTypeEE, getInputStreamEE, getLocalAddrEE, getLocaleEE, getLocalesEE, getLocalNameEE, getLocalPortEE, getProtocolEE, getProtocolRequestIdEE, getReaderEE, getRemoteAddrEE, getRemoteHostEE, getRemotePortEE, getRequestDispatcherEE, getRequestIdEE, getSchemeEE, getServerNameEE, getServerPortEE, getServletConnectionEE, getServletContextEE, isAsyncStartedEE, isAsyncSupportedEE, isSecureEE, isWrapperForEE, isWrapperForEE, removeAttributeEE, setAttributeEE, setCharacterEncodingEE, setRequestEE, startAsyncEE, startAsyncEEクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース jakarta.servlet.http.HttpServletRequestEE から継承されたメソッド
authenticateEE, changeSessionIdEE, getAuthTypeEE, getContextPathEE, getCookiesEE, getDateHeaderEE, getHeaderEE, getHeaderNamesEE, getHeadersEE, getHttpServletMappingEE, getIntHeaderEE, getMethodEE, getPartEE, getPartsEE, getPathInfoEE, getPathTranslatedEE, getQueryStringEE, getRemoteUserEE, getRequestedSessionIdEE, getRequestURIEE, getRequestURLEE, getServletPathEE, getSessionEE, getSessionEE, getTrailerFieldsEE, getUserPrincipalEE, isRequestedSessionIdFromCookieEE, isRequestedSessionIdFromURLEE, isRequestedSessionIdValidEE, isTrailerFieldsReadyEE, isUserInRoleEE, loginEE, logoutEE, newPushBuilderEE, upgradeEEインターフェース jakarta.servlet.ServletRequestEE から継承されたメソッド
getAsyncContextEE, getAttributeEE, getAttributeNamesEE, getCharacterEncodingEE, getContentLengthEE, getContentLengthLongEE, getContentTypeEE, getDispatcherTypeEE, getInputStreamEE, getLocalAddrEE, getLocaleEE, getLocalesEE, getLocalNameEE, getLocalPortEE, getProtocolEE, getProtocolRequestIdEE, getReaderEE, getRemoteAddrEE, getRemoteHostEE, getRemotePortEE, getRequestDispatcherEE, getRequestIdEE, getSchemeEE, getServerNameEE, getServerPortEE, getServletConnectionEE, getServletContextEE, isAsyncStartedEE, isAsyncSupportedEE, isSecureEE, removeAttributeEE, setAttributeEE, setCharacterEncodingEE, startAsyncEE, startAsyncEE
コンストラクターの詳細
DefaultMultipartHttpServletRequest
public DefaultMultipartHttpServletRequest(HttpServletRequestEE request, MultiValueMap<StringSE, MultipartFile> mpFiles, MapSE<StringSE, StringSE[]> mpParams, MapSE<StringSE, StringSE> mpParamContentTypes) 指定された HttpServletRequest を MultipartHttpServletRequest でラップします。- パラメーター:
request- ラップするサーブレットリクエストmpFiles- マルチパートファイルのマップmpParams- 文字列をキーとして、文字列配列を値として、公開するパラメーターのマップ
DefaultMultipartHttpServletRequest
指定された HttpServletRequest を MultipartHttpServletRequest でラップします。- パラメーター:
request- ラップするサーブレットリクエスト
メソッドの詳細
getParameter
- 次で指定:
- インターフェース
ServletRequestEEのgetParameterEE - オーバーライド:
- クラス
ServletRequestWrapperEEのgetParameterEE
getParameterValues
- 次で指定:
- インターフェース
ServletRequestEEのgetParameterValuesEE - オーバーライド:
- クラス
ServletRequestWrapperEEのgetParameterValuesEE
getParameterNames
- 次で指定:
- インターフェース
ServletRequestEEのgetParameterNamesEE - オーバーライド:
- クラス
ServletRequestWrapperEEのgetParameterNamesEE
getParameterMap
- 次で指定:
- インターフェース
ServletRequestEEのgetParameterMapEE - オーバーライド:
- クラス
ServletRequestWrapperEEのgetParameterMapEE
getMultipartContentType
インターフェースからコピーされた説明:MultipartRequest指定されたリクエストパーツのコンテンツ型を決定します。- パラメーター:
paramOrFileName- パーツの名前- 戻り値:
- 関連するコンテンツ型、または定義されていない場合は
null
getMultipartHeaders
インターフェースからコピーされた説明:MultipartHttpServletRequestマルチパートリクエストの指定された部分のヘッダーを返します。基礎となる実装がパーツヘッダーへのアクセスをサポートしている場合は、すべてのヘッダーが返されます。それ以外の場合 (たとえば、ファイルのアップロードの場合)、返されるヘッダーは、使用可能な場合は 'Content-Type' を公開することがあります。
setMultipartParameters
パラメーター名をキー、文字列配列オブジェクトを値としてマップを設定します。初期化時にサブクラスによって呼び出されます。getMultipartParameters
マルチパートパラメーター Map を取得して取得し、必要に応じてゆっくりと初期化します。setMultipartParameterContentTypes
protected final void setMultipartParameterContentTypes(MapSE<StringSE, StringSE> multipartParameterContentTypes) パラメーター名をキーとして、コンテンツ型文字列を値としてマップを設定します。初期化時にサブクラスによって呼び出されます。getMultipartParameterContentTypes
マルチパートパラメーターのコンテンツ型 Map を取得して取得し、必要に応じて遅延して初期化します。