@ControllerAdvice public class SimpleFileControllerAdvice extends Object
修飾子とタイプ | フィールドと説明 |
---|---|
protected PropertyHelper |
propertyHelper
PropertyHelper.
|
コンストラクタと説明 |
---|
SimpleFileControllerAdvice() |
修飾子とタイプ | メソッドと説明 |
---|---|
org.springframework.web.servlet.ModelAndView |
handleMaxUploadSizeExceededException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.web.multipart.MaxUploadSizeExceededException exception)
アップロードファイルのサイズ超過エラーハンドリング.
|
@Autowired protected PropertyHelper propertyHelper
@ExceptionHandler(value=org.springframework.web.multipart.MaxUploadSizeExceededException.class) public org.springframework.web.servlet.ModelAndView handleMaxUploadSizeExceededException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.multipart.MaxUploadSizeExceededException exception)
request
- HTTPリクエストresponse
- HTTPレスポンスexception
- MaxUploadSizeExceededException
Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.